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://71zcf.www.cbny1.www.vcqsi.gly.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://71zcf.www.cbny1.www.vcqsi.gly.pdupdcd.cn/">Prev</a></li>
    <li class="active">
      <a href="http://71zcf.www.cbny1.www.vcqsi.gly.pdupdcd.cn/">1</a>
    </li>
    <li><a href="http://71zcf.www.cbny1.www.vcqsi.gly.pdupdcd.cn/">2</a></li>
    <li><a href="http://71zcf.www.cbny1.www.vcqsi.gly.pdupdcd.cn/">3</a></li>
    <li><a href="http://71zcf.www.cbny1.www.vcqsi.gly.pdupdcd.cn/">4</a></li>
    <li><a href="http://71zcf.www.cbny1.www.vcqsi.gly.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://71zcf.www.cbny1.www.vcqsi.gly.pdupdcd.cn/">Previous</a>
  </li>
  <li>
    <a href="http://71zcf.www.cbny1.www.vcqsi.gly.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://71zcf.www.cbny1.www.vcqsi.gly.pdupdcd.cn/">&larr; Older</a>
  </li>
  <li class="next">
    <a href="http://71zcf.www.cbny1.www.vcqsi.gly.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://71zcf.www.cbny1.www.vcqsi.gly.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://71zcf.www.cbny1.www.vcqsi.gly.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://71zcf.www.cbny1.www.vcqsi.gly.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://71zcf.www.cbny1.www.vcqsi.gly.pdupdcd.cn/" for click events if you rather use an anchor.

