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="https://doteonyourfacecom.jiee.com.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="https://doteonyourfacecom.jiee.com.cn/">Prev</a></li>
    <li class="active">
      <a href="https://doteonyourfacecom.jiee.com.cn/">1</a>
    </li>
    <li><a href="https://doteonyourfacecom.jiee.com.cn/">2</a></li>
    <li><a href="https://doteonyourfacecom.jiee.com.cn/">3</a></li>
    <li><a href="https://doteonyourfacecom.jiee.com.cn/">4</a></li>
    <li><a href="https://doteonyourfacecom.jiee.com.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="https://doteonyourfacecom.jiee.com.cn/">Previous</a>
  </li>
  <li>
    <a href="https://doteonyourfacecom.jiee.com.cn/">Next</a>
  </li>
</ul>

Aligned links

Alternatively, you can align each link to the sides:

<ul class="pager">
  <li class="previous">
    <a href="https://doteonyourfacecom.jiee.com.cn/">&larr; Older</a>
  </li>
  <li class="next">
    <a href="https://doteonyourfacecom.jiee.com.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="https://doteonyourfacecom.jiee.com.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="https://doteonyourfacecom.jiee.com.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="https://doteonyourfacecom.jiee.com.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="https://doteonyourfacecom.jiee.com.cn/" for click events if you rather use an anchor.

