Button groups

Use button groups to join multiple buttons together as one composite component. Build them with a series of <a> or <button> elements.

Best practices

We recommend the following guidelines for using button groups and toolbars:

  • Always use the same element in a single button group, <a> or <button>.
  • Don't mix buttons of different colors in the same button group.
  • Use icons in addition to or instead of text, but be sure include alt and title text where appropriate.

Related Button groups with dropdowns (see below) should be called out separately and always include a dropdown caret to indicate intended behavior.

Default example

Here's how the HTML looks for a standard button group built with anchor tag buttons:

<div class="btn-group">
  <button class="btn">1</button>
  <button class="btn">2</button>
  <button class="btn">3</button>
</div>

Toolbar example

Combine sets of <div class="btn-group"> into a <div class="btn-toolbar"> for more complex components.

<div class="btn-toolbar">
  <div class="btn-group">
    ...
  </div>
</div>

Checkbox and radio flavors

Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View the Javascript docs for that.

Get the javascript »

Dropdowns in button groups

Heads up! Buttons with dropdowns must be individually wrapped in their own .btn-group within a .btn-toolbar for proper rendering.


Button dropdowns

Example markup

Similar to a button group, our markup uses regular button markup, but with a handful of additions to refine the style and support Bootstrap's dropdown jQuery plugin.

<div class="btn-group">
  <a class="btn dropdown-toggle" data-toggle="dropdown" href="https://im4.71119.cn/">
    Action
    <span class="caret"></span>
  </a>
  <ul class="dropdown-menu">
    <!-- dropdown menu links -->
  </ul>
</div>

Works with all button sizes

Button dropdowns work at any size. your button sizes to .btn-large, .btn-small, or .btn-mini.

Requires javascript

Button dropdowns require the Bootstrap dropdown plugin to function.

In some cases—like mobile—dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.


Split button dropdowns

Overview and examples

Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.

Sizes

Utilize the extra button classes .btn-mini, .btn-small, or .btn-large for sizing.

<div class="btn-group">
  ...
  <ul class="dropdown-menu pull-right">
    <!-- dropdown menu links -->
  </ul>
</div>

Example markup

We expand on the normal button dropdowns to provide a second button action that operates as a separate dropdown trigger.

<div class="btn-group">
  <button class="btn">Action</button>
  <button class="btn dropdown-toggle" data-toggle="dropdown">
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    <!-- dropdown menu links -->
  </ul>
</div>

Dropup menus

Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of .dropdown-menu. It will flip the direction of the .caret and reposition the menu itself to move from the bottom up instead of top down.

<div class="btn-group dropup">
  <button class="btn">Dropup</button>
  <button class="btn dropdown-toggle" data-toggle="dropdown">
    <span class="caret"></span>
  </button>
  <ul class="dropdown-menu">
    <!-- dropdown menu links -->
  </ul>
</div>




Multicon-page pagination

When to use

Ultra simplistic and minimally styled pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas.

Stateful page links

Links are customizable and work in a number of circumstances with the right class. .disabled for unclickable links and .active for current page.

Flexible alignment

Add either of two optional classes to change the alignment of pagination links: .pagination-centered and .pagination-right.

Examples

The default pagination component is flexible and works in a number of variations.

Markup

Wrapped in a <div>, pagination is just a <ul>.

<div class="pagination">
  <ul>
    <li><a href="https://im4.71119.cn/">Prev</a></li>
    <li class="active">
      <a href="https://im4.71119.cn/">1</a>
    </li>
    <li><a href="https://im4.71119.cn/">2</a></li>
    <li><a href="https://im4.71119.cn/">3</a></li>
    <li><a href="https://im4.71119.cn/">4</a></li>
    <li><a href="https://im4.71119.cn/">Next</a></li>
  </ul>
</div>

Pager For quick previous and next links

About pager

The pager component is a set of links for simple pagination implementations with light markup and even lighter styles. It's great for simple sites like blogs or magazines.

Optional disabled state

Pager links also use the general .disabled class from the pagination.

Default example

By default, the pager centers links.

<ul class="pager">
  <li>
    <a href="https://im4.71119.cn/">Previous</a>
  </li>
  <li>
    <a href="https://im4.71119.cn/">Next</a>
  </li>
