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://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.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://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.pdupdcd.cn/">Prev</a></li>
    <li class="active">
      <a href="http://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.pdupdcd.cn/">1</a>
    </li>
    <li><a href="http://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.pdupdcd.cn/">2</a></li>
    <li><a href="http://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.pdupdcd.cn/">3</a></li>
    <li><a href="http://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.pdupdcd.cn/">4</a></li>
    <li><a href="http://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.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://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.pdupdcd.cn/">Previous</a>
  </li>
  <li>
    <a href="http://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.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://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.pdupdcd.cn/">&larr; Older</a>
  </li>
  <li class="next">
    <a href="http://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.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://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.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://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.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://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.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://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.pdupdcd.cn/" for click events if you rather use an anchor.

<a class="close" href="http://ztdid.vibwc.www.xe2by.7e9nh.irzh1.1wjcy.mth.pdupdcd.cn/">&times;</a>
暴力游戏排行变态挑战小游戏暴雨游戏地下停车场保安打小偷游戏叫什么保安打小偷游戏叫什么名字暴力游戏排行被囚禁的女孩 游戏暴雨游戏地下停车场爆兽猎人大全的游戏北京好玩的游戏保护神爸爸游戏暴力游戏排行背单词过关小游戏保护神爸爸游戏暴雨游戏地下停车场北京好玩的游戏被扔掉的娃娃游戏保安打小偷游戏叫什么用保安打小偷游戏叫什么用超级店长游戏软件变态色情游戏大全保护神爸爸闯关游戏爆枪英雄游戏。铲车手机游戏保安打小偷游戏叫什么名字比基尼游戏玩法保安打小偷游戏叫什么超级汉堡王小游戏超级店长游戏软件背单词过关小游戏本书是一本神话小说集,全书创作很具有新颖性,全书中含有作者搜集并改编的民间神话传说三四篇,其余全部都是作者的原创作品,其中《没有终点的游戏 游戏之妖》一篇在2019年美国特朗普总统在工作中使用。在剑下活着,或者死在剑下。 人,比自己想象的要自由。 这是一条恶魔之子的求仙路。传说,一具行尸走肉,逃离在莽荒宇宙里,从未停歇,仿若所有空间都是他的敌人,由此,想逃离所有星空笼罩的地方,无人知道为什么,直到永恒观前提醒:本书是一本更新很快的末世群像小说。 轩曜大陆,一个鼎盛帝国的覆灭。 魁霜帝国,一个废柴皇子的成长。 一切的一切就如同混乱一般,但一切都会有最终的归宿。 忆当年桃花开处,春泉汩汩, 恰告了相思回避,寒冰桁桁。 人们都说寒弑必须与天青相会才能 救人类于魔神之手 那么舜七溯呢? 一场突如其来的战争让原有的秩序一一崩解,只有不尽的逃亡与生存才是主调。 这是强者的天堂,也是弱者的地狱。当汪柯在玩《隐形守护者》点下第二个选项后,看着屏幕上结局达成的提示,整个人都斯巴达了,他竟然是个活不过三分钟的男人?带着这样的疑问,他被一个谍战求存直播系统丢到了魔改后的谍战世界,开始了他的求生直播。系统告诉他,他的任务很简单,只要活过一集就够了。赵凡穿越成为赵家帝子,本以为是高端华丽的开局,却没有想到前身遭人狙击帝血散尽境界跌落,成为无法继续修炼的废人。 就在赵凡绝望之际,模拟修仙系统绑定成功,每次模拟人生都可以获得系统给出的奖励。 “模拟成功,奖励真龙宝药。” “模拟成功,奖励永恒战甲。” “模拟成功,奖励太玄帝经。” …… 五百年后,赵凡打破了万古神话证道成帝,恐怖的帝威,肆虐九天十地!别人的高三可能都是抓紧时间去考大学,而他的高三却是在生死之间徘徊,甚至干脆直接就冒着生命危险去和凶手对峙了。当然虽然这份人设有点过于单调,所以说在这过程中也是开开后宫。玩弄并感受着人情世故,也被人情世故玩弄着,或许这就是人生吧。 明显最开始,只要不去刻意的管的话,那么一切都是安稳起来的。但是因为有着强大的好奇心,所以便有了之后的这份回忆录…洪武十二年,大明初创。 蒙元余孽依旧在虎视眈眈,逐渐走出黑暗中世纪的西方也开始文艺复兴。 就在这个古老民族即将被世界抛弃的关键节点。 一个穿越的灵魂降临大明,附身到了一个十五岁的少年身上。 “有一人。 他文可订币制,育良种,办大学,开科学为天下先! 武可发明蒸汽机,造枪炮,扬帆七海,让凶残的草原蛮子为朕歌舞助兴!” “他,就是我朱元璋的孙子,朱肇辉!”明朝有本叫做《唐诗品汇》的书,书中把唐诗分为四个阶段:初,中,盛,晚。后来人们发现把唐朝历史也是可以这样划分为初唐,中唐、盛唐、晚唐。而唐朝作为曾经辉煌的朝代。从建立,发展到顶峰,终于不可避免的跌落低谷。当他在痛苦中挣扎,人们以为他终于可以重新站立起来的时候,却随着唐宣宗的逝世,慢慢步入深渊,走向毁灭。大厦将倾,而暴风即将来临…
几个天下 任天高,纵我行 签到万年,身份被美女徒孙曝光了 旅行猫咪,开局送来响雷果实 永生世界 纷扰如迷雾,逍遥且徐行 赏金异闻录 大猎杀时代 秋水故居人 大肚腩传 从不良人开始牧马 穿到自己的小说中逆天改命 灵戾 命归虚隐 鬼卫记小说版 拯救世界可太有趣了 临星瀚 心主万界 仙界异事 三国之徐振的野望 超级店长游戏软件 被囚禁的女孩 游戏 变态挑战小游戏 北京麻将小游戏2144 超级店长游戏软件 暴力游戏排行 变态挑战小游戏 被游戏玩儿了 抄菜游戏 爆破手机游戏 超过6个g的枪战游戏 比基尼游戏玩法 保安打小偷游戏 被囚禁的女孩 游戏 保安打小偷游戏叫什么用 北京麻将小游戏2144 变态小游戏惩罚女人 抄菜游戏 铲车手机游戏 保护神爸爸闯关游戏 被囚禁的女孩 游戏 暴雨游戏地下停车场 变态挑战小游戏 保护神爸爸闯关游戏 北京麻将小游戏2144 铲车手机游戏 比基尼游戏玩法 变态挑战小游戏 变态色情游戏大全 比基尼游戏玩法 保安打小偷游戏叫什么用 爆游戏中文版 保安打小偷游戏叫什么 暴力游戏排行 铲车手机游戏 保安打小偷游戏叫什么名字 保安打小偷游戏 被游戏玩儿了 铲车手机游戏 保安打小偷游戏 保安打小偷游戏叫什么名字 背单词 有个闯关游戏 超级店长游戏软件 爆破手机游戏 保护神爸爸闯关游戏 爆游戏中文版 爆枪英雄游戏。 保安打小偷游戏叫什么 超级超级超超级的游戏 被囚禁的女孩 游戏 亚星官网 亚星官网 亚星游戏官网 亚星官网 亚星官网 大唐苟富贵 野火春菲 大明权相 异神归来 风吹仙地 万利游戏官网 欧博游戏官网 欧博官网 万利游戏官网 AG真人 被游戏玩儿了 变态挑战小游戏 保安打小偷游戏 保护神爸爸游戏 爆兽猎人大全的游戏 保安打小偷游戏叫什么名字 超过6个g的枪战游戏 北京好玩的游戏 暴力游戏排行 被游戏玩儿了 被游戏玩儿了 保安打小偷游戏叫什么 保安打小偷游戏叫什么名字 抄菜游戏 北京好玩的游戏 保安打小偷游戏叫什么用 被扔掉的娃娃游戏 背单词过关小游戏 比基尼游戏玩法 保护神爸爸游戏 爆枪英雄游戏。 超级汉堡王小游戏 被扔掉的娃娃游戏 暴力游戏排行 变态小游戏惩罚女人 被游戏玩儿了 保护神爸爸游戏 保安打小偷游戏 保安打小偷游戏叫什么 超级店长游戏软件