<a class="close" href="http://71zcf.www.cbny1.www.vcqsi.gly.pdupdcd.cn/">&times;</a>
动漫美少女受精漫画全集邪恶漫画中文网里番漩涡博人搞笑漫画109辣妹漫画绘星漫画全集下载动漫美少女受精漫画全集爱的考验 漫画漩涡博人搞笑漫画推理霸道爱情漫画手札可爱漫画腾讯动漫日本漫画时间漩涡博人搞笑漫画戒魔人漫画扑飞多久腾讯动漫日本漫画时间漩涡博人搞笑漫画假面女仆漫画舞出美丽人生 漫画夫妻成长日记漫画正版绘星漫画全集下载高中生初音和议员漫画UFO漫画图夫妻成长日记漫画正版推理霸道爱情漫画我的太太是小学生漫画晚上兴奋白天困漫画污漫画错乱的同居晚上兴奋白天困漫画摩擦妻子漫画高中生初音和议员漫画完美世界爱情漫画宇宙似乎很宏大,但却小之又小,宇宙之外是虚空,虚空里是什么呢? 时间是最快的速度吗?时间之后会产生什么呢? 多元宇宙的探索,科技的进步。人们也开始进入时间之中。 剩下的时间里会出现几个自己呢? 他们是残余,还是自己是残余。 残余本来就是剩下的!世界之大无奇不有! 宁可信其有不可信其无! 而你所见所听不一定为真,那些藏匿在背后的真象,是你无法逾越的鸿沟! 或许你可以尝试一下,但未必能够成功? 你是否还愿意去尝试? 去揭开世界的真相?人是人,仙是仙,人若想为仙,难比登天。天下凡人千百万万,得道成仙者百千年不得闻。 凡人非大机缘者,莫寻修仙路。然,何为机缘,机缘何得。 争,是智慧;不争,亦是智慧。 修仙修仙,修的是什么,修的不就是心么。三国近百年的战乱还未平复,西晋十年之久的“八王之乱”又起,华夏精锐殆尽,汉族陷于危亡之际!匈奴首先乘机发难,羯,氐,鲜卑,羌等族更是将战火席卷了整个北方大地!“五胡乱华”血腥来临!主角生为皇子,天潢贵胄,却只能偷生于公主身份,流离于军阀之间……到处都是豺狼虎豹!裙:138930598到处都是无情杀戮!易子相食,千里无人!汉族亡种灭族?!华夏支离破碎?!谁来力挽狂澜?!!网游映射现实,大三学生江晓玩了十年的《神话》直到关服。 他把网游玩成了单机,制霸游戏各种榜单。 当别人还在打怪升级的时候,他已是满级存在,当别人拿着几十万战力炫耀的时候,他的战力早已超越一亿; 他是全服隐藏职业之首,精通所有职业技能,能随心所欲切换职业战斗形态。 且看江晓如何玩转灵气复苏的游戏世界。2003年一座北方小城突遭萨斯病毒袭击,在抗击非典的日子里,人们经历的情感与爱情的非常考验。“林诺,我不会放过你的。” “珍惜你的所拥有的时间吧,毕竟你拥有的时间可是不多了哦。” “不要走。” “你好,我叫星辰,星辰大海的星辰。”(一笑) “她是谁?我。。不记得了。” “这个世界,,不存在?” “我叫林诺,是一名高中生。。。” “前辈,让我们一起来玩游戏吧,哎嘿嘿……”这是未来的某一天,唐亦格被卷入了一场异界比赛之中。这里是我的世界!欢迎各位来到神的游戏!一旦进入比赛将无法回头,除非你在这个看似混乱的世界中成为唯一的胜利者……为了回去,为了朋友,为了正义……一个在世上混了二十几年,一事无成的人,常年做着帝王梦。终于,梦醒了。他失眠了,精神分裂,住进了精神病院。万万没想到,他却因病而成网红,实现人生逆袭。可好景不长,这医院原来是穿越基地。他和病友们穿越了,穿越到一万年以后。   你可曾想过,在霓虹璀璨的城市下隐藏着书本中记载的怪物。   你可曾怀疑过,在肉眼看不到的地方,它们正窥视着你的一举一动。   你是否注意过,在人群汹涌的现代城市中,那些与你擦肩而过的人或许就是它们的伪装。   红白般若在夜里狂笑,镰鼬伴随着疾风收割着头颅,芬里尔的吼声震破苍穹,塞壬的歌谣魅惑众生沉入海底,白骨夫人披着人皮在街道起舞,吃人的电梯等待着一个又一个猎物……   这世间充满了诡异与怪谈,而这些诡异与怪谈也将被清除。   所谓怪,不过是求而不得的人,修而未成的果。
青森的风铃 大国实业 玄幻:我竟是无敌强者 执剑道天 深夜灵魂酒馆 时空错乱之身世谜团 人在修仙:批量制造绝世天骄 遇鬼的那些年 一个工作狂的重生之旅 我,大奸贼,卖女帝怎么了 我是昭阳 战魂封神录 种梦 禁忌收容所 修仙致富系统 军门陈凡 大话圌山 马派鬼吹灯 神算异世 雁的历程 污漫画错乱的同居 假面女仆漫画 邪恶漫画之好学生的 绘星漫画全集下载 邪恶漫画中文网里番 摩擦妻子漫画 邪恶漫画之好学生的 黑执事漫画里的格雷尔 名人漫画故事大全 戒魔人漫画扑飞多久 兔子帽 漫画 兔子帽 漫画 我的太太是小学生漫画 假面女仆漫画 动漫美少女受精漫画全集 晚上兴奋白天困漫画 邪恶漫画之青梅竹马的 污漫画错乱的同居 邪恶漫画之蜘蛛女 漩涡博人搞笑漫画 假面女仆漫画 漩涡博人搞笑漫画 邪恶漫画之蜘蛛女 夫妻成长日记漫画正版 手札可爱漫画 我的同桌是外星人漫画 污漫画错乱的同居 邪恶漫画之蜘蛛女 邪恶漫画之蜘蛛女 名人漫画故事大全 绘星漫画全集下载 卡洛斯良子漫画 109辣妹漫画 动漫美少女受精漫画全集 我的太太是小学生漫画 晚上兴奋白天困漫画 109辣妹漫画 邪恶漫画之好学生的 我的太太是小学生漫画 学战都市同人漫画 晚上兴奋白天困漫画 黑执事漫画里的格雷尔 高中生初音和议员漫画 邪恶漫画之青梅竹马的 腾讯动漫日本漫画时间 卡洛斯良子漫画 兔子帽 漫画 晚上兴奋白天困漫画 我的同桌是外星人漫画 舞出美丽人生 漫画 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 DG时代 仙魔:我拥有雷神体质 将乡 御灵师:天缺之人的逆袭 凡人轶事录 亚星管理平台 万利游戏官网 万利官网 亚星管理平台 澳门葡京官网 爱的考验 漫画 学战都市同人漫画 绘星漫画全集下载 完美世界爱情漫画 夫妻成长日记漫画正版 109辣妹漫画 卡洛斯良子漫画 摩擦妻子漫画 推理霸道爱情漫画 我的太太是小学生漫画 手札可爱漫画 腾讯动漫日本漫画时间 黑执事漫画里的格雷尔 推理霸道爱情漫画 完美世界爱情漫画 黑执事漫画里的格雷尔 学战都市同人漫画 戒魔人漫画扑飞多久 舞出美丽人生 漫画 污漫画错乱的同居 邪恶漫画之好学生的 完美世界爱情漫画 兔子帽 漫画 绘星漫画全集下载 腾讯动漫日本漫画时间 夫妻成长日记漫画正版 邪恶漫画之蜘蛛女 邪恶漫画之青梅竹马的 邪恶漫画之蜘蛛女 关于披萨的漫画