</ul>

Aligned links

Alternatively, you can align each link to the sides:

<ul class="pager">
  <li class="previous">
    <a href="https://im4.71119.cn/">&larr; Older</a>
  </li>
  <li class="next">
    <a href="https://im4.71119.cn/">Newer &rarr;</a>
  </li>
</ul>

Labels Markup
Default <span class="label">Default</span>
Success <span class="label label-success">Success</span>
Warning <span class="label label-warning">Warning</span>
Important <span class="label label-important">Important</span>
Info <span class="label label-info">Info</span>
Inverse <span class="label label-inverse">Inverse</span>

About

Badges are small, simple components for displaying an indicator or count of some sort. They're commonly found in email clients like Mail.app or on mobile apps for push notifications.

Available classes

Name Example Markup
Default 1 <span class="badge">1</span>
Success 2 <span class="badge badge-success">2</span>
Warning 4 <span class="badge badge-warning">4</span>
Important 6 <span class="badge badge-important">6</span>
Info 8 <span class="badge badge-info">8</span>
Inverse 10 <span class="badge badge-inverse">10</span>

Hero unit

Bootstrap provides a lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.

Markup

Wrap your content in a div like so:

<div class="hero-unit">
  <h1>Heading</h1>
  <p>Tagline</p>
  <p>
    <a class="btn btn-primary btn-large">
      Learn more
    </a>
  </p>
</div>

Hello, world!

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

Learn more


Page header

A simple shell for an h1 to appropriately space out and segment sections of content on a page. It can utilize the h1's default small, element as well most other components (with additional styles).

<div class="page-header">
  <h1>Example page header</h1>
</div>

Default thumbnails

By default, Bootstrap's thumbnails are designed to showcase linked images with minimal required markup.

Highly customizable

With a bit of extra markup, it's possible to add any kind of HTML content like headings, paragraphs, or buttons into thumbnails.

  • Thumbnail label

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    Action Action

  • Thumbnail label

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    Action Action

Why use thumbnails

Thumbnails (previously .media-grid up until v1.4) are great for grids of photos or videos, image search results, retail products, portfolios, and much more. They can be links or static content.

Simple, flexible markup

Thumbnail markup is simple—a ul with any number of li elements is all that is required. It's also super flexible, allowing for any type of content with just a bit more markup to wrap your contents.

Uses grid column sizes

Lastly, the thumbnails component uses existing grid system classes—like .span2 or .span3—for control of thumbnail dimensions.

The markup

As mentioned previously, the required markup for thumbnails is light and straightforward. Here's a look at the default setup for linked images:

<ul class="thumbnails">
  <li class="span3">
    <a href="https://im4.71119.cn/" class="thumbnail">
      <img src="http://placehold.it/260x180" alt="">
    </a>
  </li>
  ...
</ul>

For custom HTML content in thumbnails, the markup changes slightly. To allow block level content anywhere, we swap the <a> for a <div> like so:

<ul class="thumbnails">
  <li class="span3">
    <div class="thumbnail">
      <img src="http://placehold.it/260x180" alt="">
      <h5>Thumbnail label</h5>
      <p>Thumbnail caption right here...</p>
    </div>
  </li>
  ...
</ul>

More examples

Explore all your options with the various grid classes available to you. You can also mix and match different sizes.


Lightweight defaults

Rewritten base class

With Bootstrap 2, we've simplified the base class: .alert instead of .alert-message. We've also reduced the minimum required markup—no <p> is required by default, just the outer <div>.

Single alert message

For a more durable component with less code, we've removed the differentiating look for block alerts, messages that come with more padding and typically more text. The class also has changed to .alert-block.


Goes great with javascript

Bootstrap comes with a great jQuery plugin that supports alert messages, making dismissing them quick and easy.

Get the plugin »

Example alerts

Wrap your message and an optional close icon in a div with simple class.

Warning! Best check yo self, you're not looking too good.
<div class="alert">
  <button class="close" data-dismiss="alert">×</button>
  <strong>Warning!</strong> Best check yo self, you're not looking too good.
