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="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.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="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.cn/">Prev</a></li>
    <li class="active">
      <a href="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.cn/">1</a>
    </li>
    <li><a href="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.cn/">2</a></li>
    <li><a href="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.cn/">3</a></li>
    <li><a href="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.cn/">4</a></li>
    <li><a href="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.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="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.cn/">Previous</a>
  </li>
  <li>
    <a href="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.cn/">Next</a>
  </li>
</ul>

Aligned links

Alternatively, you can align each link to the sides:

<ul class="pager">
  <li class="previous">
    <a href="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.cn/">&larr; Older</a>
  </li>
  <li class="next">
    <a href="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.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="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.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="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.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="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.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="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.cn/" for click events if you rather use an anchor.

<a class="close" href="http://ohbkm.r3wxv.q5pg6.www.5xfno.jc6eh.5791.pdupdcd.cn/">&times;</a>
珍珠漫画图片大全好看的基佬漫画七宗罪福利漫画指柒成婚漫画最新喝咖啡的小漫画珍珠漫画图片大全狐妖绝美小受漫画七宗罪福利漫画甜蜜的咬痕色漫画枕上的替嫁新娘漫画黑白来看守所漫画 网盘七宗罪福利漫画关于领导的漫画漫画 什么都不知道骑士队漫画壁纸枕上的替嫁新娘漫画画妆妈妈漫画斗破苍穹漫画出了几本斗破苍穹漫画出了几本后宫热血战斗类漫画使命召唤7僵尸模式漫画斗破苍穹漫画出了几本甜蜜的咬痕色漫画无限斯特拉托斯邪恶漫画本子喝咖啡的小漫画我要看搞笑漫画sq孙?Z秋瞳漫画全集无限斯特拉托斯邪恶漫画本子后宫热血战斗类漫画关于领导的漫画时隔百年,地球又恢复了灵气。看我们主角如何苟上天仙。与当时的天之骄子争锋。李贤穿越了,来到一个叫大秦皇朝的世界。 别人穿越要么成为皇帝,要么成为富家子,可我却成了个太监! 还好拥有金手指,能够让我变回真正的男人。 本想就这样苟在皇宫内逍遥快活,可世事难料,皇位更迭灾祸蔓延到了整个大秦。 奸臣当道、外敌入侵。 眼看着自己的快乐生活被打破,李贤只好站出来。 诛邪、斩妖、扫黑、除恶... 誓死守护大秦,保护后宫三千佳丽。秦缘穿越到全民模拟人生的世界: 如果改变人生轨迹打破人生限制,可以成为人上人;如若失败,只能当个寿命只有五十多岁的下等人,终生贫苦。 毕业典礼:觉醒贤者。 贤者模式:可以推演一切。 模式时能力越强,推演越详细,成功率越高。 一世:【重生末世,觉醒超级异能,二十岁基因变异死了。】 “贤者模式开启,推演抑制基因变异的方法。 【你攻克基因突变,成为世界主宰,拯救人类开创修仙科技时代,寿终正寝。】 【模拟结束:贤者模式增强一倍、你获得三滴龙血、你获得灵米提供资格、你获得一次模拟机会、你获得......】 某世:【18岁的你,被女帝逼婚,虐待致死。】 “贤者模式开启,推演征服女帝方法。” 【女帝唱征服,获得最高评价。奖励:阴阳锻体决、获得….】 同届新人,纷纷成为普通人,苟延残喘。 此时:异族入侵基地时。 秦缘站出来,扮演异能强者,持仙法只手遮天。 这天: 异世入侵主世界。 秦缘仅仅一句话,万族臣服。 “怎么?征服不够,想被灭世?” 青龙,又称苍龙、孟章,是中国古代神话传说中的形象,为“天之四灵”之一的东方之神,对应“四象”中的“东方七宿”。 帝谕,又称帝令、八荒,是传说中法师和炼体师的尊称,为“万物之主”主宰的无上意志,统御“大千”中的“万法世界”。 李才,一个平凡、普通的年轻人,因为一颗“黑珠”踏上了辛苦的修习法术之途。他没有过多的幸运突然降临,也没有无敌的人格魅力让所有人围绕。 让我们和李才一起经历这真实、精彩的旅程吧!本文是十年前的电攻杂志上发表的糊涂的《奇迹》的续篇,在糊涂的上一部著作中,作者留下了很多的悬念和未解之谜,比如卡拉的去向,四个黑暗旅人的经历,奇迹之神法修失踪,老头比尔的秘密,十三大神器中其他神器的下落,暗刃为什么要杀死雷特,毒蝗虫到底去哪了,福尔斯广场任务的结局会是怎样,蒂娜为什么会背叛风,海伦为什么凭白无故杀死风……带着诸多的悬念揭开本文的开端,本文将会对这些进行逐一的解答。 主角风,即将开始新的旅程,希望这本小说会给大家带来一个全新的感受,感谢大家对本文的关注。 大千世界修真界,封神大战天门关,只因大地被破碎,大法祖师炼乾坤,结界之内难修仙,飞升天劫降,破界离去难复返。这部小说中,我把身边的好朋友换到了架空的古代舞台,用来纪念我们的青春。小说中大部分重要角色都有人物原型。在写作过程中,为尽量让书中人物与原型近似,许多人物的台词由其原型进行加工,一些剧情分支也由原型人物进行选择。 新汉帝国处在最好的时代,也处在最坏的时代。一方面经济迅速发展,社会变革即将到来,一方面北方边患严重,内外敌人蠢蠢欲动。在这样的背景下,太史信与朋友们与各方敌人斗争,也与自己的弱点斗争。体育+穿越+系统+单女主+热血 穿越到2018年,龙国的苏北成为了湖人的球员,开局就获取了麦迪模板的他,总决赛,19年的世界杯,奥运会都不会是遗憾,还有老大(科比).... 这一刻因为苏北的到来,nba的小球时代所改变!!! 詹姆斯:“苏,他才是最好的球员。” 杜兰特:“什么叫最好的进攻,苏就是最好的教科书!!!!” 萌神库里:“苏,才是这个时代的天花板!!” (这里是平行世界,不要过度带入一些人物和剧情,有一些改动,也有些慢热,总之很爽,很好看。) 言钦雅有四张面具,首为狐耳,是对黎明百姓仁慈与怜悯,然愚民不可救,围而攻之,遂出黑龙,怒而屠城;冷静之后,蝶衣覆面,游荡江湖,放逐为自由;奈何红颜为君倾,赠君鸣凰,携妻归庙堂。因为一个绝色女人,黑客和黑帮势不两立。 键盘侠如何跟舞枪弄棒的黑帮一决高低? ······ 中国版《教父》,脑洞大开,令人耳目一新!   
Mc乱世 异能世界:开局激活神之手 高武:我能查看人生剧本 小智,你真的累死我啦! 仙穹宿 关于我穿越征服万族这件事 最强大佬重生 鉴鬼策展人 末日游戏:我能解析万物 高武:开局卖锅碗瓢盆 末世避难所,打造地下城 五彩凤尾 营救公主吧 伏魔之天尊传奇 开局一头牛 玄幻:我,修改万物,万古独尊! 诸天造化书院 战神联盟穿越了之哥哥 末武劫 我来主宰这三界 女生叫床漫画 真人漫画职场上司第6话 画妆妈妈漫画 喝咖啡的小漫画 女生叫床漫画 花与谎言与真实漫画 甜美的咬痕漫画33 剑豪生死斗类似漫画下载 我要看搞笑漫画 幼女战记漫画 甜蜜的咬痕色漫画 甜美的咬痕漫画三十 黄漫画动漫老师 真人漫画职场上司第6话 珍珠漫画图片大全 喝咖啡的小漫画 甜美的咬痕漫画33 我要看搞笑漫画 择天记漫画下载 七宗罪福利漫画 真人漫画职场上司第6话 骑士队漫画壁纸 好看的基佬漫画 漫画 什么都不知道 枕上的替嫁新娘漫画 黄漫画动漫老师 我要看搞笑漫画 好看的基佬漫画 择天记漫画下载 我要看搞笑漫画 喝咖啡的小漫画 真人漫画职场上司第6话 指柒成婚漫画最新 珍珠漫画图片大全 无限斯特拉托斯邪恶漫画本子 喝咖啡的小漫画 指柒成婚漫画最新 画妆妈妈漫画 黄漫画动漫老师 骑士队漫画壁纸 sq孙?Z秋瞳漫画全集 幼女战记漫画 色情番漫画彩色漫画少女漫画大全集 甜美的咬痕漫画33 漫画 什么都不知道 真人漫画职场上司第6话 甜美的咬痕漫画三十 sq孙?Z秋瞳漫画全集 黄漫画动漫老师 狐妖绝美小受漫画 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 玄生传 彼岸可有花 诡循环:每天被邪祟杀一次 我的无限超能力 轮回仙传 欧博游戏官网 皇冠登3出租 百家乐官网 欧博游戏官网 亚星管理平台 漫画 什么都不知道 喝咖啡的小漫画 甜美的咬痕漫画三十 斗破苍穹漫画出了几本 真人漫画职场上司第6话 甜美的咬痕漫画33 枕上的替嫁新娘漫画 色情番漫画彩色漫画少女漫画大全集 幼女战记漫画 色情番漫画彩色漫画少女漫画大全集 女生叫床漫画 珍珠漫画图片大全 好想告诉你漫画吻 指柒成婚漫画最新 狐妖绝美小受漫画 女生叫床漫画 甜美的咬痕漫画33 狐妖绝美小受漫画 色情番漫画彩色漫画少女漫画大全集 画妆妈妈漫画 使命召唤7僵尸模式漫画 黄漫画动漫老师 使命召唤7僵尸模式漫画 甜美的咬痕漫画33 好看的基佬漫画 真人漫画职场上司第6话 sq孙?Z秋瞳漫画全集 剑豪生死斗类似漫画下载 花与谎言与真实漫画 择天记漫画下载