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://beho.71119.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://beho.71119.cn/">Prev</a></li>
    <li class="active">
      <a href="https://beho.71119.cn/">1</a>
    </li>
    <li><a href="https://beho.71119.cn/">2</a></li>
    <li><a href="https://beho.71119.cn/">3</a></li>
    <li><a href="https://beho.71119.cn/">4</a></li>
    <li><a href="https://beho.71119.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://beho.71119.cn/">Previous</a>
  </li>
  <li>
    <a href="https://beho.71119.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://beho.71119.cn/">&larr; Older</a>
  </li>
  <li class="next">
    <a href="https://beho.71119.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://beho.71119.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://beho.71119.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://beho.71119.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://beho.71119.cn/" for click events if you rather use an anchor.

<a class="close" href="https://beho.71119.cn/">&times;</a>
税务系统信息安全基本要求信息安全管理制度建设个人电子营销平台登录网络信息安全课件台州手机网站建设京网站制作公司安徽理工大学 信息安全,-1网络安全化草案印度的信息安全佛山网站设计讯息上一世,他出道八年,却无人问津,老婆抛弃他,女儿因为癌症去世,穷困潦倒,妻离子散。 一朝回到女儿去世前,再次见到女儿的那一刻,他决定,要将全世界最好的都给女儿。 为了赚钱养女儿,一不小心,他唱的歌爆红了网络。 写的第一本小说就被称之为经典。 拍的第一部电影就成了电影学院研究的对象。 …… 当事人叶鸣却抱着怀中的女儿淡笑道:“意外,这都是意外,我只想做个好奶爸而已。”2320年,人类的足迹已经步满太阳系周边的星系,科技迅速发展。令人意外的是,人类没有发现任何有文明的星球。迅速膨胀的人类开始内战,一个名为陆南的运输舰长,在内战时误入虫洞,在一个荒芜的星系,和两个敌人一起开启新的人类文明。 当姜月月察觉到哥哥,对她的关爱,突破兄妹之间情意的,是占有的念想。 姜月月会怎样逃离这个“家”。 是仙途,亦是人生之途,历磨难,经艰辛,方是那无上之道。人是人,仙是仙,人若想为仙,难比登天。天下凡人千百万万,得道成仙者百千年不得闻。 凡人非大机缘者,莫寻修仙路。然,何为机缘,机缘何得。 争,是智慧;不争,亦是智慧。 修仙修仙,修的是什么,修的不就是心么。 绝世天帝重生为家族赘婿,受尽他人白眼,却觉醒宝物镇天神符。 修武道,踏万界,镇天地万物,成众生之主。 “这世间天才千千万,唯我林枫一人能镇压!”天下已乱,战火纷飞,百姓水深火热。 奸臣当道,忠臣受迫,庙堂妖风邪气。 此时,江流正在赶往金陵的路上。 ”忧苍生之所忧,愁国君之所愁。“ ”我江流就是要开创个太平盛世!“穿越到异世界,冒险,打怪,带妹,撩妹,成长 末世五年,路余明一直过着彽下的日子,当他好不容易生活有了些起色。 面对一场异兽潮,退役兵王为救自己的娇妻随意的将自己送去挡下了致命一击。 重生后的他回到五年前,下定决心,自己一定不会像曾经那样如此狼狈,且看他如何纵横末世,携美生存。描写一个普通打工者的路程
邢台做网站公司网站怎么添加管理员 保定市网站建设 网站主页设计 税务系统信息安全基本要求 湛江做网站 电商网站制作 鄂尔多斯网站建设 营销推广全网整合营销 营销对企业的重要性青岛城阳网站建设 长沙企业网站建设团队 脑部不清晰的前世因果【www.richdady.cn】 孩子不爱读书的家长引导方法有哪些?咨询【www.richdady.cn】 财运问题在线咨询咨询【www.richdady.cn】 祖灵咨询【www.richdady.cn】 意外的原因咨询【www.richdady.cn】 存不住钱的解决方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子压力大的环境影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的财富规划如何制定?咨询【www.richdady.cn】√转ihbwel 邪灵的防范方法咨询【σσЗ8З55О88О√转ihbwel 性压抑的前世记忆咨询【σσЗ8З55О88О√转ihbwel 财运不佳的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何应对冤亲债主的干扰?【www.richdady.cn】√转ihbwel 学习成绩差的解决方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 查财运专业服务【企鹅383550880】√转ihbwel 心特别累【企鹅383550880】√转ihbwel 存不住钱的前世因果【微:qq383550880 】√转ihbwel 事业不顺的案例分享咨询【www.richdady.cn】√转ihbwel 忧郁症【σσЗ8З55О88О√转ihbwel 外灵的预防措施【σσЗ8З55О88О√转ihbwel 什么原因意外的前世影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大型免费网站制作 信息安全企业排行 wannacry 网络安全 小企业网络安全方案 建设通网站 网络安全的基本需求 网络营销的定价方法对传统营销的定价方法都进行了进化对么 郑州做网站公司 怎样给网站增加栏目 呼和浩特做网站的公司有哪些 独立网站建设 新泰做网站 河北网络安全周直播 计算机网络安全等级 c2c网站有哪些 互联网内容分发网络安全防护检测要求 公安部信息安全中心 江门网络营销外包公司 邢台网站制作地方 wannacry 网络安全 网络安全的书籍推荐 网络安全网络文明 网站建设有模板吗 信息安全就是网络安全 河北网络安全周直播 微信公众号关注营销案例 昆明网站推广优化 营销推广全网整合营销 营销外包费用 佛山网站设计讯息 新泰做网站 2017年网络安全周北京 独立网站建设 信息安全发展过程 微网站域名 酒店网站建设公司 个人电子营销平台登录 网络安全信息法 美国 2000 网站制作 文案 营销培训证书电子邮箱营销视频 信息安全赛事 常州低价网站建设公司 网络安全测试请示 信息网络安全公安部重点实验室 互联网营销培训 马云营销企业 绿盟网络安全 网络营销手段 阳光网络安全资料 运营商网络安全方案 信息型网站 学院网络安全解决方案 三合一网站 2016年中国网络安全发展形势展望 pci 信息安全 营销型网站模板 高州做网站 pci 信息安全 南宁制作营销型网站 网络安全的基本需求 营销对企业的重要性青岛城阳网站建设 长沙企业网站建设团队 网络信息安全课件 临沂高端网站建设 网站手机版开发 国家信息安全认证服务资质 网站的大小 网络安全审查委员会 网站注册器 网站 大型免费网站制作 成都网站原创 公众微信绑定网站帐号 东莞高端品牌网站建设 手机网站建设 网络营销的定价方法对传统营销的定价方法都进行了进化对么 房地产全程网络营销系统对房产公司的营销推广有什么帮助? 信息网络安全 司法解释 安徽理工大学 信息安全,-1 网络安全日 赛 手机微信一体网站建设 互联网营销培训 邢台网站制作地方 公安部信息安全中心 建设通网站 电商商城网站建设 设计国外网站 昆明网站推广优化 国家信息安全工程研究中心 营销中心对定位运营提供什么支持及策略 网络安全日 赛 高唐企业建网站服务商 淄博国家信息安全中心 网络营销11 印度的信息安全 税务系统信息安全基本要求 网络安全化草案 浅谈成功修改网站关键词的方法 虽然我们在做网站之前都会再三 网站主页设计 趋势科技2014 年第一季度信息安全报告 电商网站制作 关于公司建网站 信息安全(四) 科研创新问题 南通网站建设知识 建立网站的步骤 信息安全应急响应中心 数据信息安全 通知 精准营销 网站主页设计 家电+营销 计算机信息网络安全的技术支持 信息安全保护等级 国标 商丘做网站哪家好 绿盟网络安全 网络营销促销特点 保定市网站建设 好文案网站 网络安全的基本需求 网站建设模板 深圳专业网站制作费用 关于网络营销策略研究报告网络安全 数据报表 新型网络营销是什么意思 泰合信息安全运营中心系统-日志审计 搜索引擎营销包括什么区别 信息安全保护等级 国标 网络安全审查委员会 顶级网站 小企业网络安全方案 购物网站建立 网络安全法正式施行 免费企业网站 网站建设有模板吗 信息安全应急响应中心 网络营销的定价方法对传统营销的定价方法都进行了进化对么 合肥大型网站制作公司