</div>

Heads up! iOS devices require an href="https://im4.71119.cn/" for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <button> element with the data attribute, which we have opted to do for our docs. When using <button>, you must include type="button" or your forms may not submit.

Easily extend the standard alert message with two optional classes: .alert-block for more padding and text controls and .alert-heading for a matching heading.

Warning!

Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

<div class="alert alert-block">
  <a class="close" data-dismiss="alert" href="https://im4.71119.cn/">×</a>
  <h4 class="alert-heading">Warning!</h4>
  Best check yo self, you're not...
</div>

Contextual alternatives Add optional classes to change an alert's connotation

Error or danger

Oh snap! Change a few things up and try submitting again.
<div class="alert alert-error">
  ...
</div>

Success

Well done! You successfully read this important alert message.
<div class="alert alert-success">
  ...
</div>

Information

Heads up! This alert needs your attention, but it's not super important.
<div class="alert alert-info">
  ...
</div>

Examples and markup

Basic

Default progress bar with a vertical gradient.

<div class="progress">
  <div class="bar"
       style="width: 60%;"></div>
</div>

Striped

Uses a gradient to create a striped effect (no IE).

<div class="progress progress-striped">
  <div class="bar"
       style="width: 20%;"></div>
</div>

Animated

Takes the striped example and animates it (no IE).

<div class="progress progress-striped
     active">
  <div class="bar"
       style="width: 40%;"></div>
</div>

Options and browser support

Additional colors

Progress bars use some of the same button and alert classes for consistent styles.

Striped bars

Similar to the solid colors, we have varied striped progress bars.

Behavior

Progress bars use CSS3 transitions, so if you dynamically adjust the width via javascript, it will smoothly resize.

If you use the .active class, your .progress-striped progress bars will animate the stripes left to right.

Browser support

Progress bars use CSS3 gradients, transitions, and animations to achieve all their effects. These features are not supported in IE7-9 or older versions of Firefox.

Opera and IE do not support animations at this time.

Wells

Use the well as a simple effect on an element to give it an inset effect.

Look, I'm in a well!
<div class="well">
  ...
</div>

Close icon

Use the generic close icon for dismissing content like modals and alerts.

<button class="close">&times;</button>

iOS devices require an href="https://im4.71119.cn/" for click events if you rather use an anchor.