<a class="close" href="https://doteonyourfacecom.jiee.com.cn/">&times;</a>
网络营销的基本形式有哪些信息安全运维服务内容专业网站设计网络信息安全模型什么是传统营销型企业九州建网站石家庄做网站的公司有哪些信息安全专业牛人企业网络安全方案集团公司广域网组建日常生活营销思维故事王宇是名从未被编辑签约过的网络作者,灰心失意下重开了小说,竟然成为了新一代的神,没等他享受成神的待遇,竟意外进入了他之前写的一本小说中,成为了主角!梦凡意外获得诡异角色(使徒) 莫名的角色改变了自己的一生 最后发现惊天秘密究竟自己究竟该如何选择 没有比这个更离谱的事情了! 陈墨只不过喝了几口水,居然马上就要死了? 【你如果还想活命,来,献祭十年寿命,我告诉你方法。】 陈墨愣愣的看着脑海中,一盏青铜灯表面浮现的血色文字。 他登上一艘被黑气环绕的豪华游轮,没想到青铜灯上的文字却立刻更新。 【我不会告诉你,这艘船上能造成你死亡的因素,大概有六千多万个……】 他吃了一颗仙气盎然的果子,以为是主角光环降临,获得了奇遇,从此走上人生巅峰! 结果青铜灯浮现文字。 【你吃了一颗充满污染气息的水果,等着死吧……】 陈墨有点控制不住下巴,这是金手指? 点燃灯芯,可以获得超凡能力。 他充满期待的盯着青铜古灯。 【抱歉,你的脑袋进水了,点燃失败。】 陈墨没有穿越,但是他一直赖以生存的世界病了,他也病了。 “如果我还有得选,我希望继续以人类的身份活下去。”皇帝统治末期,国库空虚,军中已三月无饷。商贸日益凋敝,多有囤积垄断之现象。国政松弛,军机各部亦有欠款之举,海政疲惫,几近崩溃。司法沦为铢两悉称,律令之行惟强者是瞻。全国一片凋零,百姓苦不堪言。以平民出身的议员何志明、海军巡洋舰队司令高柏加少将和备受冷落的皇族子女刘丽嘉决定起义,推翻皇帝,建立共和。与此同时,在外流浪多年、高柏加少将的孙子高楠也回国助他们一臂之力。然而革命成功三年后,“洛基之子”与“撒旦骑士团”的到来让新生的共和国摇摇欲坠...【历史种田+江湖八门+富可敌国+复仇】 秦书铭穿越到燕赤国,成为八门祖师爷之子,江湖人尊他为少帅。 开篇背负血海深仇,少年和小妹相互扶持,亲情成为这冰冷的世界唯一的温度。 穿过刀林阵,喝过鸡头血;一拜天为父,二拜地为母,从此少帅入江湖。 这是一个充满骗局的世界,风水局,老千局,扎飞局,鲁班局,层出不穷。 上一世身为百亿富豪的秦书铭表示,不好意思,在下擅长局中局。 小妹问:哥,为什么那些坏人都在替你做事? 秦书铭:傻妹子,因为你哥我是坏人头子! 小妹问:那为什么皇子和军机大臣都对你弯腰? 秦书铭:因为哥有钱啊,富可敌国的那种。 小妹问:那为啥女土匪也对你弯腰? 秦书铭:你还小。苍茫的仙穹下,一个时代的璀璨,不过是弹指间的烟花绽放。 俯瞰大地,悠悠万载,生生灭灭,他们都在哪里?仙门、皇朝、无上圣地,都不过是仙穹下的一抔黄土。 万载辉煌,一灭成灰。 墟土深处生烬萌,你我争为通天树。 仙穹彼岸到底有什么?孟孑觉醒前世记忆,来到一个小山村,作为一个顶级剑修,他却拿起灵药,开始治病救人……但这一切都是为了前世的布置……大炎 一个传承了万年之久的帝国,正在走向末路,其庞大的身躯在也支撑不起这个逐渐腐朽的国家,其余各大帝国看到这个庞大的身躯以不在散发威势,准备靠近这个身躯分而食之的时候,却在此时各国传出龙凤两阁出世,两阁派出龙行使和凤行使行走天下,随即天下在一次的风云再起,一场风暴在所难免。 某个现代一个神秘的少年韩霄被一个神秘的世界穿越到武朝时代,但他来到末曾见过一个不一样的古代世界里。 他帮助武朝完成统一,实现了他未曾相识的世界。记录走入大学之后的心路散情
做谷歌网站 万网的云服务器 用多个域名建多个网站 每个域名用备案吗 公安网络安全监察 福田建网站 网络安全报警电话 信息安全 网络安全考试 咨询手机网站建设平台 信息安全等级评估 网络营销bbs 超低价的郑州网站建设 不爱读书【www.richdady.cn】 孩子学习不好的咨询技巧咨询【www.richdady.cn】 查财运专业服务【www.richdady.cn】 脑部不清晰的案例分享【www.richdady.cn】 忧郁症的预防措施咨询【www.richdady.cn】 强迫症的咨询技巧【σσЗ8З55О88О√转ihbwel 内心恐惧胆怯的情感释放咨询【微:qq383550880 】√转ihbwel 不爱读书的教育建议咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 学习成绩差的家庭教育威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的咨询技巧【www.richdady.cn】√转ihbwel 婴灵的化解仪式咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 公司破产的后续规划咨询【www.richdady.cn】√转ihbwel 亲子关系的改善方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何改善精神不振的状态【微:qq383550880 】√转ihbwel 孩子学习不好咨询【企鹅383550880】√转ihbwel 去世的母亲的前世缘分咨询【微:qq383550880 】√转ihbwel 莫名其妙感伤的原因分析咨询【σσЗ8З55О88О√转ihbwel 升迁障碍【企鹅383550880】√转ihbwel 财运不佳的财运改善【www.richdady.cn】√转ihbwel 大龄剩女的自我提升咨询【www.richdady.cn】√转ihbwel 营销型网站建设页面装饰网络营销的职责 佛山手机网站建设优化 互联网营销模式研究 搭建网站设计 网络营销运营部 做谷歌网站 免费网络营销课程 日常生活营销思维故事 国际网络安全期刊 网大营销 中国信息安全测评中心笔试 湘潭网站建设 广州网站设计公司 网吧信息安全证明是什么,-1 《网络安全》2017 营销运营推广服务 内存信息安全 互联网信息安全产品分类 免飞网站 淘宝网营销 做个营销型网站多少钱 什么是传统营销型企业 信息安全讲座多少钱,-1 北京营销策划 九州建网站 品牌网站开发 网站降权怎么办 网络安全框架 nist 《网络安全》2017 信息安全防护等级 营销发布平台有哪些内容 《网络安全》2017 大数据网络安全测试题 卫龙营销战略 信息安全专业牛人 国家支持什么等教育机构开展网络安全相关教育与培训 企业网络安全方案集团公司广域网组建 五级网络安全是 自学网营销运营 营销运营推广服务 网络营销的商品按其形态可分为三大类即实体商品软体商品和在线服务 网站建设规划书 公安网络安全监察 国家网络安全局 营销型网站建设页面装饰网络营销的职责 网络营销的内涵有 中国国家信息安全产品 星巴克和微信营销案例 内存信息安全 核心网络安全小组 北京信息安全服务平台,-1 信息安全防护等级 佛山手机网站建设优化 17校招网络安全 营销发布平台有哪些内容 纯网络营销案例 电子商务 网络营销培训 网络安全的目标是什么?通过哪些技术手段可以促进安全目标实现? 网络安全技术包括什么 信息安全工程师 培训 如何网站客户案例 品牌网站开发 网络安全专委会 苏州做网站 网络信息安全公告 高校网络安全采访问题 卫龙营销战略 工业控制系统信息安全 责任 网络安全审计系统作用 网站高端网站建设 纯网络营销案例 石家庄做网站的公司有哪些 苏州做网站 网络营销学徒靠谱吗 网络安全报警电话 银川网络营销 网络营销运营部 央企信息安全 不属于信息安全产品的是 济南网站建设多少钱 2016年信息安全形势 内存信息安全 做个营销型网站多少钱 如何网站客户案例 做谷歌网站 网站通栏国有企业信息安全管理办法 德宏网站制作网络安全法 从业 朝阳网站建设 深圳企业做网站公司有哪些 做网站公司广州 国家网络安全局 什么是传统营销型企业 免费网络营销课程 深圳网站开发 公司网站建设 网络安全电影主播 信息安全 周报 国际网络安全期刊 网站工作室 网站验收 信息安全讲座多少钱,-1 网络安全专委会 我们国家网络安全吗 17校招网络安全 网络营销学徒靠谱吗 网络信息安全模型 信息安全服务情况 超低价的郑州网站建设 互联网营销模式研究 网络与信息安全 网络信息安全面临的威胁 网大营销 网站提供商 网络营销的基本形式有哪些 信息安全服务情况 网络营销正规公司 北京营销策划 大学生网络信息安全调查报告 购物类网站建设方案 网络安全威胁类型 监控网络安全方案 德宏网站制作网络安全法 从业 石家庄网站制作找谁 陕西省网络信息安全办公室成员 《网络安全》2017 长沙网站推 中国信息安全测评中心笔试 重庆好的网络营销公司 央企信息安全 徐州网站 整合营销案例 达内 网络营销深圳 网络营销正规公司 网站没备案 公司网站建设 网络安全审计系统作用