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://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.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://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.pdupdcd.cn/">Prev</a></li>
    <li class="active">
      <a href="http://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.pdupdcd.cn/">1</a>
    </li>
    <li><a href="http://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.pdupdcd.cn/">2</a></li>
    <li><a href="http://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.pdupdcd.cn/">3</a></li>
    <li><a href="http://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.pdupdcd.cn/">4</a></li>
    <li><a href="http://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.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://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.pdupdcd.cn/">Previous</a>
  </li>
  <li>
    <a href="http://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.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://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.pdupdcd.cn/">&larr; Older</a>
  </li>
  <li class="next">
    <a href="http://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.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://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.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://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.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://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.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://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.pdupdcd.cn/" for click events if you rather use an anchor.

<a class="close" href="http://anup4.bdw68.eilbf.pohvz.mzc67.www.nqn.pdupdcd.cn/">&times;</a>
成功没有偶然txt西路军txt贝姨txt下载弦歌南望txt下载悍将妖惑天下txt下载成功没有偶然txt王阳明txt贝姨txt下载唐朝的趣闻轶事txt来不及说我爱你txt免费下载沧桑知锦华txt成功没有偶然txt张学良传 txt沧桑知锦华txt贝姨txt下载来不及说我爱你txt免费下载通天剑尊txt重生之东厂相公txt重生之东厂相公txt重生之海盗相公txt黑道悲情1-3txt下载红袖青衣小说txt还珠之帝心欢瑜txt官票txt下载悍将妖惑天下txt下载挑衅 不甚了了txt弦歌南望txt下载清穿之我是宁妃txt下载重生之海盗相公txt大明海寇txt本作品讲的是一个不知名的小人物一步一步成为仙界至尊武道巅峰的故事"三阴绝脉"者,史书所载;凡患此症者非但终生不能修武,并且几乎无一人能侥幸活过十三岁。命运关上所有的幸运之门,却开了一扇窗,令其在绝境中峰回路转,当其踏着尸山血海攀上巅峰之时,骇然发现一个惊天之秘。暮然回首,惊觉自己脚下的这片世界幌若恒河之沙粒,渺若微尘。何去何从……寒原,冰封千里,生存灭亡,命悬一线。 在这里,没有诗与歌,当然也没有所谓理想。 然而,就这样,隗姜与姬鸿,两大部落,涿泉与明渊,命运般的邂逅,创造这样一场,岚山内,寻找所谓梦之物。灵气复苏,山海真祖镇压当世一切敌,时过千年,高中生王毅背负山海经,是宿命,还是使命?本书是一个关于家庭与梦想的故事,描绘了农村生存百态,赞美了人性的善与美,同时展示了在城市化大潮流下个体追寻自我的迷惘、挣扎与无奈。 故事发生在豫东平原一个叫芦湾的村庄。孙家树是一个严重口吃的孩子,他的父亲孙福来对他感到失望与愤怒。有一天父亲对他一顿痛打,他竟然奇迹般的可以顺畅说话。一次偶然的机会,他跟养蜂人学习弹吉他,从此爱上唱歌,梦想着长大后成为民谣歌手。 一天晚上,孙家树发现父亲与郑敏幽会,他向母亲告密,导致父母关系破裂,他与父亲的关系跌入冰点。父亲的酒厂倒闭后几番折腾,均以失败告终,无奈之下重操旧业。随着时光流转,孙家树与父亲的隔膜越积越厚。他仍然热爱唱歌,带着梦想成长。慕容晓的父母已音讯全无三年有余,她甚是迷茫。在得到了师父无音师太的首肯之后,她决定亲自下山前去瓒州一探究竟。可谁曾想到,慕容晓刚一下山便遇到了重重阻碍。她和她的朋友们能否安然抵达瓒州?这一路上又会有什么巨大的阴谋在等着她?人在江湖有时真的是身不由己。是抱有希望继续向前?还是与伙伴们荣辱与共?慕容晓的心中已经有了她自己的答案…御灵者,上古巨兽,兽人,人兽,异能者,素国武者,传说中的龙族,随着世界联赛的开始,背后的阴谋拉开了序幕……世界排名第三的杀手王川,在完成一项绝密刺杀任务后,遭遇雇主的灭口,濒死之时,意外来到了另一个世界…… 来到这个世界,遇上的第一件事,被洗脑,然后做个沙雕。 “洗洗,还更健康?你是打算用什么给我洗脑?” “欺我九州者,当夷其宗、灭其族!” “我,王川,以九州之名起誓,我将誓死守卫九州,寸土不丢、寸地不让,寸步不退,不惧生死、不杀无辜、不压良善、不欺妇孺、不行奸恶……”因一部可修身成神的圣典,全宗被灭。 为报仇雪恨,蓝夜忍辱负重,一路披荆斩棘,历尽九死一生,只为寻得神兽传承。 发小死于眼前,蓝夜怒弑皇族。 为救天下苍生,力抗域外入侵者。 待得天下安定,却发现更严峻的挑战在等着他。。。。。。这是发生在,许多年以后的地球上的故事。
末世之逆天崛起 生命世界:奇点 玄玉道途 弥留的通晓之刻 灵气复苏开局获得补偿礼包 变成魔王也要拯救世界? 重生之叶帝归来 钟山战纪 一代潜龙 生灭万物 乘风灭道 我当神棍那些年 雪淞散文随笔集 穿越,人在征途 蛇皇之异界纵横 逆势崛起之我能改命 边镇刀声 德者居上 御灵剑神 杀手的小可爱 血腥王妃txt 来不及说我爱你txt免费下载 通天剑尊txt 重生之东厂相公txt 血腥王妃txt 阿瓦隆之庭txt 全能修真者txt全集下载 时未寒山河txt下载 挑衅 不甚了了txt 张学良传 txt 还珠之帝心欢瑜txt 还珠之帝心欢瑜txt 官票txt下载 来不及说我爱你txt免费下载 我的歌声里txt 悍将妖惑天下txt下载 不小心捡了七位txt 挑衅 不甚了了txt 西路军txt 成功没有偶然txt 嬗变txt 贝姨txt下载 西路军txt 红袖青衣小说txt 时未寒山河txt下载 官票txt下载 挑衅 不甚了了txt 西路军txt 黑道悲情1-3txt下载 挑衅 不甚了了txt 重生之东厂相公txt 嬗变txt 弦歌南望txt下载 成功没有偶然txt 官票txt下载 悍将妖惑天下txt下载 堂吉诃德小说txt 全能修真者txt全集下载 官票txt下载 堂吉诃德小说txt 悍将妖惑天下txt下载 平安京少年阴阳师txt 重生之海盗相公txt 不小心捡了七位txt 沧桑知锦华txt 嬗变txt 还珠之帝心欢瑜txt 悍将妖惑天下txt下载 回到清朝做霸主txt下载 王阳明txt 亚星官网 亚星游戏官网 亚星官网 亚星官网 亚星游戏官网 地府现代化,阎王找我烧电脑 大唐第一熊孩子 异界奇遇录 异世界的经历 成仙之前 百家乐官网 澳门葡京游戏官网 澳门葡京官网 百家乐官网 万利游戏官网 血腥王妃txt 不小心捡了七位txt 回到清朝做霸主txt下载 挑衅 不甚了了txt 弦歌南望txt下载 成功没有偶然txt 唐朝的趣闻轶事txt 清穿之我是宁妃txt下载 沧桑知锦华txt 西路军txt 弦歌南望txt下载 唐朝的趣闻轶事txt 还珠之帝心欢瑜txt 悍将妖惑天下txt下载 官票txt下载 黑道悲情1-3txt下载 西路军txt 不小心捡了七位txt 还珠之帝心欢瑜txt 血腥王妃txt 阿瓦隆之庭txt 我的歌声里txt 时未寒山河txt下载 全能修真者txt全集下载 红袖青衣小说txt 张学良传 txt 弦歌南望txt下载 还珠之帝心欢瑜txt 来不及说我爱你txt免费下载 清穿之我是宁妃txt下载