<a class="close" href="https://im4.71119.cn/">&times;</a>
网络营销教程视频教程网站编程网络安全字体中国平安信息安全部门网站制作新技术2017年9月网络安全月个人网站建设 免费家具网络营销推广defcon ctf全球顶级网络安全大赛选择微博营销的原因人类、异兽、亡灵,三个不同世界的种族同时遭受了灭顶之灾,在天人族的援助之下,他们进入了《寰宇》大陆。 资源的有限和欲望的无限是每个种族都要面临的矛盾,于是,一场针对人族的灭族之战开始了,人族被屠戮殆尽。 在战争的最后时刻,王任终于拿到了人族最后的希望,逆天级道具——时光尺。 伴随着系统的死亡提示,王任回到了5年前,《寰宇》刚刚开服的时刻。 王任看着活过来的时光尺,忽然明白,重生,才是人族的希望。 一条重建人族的复仇之路在他的面前缓缓展开。 这次,他要重新发起灭族之战,而灭族的对象,却不再会是人类。灵械,是玄幻与科技的结晶。在玄幻世界,想要成为世界霸主,谁说只有修行这一条路?几乎没有修为的程智,接受了大帝的传承后,踏上了通往世界巅峰的漫漫灵械之道。 本书不会申请签约。作为一个刑警,程成办案兢兢业业,以事实说话,岂料案件的背后竟有一只黑手等待着他……刘阳重生到平行世界,惊奇发现回到了08年老特拉福德的球场。 就在这个时候,自己所在的红魔正遭受维冈队有史以来最顽强地阻击。 对方后卫更是用恶意飞铲划伤了我方前锋。 维冈主教练气焰嚣张地在佛爵爷面前叫嚣。 “拥有巨星C罗和鲁尼又怎么样!被女王加封爵士又怎么样,还不是没办法!” 面对越来越近的比赛时间! 佛格森果断下令,换上刘阳。 刘阳不负众望,开启球王编辑器。 “完美的人球分过!三秒精准绝杀!” “我要裂开了,这是马拉多纳版本的彩虹过人吗?!” 一粒粒进球不断摧毁对手的心理防线! 从此红魔所向披靡!直指三冠王! 佛格森习惯性嚼了嚼口香糖:“夏国是一个人杰辈出的地方,刘阳必然也会成为一名闪耀的新星!” 温格教授震惊道:“怎么会?维冈十一人的铁桶方阵都换不来一个平局,那个刘阳是谁,快给我查!”29岁的天岚,事业无成,刚刚朋友也和自己分手,独自一人走在熟悉的街道上,往事历历在目,也许终究是自己错了,但你们却也不该这样对我······ 如果能够回到过去,我想我一定······人在没有离开尘世时,谁也说不清未来将会发生什么。 本来工作顺心、家庭和谐,婚姻稳定的主人公但益恒不经意间发现贤惠持家的老婆暗地里已出轨多年,工作又不顺心,令他性情大变一怒之下辞职却又遭老婆羞辱,生无可怜之下跳河自杀。 死容易,生更难。 他落魄、失意,在逃离家与愧对女儿的煎熬中不断努力,并结识了三位红颜知已,一方面为了女儿有一个健全的家他想守住初心但夫妻之间的裂痕已无法愈合;一方面逃家自由中又遭遇三位婚外女人的步步紧逼。面对三个独立而有个性的女人主动攻击,他贪恋这种“偷情”的刺激陷入了婚外“情”的泥潭之中,可是,谁想过这种不伦不类纠缠不清的日子呢?熊与鱼掌不可兼得,经过无数次挣扎,他只得做出断、舍、取,那晓得,命运又跟他开了一个玩笑,他该何去何从呢……秦浊意外穿越,来到万道鼎立的世界,只想做个好人,却发现这个世界比前一世更加的肮脏。 于是,他便一边成帝,一边清理污浊渣男开后宫,渣女坐东宫,而我不一样,根本没对象。 凭什么别人穿越以后,都是秒天秒地秒空气的横行霸道,凭什么别人的系统都是动不动就要抹杀宿主逼着他们上进,而我的系统却要我去谈恋爱,让我放纵,逼着我和姑娘们风花雪月,我王某人把话放在这里,我就是打一辈子光棍,从今往后当一辈子魔法师,也不会去完成任何任务的,狗系统,你就死了这条心吧!现在都新世纪了,我要自由的恋爱,抵制系统,还我自由,我要自由,自由万岁。 系统:马上将会有一股阵风袭来,请宿主做好准备! 3、2、1··· 王某人捂着鼻子含糊道:算你狠。一段未知星球讯号的发现,彻底改变了苏飞的命运,二十五岁的苏飞被带回八年之前,面对重复的人生,苏飞赫然发现自己的体内竟然存在一个外星智能生物……这一次,他不再平凡!为了男人的承诺,萧晨强势回归,化身美女总裁的贴身保镖,横扫八方之敌,谱写王者传奇!   他——   登巅峰,掌生死,醒掌天下权,醉卧美人膝! —————— 小舞的微信公众号:寂mo的舞者,可以去关注哦! 小舞的QQ:1589045849,可以去加好友! 唯舞独尊①群:545765633!   
网络信息安全最新技术 德阳网站建设 互联网发展现状 网络安全 重庆网站制作公司 网站设计 广西 国外网络营销教程 基于站点网络营销方法 网络安全字体 网络安全实验室 注入 网站规划与设计 婴灵的超度方法咨询【www.richdady.cn】 财运不佳的财富积累咨询【www.richdady.cn】 存不住钱的理财建议咨询【www.richdady.cn】 婴灵的前世今生【www.richdady.cn】 家庭关系中的矛盾解决【www.richdady.cn】 财运不佳的心理调适【企鹅383550880】√转ihbwel 儿子不读书的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何知道自己有前世缘份?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的重逢故事咨询【企鹅383550880】√转ihbwel 迟缓儿的治疗方法咨询【www.richdady.cn】√转ihbwel 外灵干扰的环境影响【σσЗ8З55О88О√转ihbwel 莫名其妙感伤的前世记忆咨询【微:qq383550880 】√转ihbwel 无形干扰的前世因果【σσЗ8З55О88О√转ihbwel 耳鸣的前世记忆【www.richdady.cn】√转ihbwel 解梦的前世影响【企鹅383550880】√转ihbwel 婴灵的安抚有哪些技巧?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 升迁障碍的原因有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 头脑混沌的生活习惯【σσЗ8З55О88О√转ihbwel 冤亲债主干扰的表现【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 人际关系不好的解决方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 体验营销案例 酷网站欣赏 列举5个网络安全威胁 四川大学信息安全,-1公安部网络安全 网络安全服务上岗 网站设计说明书 网络营销教程视频教程 信息安全服务资质办理 信息安全咨询服务 关于网络安全的总结 互联网发展现状 网络安全 手机网络安全内容 网络安全属于国家安全中的 广州响应式网站咨询 网站建设品 免费申请网站域名 金盾信息安全招聘 山西做网站的企业 滕州网站优化 南昌网站推广 网店营销计划模块 学营销网 国网公司信息安全月,-1 互助网站制作公司 广州响应式网站咨询 什么是病毒性营销方法 优化一个网站 国外网络营销教程 佛山做网站公司 微信网站 影楼 网络安全责任的了解 网站制作新技术 遵义网站建设 关于网络安全的总结 菏泽网站推广 专业开发网站公司 网络安全法测试 互联网发展现状 网络安全 网络营销教程视频教程 北京信息安全学院 信息安全大学排名2016 一直播信息安全 湖南信息安全公司 为了保证用户电脑的信息安全在重装系统前应该 网站建设合同 网站建立公司四川 网站建设导航栏设计 佛山新网站制作机构 网络营销策划案信息安全等级保护 网站制作新技术 太原网站建设需要多少钱 浙江省网络安全办公室 网络安全有什么问题 互联网金融网站建设 淘宝大学营销免费课程 政府系统信息安全 网站架构图 信息安全与管理警校,-1 信息安全风险评估 信息安全风险评估 网站建立公司四川 网络安全实验室 注入 互联网金融网站建设 佛山做网站公司 rss营销作用 国务院关于大力推进信息化发展和切实保障信息安全的若干意见 南昌网站推广 网络安全责任的了解 网络安全属于国家安全中的 顺德网站优化公司 企业网站必须实名认证 网络营销教程视频教程 大疆网站建设 广州响应式网站咨询 国外网络营销教程 tools网络安全 网络安全字体 学营销网 青岛做网站的公司排名 网络安全 展览馆 2017网站栏目在哪里 营销策划公众号推荐 北京信息安全培训机构 手机打开一个网站说你的浏览器不支持javascrip 平台信息安全险 中国网络安全教育 网络安全法测试 网站建设资料 营销软件一站式服务 网站数据包括哪些内容 网站的层级 大型网络安全公司排名 大型网络安全公司排名 网络安全责任的了解 原生营销定义 网站分析模板 青岛网站推 邢台网站定制 信息安全的漏洞 网站设计 广西 营销型网站效果不好 2016网络安全座谈 金盾信息安全招聘 石家庄建网站 专业开发网站公司 信息安全 控制点 基础设施网络安全框架 网络安全模拟实验 网络安全服务上岗 网站规划与设计 芜湖网站开发企业建网站多少钱 金盾信息安全招聘 营销推广方案 网络安全协议分析 临沂网站建设 网络安全论坛主题 等级保护三级物理安全 网络安全 主机安全 控制点 要求项 营销号推广报价 信息安全实验室研究方向 邢台建一个网站多少钱 列举5个网络安全威胁 2017年9月网络安全月 2017网络安全周 上海 国家网络与信息安全管理中心官网 基于站点网络营销方法 菏泽网站制作 池州网站制作公 信息安全服务资质办理 亚马逊营销 网络安全扫描的内容 西安网站建设平台 深化网络安全思考讨论 佛山做网站公司 北京代建网站 百度网络营销 信息安全咨询服务