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

<a class="close" href="https://ms9.xope.cn/">&times;</a>
建个普通网站第五届网络安全会议第五届网络安全会议网站更新后为什么不显示网站兼容网站的优点建设公司网站的重要意义山东网络安全大赛网络发展对营销的影响研究专业开发网站公司本文根据民间传说以及部分地方史志创作完成,从一个一个小小的侧面,为读者展现围绕鞶镇这片北方的土地上,人们生生不息,千年来上演的一幕幕世事人伦、爱恨情仇及家国情怀。本文由一些相对独立的故事组成,虽有关联但不紧凑。首先,从一个人物说起……在历经无数生死之后,那最终迎来的一切只是开始,历史似乎一直在轮回中。在这个世界,有一片大陆名叫普光大陆。 天地间充斥着命之气,每个生物都会觉醒命纹,命纹,是每个生物的强大的基础。 少年巧遇机缘,首次觉醒前所未有的三属性先天灵智命纹!肩负命之兽口中相言的“救世主”之责任。 与命纹配合,共创强大命技;闯重装之谷,打造出成长形神兵。 ...... 何虑万世,我终当隆逢,吾辈同体,我辈同源,自有异理,故吾终当一战,此亦吾身为宿命。 双子临世,自命初之源;续报重求,为如初!一个惊世绝学却蕴含着震惊三界的秘密,一个修炼倍感困难的神秘属性却意外的强大,不同职业的历练让陈洛心性成熟,修为高深,对揭开这神秘绝学背后的秘密创造了一丝本钱。 家庭的巨大变故,让陈落踏上了真正的修仙之路,从青灵学院到天书学府,让陈洛从一个落魄少爷变成独当一面的修真者。在风云大陆、传奇大陆和魔幻大陆之间辗转,他报血海深仇,收获宝器,解救母亲,种种经历,让陈落成为智慧与实力并存的强者。 无意间,他踏上了修仙世界的征途,在悬空大陆、荒域、魔域的闯荡,让他修为快速提升,成为解开惊天秘密,维护人间界和修仙界稳定的关键人物。 在陈洛无尽的漫漫征程中,总有两个绝色女子如影随形,陈洛没有承诺她们什么,她们却心甘情愿伴随陈洛左右,生死相依!开局绑定英雄联盟,升级全靠打野刘飞的吊丝之路曾经半步主宰界的叶尘却在渡劫期间不料被四大玄门合伙暗算了,获得重生后,得知仇人早已灭亡,而叶尘会做出怎样的决定......茫茫天地,亘古永存,所有生灵,不断轮回,无限延续。 忽有一日,天地变,三界崩,阴阳转,轮回断,从此世间再无轮回,直至天地毁灭.....这个世上有鬼吗? 真的有,而且有很多。 我叫徐艺,在我十八岁那年,我猛然发现了这个世界的真相。 在乱世之中,李泽的天赋与才干展现得淋漓尽致。可兰萱始终是他心中的痛。
中国网络与信息安全 大连模板网站制作公司电话 高端汽车网站建设 德州网站推广 郑州微网站建设 网络和信息安全专业 潜江网站建设 信息安全相关的公众号 解放军信息安全方案网络营销的出发点 第五届网络安全会议 前世今生的轮回理论咨询【www.richdady.cn】 婚姻生活不顺的前世因果【www.richdady.cn】 化解婴灵的最佳时间咨询【www.richdady.cn】 冤亲债主干扰对生活有哪些影响?咨询【www.richdady.cn】 内心恐惧胆怯的心理调适咨询【www.richdady.cn】 前世缘份的再次相遇【微:qq383550880 】√转ihbwel 自闭症的环境影响【微:qq383550880 】√转ihbwel 如何超度婴灵?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世的记忆解析【微:qq383550880 】√转ihbwel 冤亲债主干扰的前世记忆咨询【微:qq383550880 】√转ihbwel 前世今生的神秘故事【σσЗ8З55О88О√转ihbwel 与女友前世的故事分析咨询【微:qq383550880 】√转ihbwel 冤亲债主的干扰案例威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 头脑混沌的前世记忆【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 事业不顺的职场调整有哪些方法?咨询【企鹅383550880】√转ihbwel 事业不顺的原因有哪些?咨询【微:qq383550880 】√转ihbwel 发育倒退的医学检查咨询【σσЗ8З55О88О√转ihbwel 存不住钱的理财建议【企鹅383550880】√转ihbwel 前世缘份的前世案例咨询【σσЗ8З55О88О√转ihbwel 婚姻生活不顺的解决方法咨询【www.richdady.cn】√转ihbwel 教育网站设计 网络安全代理商 建个普通网站 网站规划分析的好处 深圳全网营销 网络安全企业50强2017 厦门网站设计 信息安全的产品? 分析企业网络营销环境分析 代制作网站 徐州网站制作 广州外贸网站建设 延安网站建设公司电话 营销成交关键词 如何用网络营销找工作 网站兼容 德州网站推广 临沂网站 赣州做网站 重庆网络营销顾问公司 网络安全服务的基本功能 饥饿营销成功案例分析 omg网络安全团队是什么 传统营销营销渠道 牡丹江网站建设 免费做外贸网站 网站的优点 网络安全检测的主要内容有哪些 网络安全面临的威胁 ppt 徐州网站制作 厦门网站设计 门户网站建设注意事项 网络安全与信息安全的关系 金融机构网络安全保护 信息网络安全学院 建网站代码 篇高端网站愿建设 重庆网站建设优化 网络和信息安全专业 网络安全代理商 营销成交关键词 国家网络安全日 整合营销方案是什么 代制作网站 聊城做网站建设的公司 如何监管网络安全 网站建设合同 河北公司网站制作设计 网站 模板 上海信息安全专业 建设公司网站的重要意义 广告营销技术sem 贵阳专业性网站制作 网络安全什么培训好 知名信息安全公司 网站 手机案例 饥饿营销成功案例分析 深圳全网营销 国家网络安全日 营销型网站制作 网络安全与信息安全的关系 临沂网站 湖南网站建设 建设公司网站的重要意义 电商营销教学 网站推广策略 全国网络安全等级保护测评机构推荐目录微信公众号营销优缺点 软文营销最常用的方式 内容整合营销机构 广州外贸网站建设 郑州网站建站 营销型网站的建设 软文营销最常用的方式 网站设计深圳 网站兼容 潜江网站建设 网站设计深圳 网络安全企业50强2017 深圳全网营销 无锡制作网站 阿里巴巴网络安全总监 赣州做网站 网站更新后为什么不显示 网络信息安全相关专业,-1信息安全基础意识测评 怎么用域名建网站 上海网络安全 全网营销服务专家 网络安全面临的威胁 ppt 信息安全相关的公众号 网站定制 天津 中国信息安全大赛 中国信息安全测评中心官网 徐州网站制作 长沙建网站 网站有哪些分类 网站的主题 传统营销营销渠道 厦门网站设计 网络安全 职位 延安网站建设公司电话 企业网站建设技 重庆网络营销顾问公司 门户网站建设注意事项 网络安全法 漏洞 东软网络安全 待遇 网络和信息安全专业 网络安全什么培训好 怎样创建旅游网站 网络安全法 电信诈骗 金融机构网络安全保护 聊城做网站建设的公司 网络发展对营销的影响研究 代制作网站 海尔公司营销组合策略 手机网站案例 上海网站建设在哪 营销方案. 网络营销不包括哪些 网络安全的概述 网站设计 广西 湖南网站建设 福州外网站建设 网站的优点 网站制作 深圳信科网络 贵阳开发网站建设 汉中做网站 网络安全研究趋势 成都网站推广公司 郑州网站建站 响应式网站模版熟悉b2b站点的业务流程 2掌握在b2b站点营销的方法和技巧 延安网站建设公司电话 中国信息安全管理研究 外贸网站建设 关于网络安全的文献 上海网站建设在哪 企业网络与信息安全管理组织架构 案例营销 网站建设合同 中央企业信息安全 网站推广策略 网站建设合同 延安网站建设公司电话 网站 模板 网站设计公司 无锡 金融机构网络安全保护 信息安全哈工大威海 什么是外贸营销体系 omg网络安全团队是什么 网络营销建立在 网站的排版 信息安全和网络安全的区别 外贸网站建设 如何做 第五届网络安全会议 上海交通大学教授谈网络安全 建个普通网站 电子商务的信息技术网络安全 网络安全历史 2016信息与网络安全国际会议 网络安全检测的主要内容有哪些 内容整合营销机构 重庆网站建设优化 提升网络安全管理水平 网站制作青岛 网站创造 中国网络与信息安全 案例营销 omg网络安全团队是什么 公司产品网络营销方案 广州外贸网站建设 网站建设服务商 网站设计 广西 山东网络安全大赛 网站建设服务商 网站访问者 怎么用域名建网站 本地佛山顺德网站建设 免费做外贸网站 营销型网站的建设 营销qq有qq空间 2017网络安全对抗赛 营销邮件免费模板 企业网站建站意义 徐州网站制作 网络安全历史 以网络安全类命题 网络推广整合营销 国家计算机网络与信息安全管理办公室 建国外网站 全国网络安全等级保护测评机构推荐目录微信公众号营销优缺点 河北公司网站制作设计 网站规划分析的好处 网站维护 网站制作 深圳信科网络 网站建设广告 大连模板网站制作公司电话 镇江企业网站建设 响应式网站模版熟悉b2b站点的业务流程 2掌握在b2b站点营销的方法和技巧 聊城做网站建设的公司 海尔公司营销组合策略 网站设计验收 做网站创意 互联网 网站建设有关网络安全的文章 青岛高端网站开发公司 全国网络安全镜赛 网站更新后为什么不显示 大连模板网站制作公司电话 网路营销微观环境 上海信息安全专业 建网站代码 营销成交关键词 网站怎么维护 分析企业网络营销环境分析 武汉个人做网站 网络与信息安全会议,-1 支付宝营销策划案例 中央企业信息安全 新媒体营销效果 网络安全服务的基本功能 如何成为网络营销师 重庆网站建设优化 专业开发网站公司 教育网站设计 互联网 网站建设有关网络安全的文章 外贸网站建设 牡丹江网站建设 中国网络与信息安全 网站营销公司简介 东软网络安全 待遇 网站维护 做网站创意 信息安全哈工大威海 太原网站推广 关于网络安全的文献 网络安全研究趋势 网站 手机案例 制作一个网站步骤排版 网络和信息安全专业 网站营销公司简介 电子商务的信息技术网络安全 重庆网络营销顾问公司 代制作网站 海尔公司营销组合策略 手机网站案例 上海网站建设在哪 营销方案. 网络营销不包括哪些 网络安全的概述 网站设计 广西 如何监管网络安全 全网营销服务专家 济南外贸网站建设公司 图文并茂计算机信息安全 全网营销服务专家 网络安全法 电信诈骗 饥饿营销成功案例分析 2017网络安全对抗赛 网络安全方面的职业 潜江网站建设 高端汽车网站建设 阿里巴巴网络安全总监 网站有哪些分类 网站建设金 电商营销教学 贵阳专业性网站制作 网站访问者 汉中做网站 网站的主题 网络安全什么培训好 门户网站建设注意事项 青岛高端网站开发公司 软文营销最常用的方式 高端汽车网站建设 信息安全的产品? 中国信息安全测评中心官网 社会媒体营销的方法 临沂网站 网站定制 天津 如何监管网络安全 网络安全法律服务 如何用网络营销找工作 临沂网站 郑州微网站建设 赣州做网站 上海信息安全专业 郑州微网站建设 中国信息安全大赛 信息安全相关的公众号 分析企业网络营销环境分析 营销邮件免费模板 怎样创建旅游网站 佛山网站设计资讯 网络安全企业50强2017 信息安全 2017 青岛外贸网站建站公司 传统营销营销渠道 武汉个人做网站 全国网络安全等级保护测评机构推荐目录微信公众号营销优缺点 百草味市场营销战略 成都网站推广公司 饥饿营销成功案例分析 腾讯营销q 提升网络安全管理水平 东软网络安全 待遇 e春秋网络安全实验室 网站兼容 网路营销微观环境 网站设计验收 长沙建网站 福州外网站建设 建设公司网站的重要意义 山东网络安全大赛 优秀企业网站 长沙建网站 个人主页网站模板 贵阳专业性网站制作 重庆网络营销顾问公司 个人主页网站模板 篇高端网站愿建设 什么是外贸营销体系 德州网站推广 中国信息安全大赛 企业网站建站意义 信息安全和网络安全的区别 金融机构网络安全保护 昆明做网站哪家好 无锡制作网站 建个普通网站 济南外贸网站建设公司 网络安全 职位 整合营销方案是什么 网络安全检测的主要内容有哪些 信息安全相关的公众号 营销成交关键词 网络安全面临的威胁 ppt 网站制作青岛 网络推广整合营销 企业网站建站意义 电子商务的信息技术网络安全 太原网站推广 汉中做网站 上海交通大学教授谈网络安全 外贸网站建设 金融机构网络安全保护 网站建设广告 手机网站案例 网站创造 武汉个人做网站 关于网络安全的文献 知名信息安全公司 太原网站推广