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

<a class="close" href="http://www.p5cza.3yle1.www.1oh5g.www.nnp29.vynu.pdupdcd.cn/">&times;</a>
动漫卡通人物萌情侣头像qq女生头像霸气超拽相框人物头像一男一女金牛座头像百度贴吧素描头像军装动漫卡通人物萌情侣头像一对头像分开人物头像一男一女qq头像小孩子带狗 猫头像女生与花唯美图片带字此生不离不弃头像人物头像一男一女古典水墨画头像带字此生不离不弃头像男生头像黑白一半头像女生与花唯美图片带有玫瑰花美女头像图片大全沙画情侣头像制作沙画情侣头像制作红色古风头像脸照动漫校园青春男女头像沙画情侣头像制作qq头像小孩子带狗 猫寓意好得头像图片好看的短发唯美图片女生头像小清新石膏头像图片小卫好看的短发唯美图片女生头像小清新寓意好得头像图片红色古风头像脸照古典水墨画头像 主角:姜氏家族族长“姜冥夕”自幼资质超群谋识过人是个万里挑一的天才少年,可本应该在闭关的姜冥夕却发现自己身在神骸禁地中... 女主:一个异世界的外来者,应一场意外阴差阳错的来到了地灵大陆,生活了15年后在神骸禁地遇见了失忆的姜冥夕开启了一段奇妙的姻缘。 修为分段:聚灵境—小元灵境—元灵境—小元地境—元地境—小元天境—元天境—元灵天位—元地天位—元天位有累死的,有饿死的,但第一次听说有无聊死的。 赵子齐是个无聊的人,但他不想死。 少女唇角一勾,微笑道&amp;quot;抱歉,这位先生,因为您的无聊已经到达阈值,世界会因您而崩坏。所以,请您平静地接受死亡吧!&amp;quot; 赵子齐一个头两个大,死亡的威胁随着暗红色匕首的接近而近在咫尺。 然而,预想中的死亡并没有发生,少女秀眉微皱。 &amp;quot;这位先生,因为您的求生欲也已经到达阈值,所以神灵大人决定给您一次机会。&amp;quot; &amp;quot;去吧,原界。&amp;quot;(本书又名:掘墓人的亲身经历)我爹说,我的命是借来的,出来借迟早是要还的! 而我的故事,还要从我即将满十八岁的那场经历开始,就让二狗以自己的掘墓人的亲身经历,带领大家解读那些藏于民间的传闻秘事……少年苏行,在天命之子觉醒后被视弃子,被害濒死的他修习禁术的炼天魔功,为保护妹妹走上斩灭心中一切不平之剑道。 吞噬世间气运,横扫万千妖孽,现无上之资。 一剑斩断世间不平事,一剑破尽世间无上法。 踏破日月星辰,剑斩阳阳破晓。 胸有一剑,看淡一切生死事。 修魔功,吞天命,谁说天命难违,我要我这一剑破天……什么?华夏守护神竟沦落成为一名小保安?   林凡遵从师命意外展开保安生活,并结识了自己的未婚妻,从此开启了没羞没臊的装B生活。什么?投稿被拒的扑街女作家林语,一觉醒来,竟然穿越了。 白天,她横刀立马,一袭白衣,一柄长枪,是吓得蛮族肝胆俱裂的南梁世子。 夜晚,她倾国倾城,一身红妆,一曲相思,是集万千宠爱于一生的南梁公主。 本是女儿身,女扮男装去逛青楼给世子塑造纨绔形象。就已经够离谱了。还得去参加各种诗会雅集来维持住南梁公主光辉的形象。 本以为穿越后能靠着系统过上膏粱文绣的富足生活。确因一场阴谋,不得不以她那瘦弱的肩膀,扛起整个南梁。 一场场阴谋算计的背后,是关于家国情长的纠结。 纵使在世人看来这已经是必死之局。 但她不愿逃避,那一袭白衣,一柄长枪,坚定不移守护在南梁城下。最强兵王归来,竟发现家人被逼迁,一怒之下,风云骤变,血流成河。他本想闲云野鹤悠闲度日,却陪她纵横商界叱诧风云,为她打下一片江山。流星划过天空,带来的却是一个世界的不甘 两个世界相互碰撞,是否应该随波逐流 一次偶然,张泽熙发现了从天空坠落的一块石板,带着好奇,他拿起了石板,从此,命运的齿轮开始转动...穿越到了火影世界,穿越成为未被灭族的漩涡一族的族人,好在作为穿越者他也拥有必备的金手指系统,能够复制万能系统,我看一眼你这个禁术不错拿来吧,你这个血继限界不错拿来吧,你强任你强,系统最猖狂。十几年前,赵辉以优异成绩进入北电影院导演专业,并且在新生期间,就连续拍摄了三部电视剧,而每一部都掀起了一股收视率狂潮, 更是带火了一大批同年级的北电影院表演系的学生..... 随后,赵辉又转战电影领域,用一部小成本的电影,再次豪取千万的票房。 因此,一时间,赵辉之名不仅响彻北电影院,更是震动了整个娱乐圈儿。 而也就在大家都认为娱乐圈要进入赵辉时代时,在一次外出的路上因救一位过路的小女孩儿,被车撞伤陷入了昏迷之中。他这一昏迷就是长达十二年之久, 而他所带火的那些同学却都已成为娱乐圈儿当红的演员,还有,当年被他救下的那个小女孩儿也长大了。 而也就是这一日,那个躺在病床上长达十二年之久的赵辉却是毫无征兆的睁开了双眼...
重活五万年 西游之通天大圣 何谈鬼道 谁惊悚? 末日:我有一个世界 魂斗灵罗 我在异界修仙问道 落世天帝 九龙剑尊 龙血英雄 元鸿纪 源能重生 诸天,从华山开始 异界之扮演游戏 扶手云烟笑 千鹤燃心 绝品杀手混花都 空天猎 仙路苦旅 我要挽救这个被我摧毁世界 头像女生霸气冷艳2017 微信头像风景高清带字 带有玫瑰花美女头像图片大全 素描头像军装 头像女生霸气冷艳2017 微信头像男生帅气正装 带有玫瑰花美女头像图片大全 qq头像白色简约动漫情侣头像 石膏头像图片小卫 七年级十班的头像 qq头像男孩和爱 qq头像男孩和爱 龙珠人造人高清头像 微信头像风景高清带字 动漫卡通人物萌情侣头像 素描头像军装 动漫头像带字阿宝 石膏头像图片小卫 黑白动漫衬衫头像男 人物头像一男一女 微信头像风景高清带字 男生头像黑白一半 qq女生头像霸气超拽相框 带字此生不离不弃头像 头像女生与花唯美图片 龙珠人造人高清头像 石膏头像图片小卫 qq女生头像霸气超拽相框 黑白动漫衬衫头像男 石膏头像图片小卫 素描头像军装 头像情单人 金牛座头像百度贴吧 动漫卡通人物萌情侣头像 寓意好得头像图片 素描头像军装 金牛座头像百度贴吧 带有玫瑰花美女头像图片大全 龙珠人造人高清头像 男生头像黑白一半 好看的短发唯美图片女生头像小清新 七年级十班的头像 黄姓氏头像动漫 动漫头像带字阿宝 带字此生不离不弃头像 头像情单人 qq头像男孩和爱 好看的短发唯美图片女生头像小清新 龙珠人造人高清头像 一对头像分开 亚星官网 亚星官网 亚星官网 亚星官网 亚星官网 从高中开始的修福报生活 啥?末日来了? 九转还阳剑 80后的年轻人 国企高管的遭遇 亚星游戏官网 万利官网 欧博游戏官网 亚星游戏官网 葡京官网 龙珠人造人高清头像 动漫卡通人物萌情侣头像 素描头像军装 一对头像分开 黑白动漫衬衫头像男 qq头像白色简约动漫情侣头像 动漫头像带字阿宝 头像情单人 头像女生霸气冷艳2017 头文字d头像藤原拓海 动漫卡通人物萌情侣头像 动漫卡通人物萌情侣头像 微信头像男生帅气正装 微信头像男生帅气正装 黑白动漫衬衫头像男 qq女生头像霸气超拽相框 qq头像小孩子带狗 猫 黄姓氏头像动漫 好看的短发唯美图片女生头像小清新 一对头像分开 动漫校园青春男女头像 男生头像黑白一半 动漫头像带字阿宝 带字此生不离不弃头像 qq女生头像霸气超拽相框 古典水墨画头像 黄姓氏头像动漫 黄姓氏头像动漫 带有玫瑰花美女头像图片大全 动漫头像带字阿宝