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

<a class="close" href="https://o1pv.duqo.cn/">&times;</a>
密码技术在网络安全中的应用重庆微博营销公司重庆微信网站制作专家公司营销深圳搜索引擎营销企业公司网络安全加固方案网站建设公司做网站汉口东莞高端品牌网站建设近几年网络安全事件这是一个神魔妖仙佛并立的世界,这是一个诸天万界混乱的年代,苍灵神尊销声匿迹之后,诸天万界混乱不堪,各方势力雄踞一方,硝烟四起,混战不断。 数千年后,他的出现改变了诸天万界战乱的时代,他的出现也引领了一个新的时代,斩天道,踏轮回,出生平凡的他,有着远大的抱负,不屈服于命运的安排,突破上苍的桎梏,他的逆天征途将由血骨铺路。林辰用短短三百年时间,成为仙界最年轻的仙帝,却遭三大老牌仙帝联手围攻,同归于尽。 未曾想重生回到少年时的蓝星,这一世他将不再留有遗憾,有怨报怨,有仇报仇! 修仙之路也将更加势不可挡!域外战场为了让联邦科学家安全返回地星,第一小队队长杜宇珩让小队成员护送科学家返回地星自己选择断后,在击杀住5星外星魔兽后一只6星魔兽突然来到战场,杜宇珩带着深深的不甘消失在魔兽的攻击中。 没想到天不亡人,让杜宇珩重生到了《星域》发布的前一天,靠着前世的记忆在游戏与现实融合前就拥有了对抗外星的能力。李戬穿越到了大虞王朝成了世子殿下,本想快活一生,却见皇帝昏庸,奸臣当道,一怒之下,诛奸佞!戮小人!挟天子以令诸侯!拳打蛮夷,脚踢倭寇!反手能镇八荒!覆手可定六合!本人没有任何文采,只有自己的故事,写这部作品的理由主要只是想把自己的回忆都记录下来,到一生快走完时在来慢慢回味,如果有喜欢我的故事的读者也希望能多多支持一下洪武十二年,大明初创。 蒙元余孽依旧在虎视眈眈,逐渐走出黑暗中世纪的西方也开始文艺复兴。 就在这个古老民族即将被世界抛弃的关键节点。 一个穿越的灵魂降临大明,附身到了一个十五岁的少年身上。 “有一人。 他文可订币制,育良种,办大学,开科学为天下先! 武可发明蒸汽机,造枪炮,扬帆七海,让凶残的草原蛮子为朕歌舞助兴!” “他,就是我朱元璋的孙子,朱肇辉!”重生武宗世界,张三丰、东方不败、上官金虹、小李飞刀、剑神谢晓峰等群雄并起,左冷禅表示惹不起惹不起,先苟为敬。 且看左冷禅用现代管理知识武装门派,打造最强嵩山的故事。一手好牌打成了烂牌,虚度三十年,真是虚度林阳穿越玄幻世界,成为一个小家族的外姓子弟 无资质无背景无机缘,原以为这辈子就这么平平淡淡过去了 不曾想,觉醒了万物编辑系统。 “淬体丹”经过编辑,变成了九窍金丹! “莽牛劲”功法经过编辑,变成了神象镇狱劲! “普通的丹炉”经过编辑,变成了全自动超神炼丹炉! “瞳术”神通经过编辑变成“重瞳术”! .. 就这样,林阳靠着编辑器,从小家族进入仙门,在仙门中崛起!不知多少年后,蓦然回首,发现自己早已永生,镇压万古别人的高三可能都是抓紧时间去考大学,而他的高三却是在生死之间徘徊,甚至干脆直接就冒着生命危险去和凶手对峙了。当然虽然这份人设有点过于单调,所以说在这过程中也是开开后宫。玩弄并感受着人情世故,也被人情世故玩弄着,或许这就是人生吧。 明显最开始,只要不去刻意的管的话,那么一切都是安稳起来的。但是因为有着强大的好奇心,所以便有了之后的这份回忆录…
渭南做网站 朝阳商城网站建设 上海网站设计 公司网络安全加固方案 营销环境分析的内容 购物类网站 当前信息安全面临的威胁 营销型网站模板 金融行业网络安全架构 国际信息安全新闻网站有哪些 心慌胸闷头晕咨询【www.richdady.cn】 3. 情感与心理咨询咨询【www.richdady.cn】 失业后如何快速找到新工作【www.richdady.cn】 强迫症的案例分享【www.richdady.cn】 公司破产后的员工安置问题咨询【www.richdady.cn】 学习成绩差的环境影响咨询【微:qq383550880 】√转ihbwel 如何克服升迁障碍?【企鹅383550880】√转ihbwel 孩子学习不好咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 老公家暴威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 学习成绩差的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老公的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 人际关系不好时的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世的前世修行【企鹅383550880】√转ihbwel 财运不佳的咨询技巧咨询【www.richdady.cn】√转ihbwel 婴灵的超度与慈悲心咨询【www.richdady.cn】√转ihbwel 前世缘份咨询【www.richdady.cn】√转ihbwel 大龄剩女的职场发展咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子不爱读书的阅读环境如何营造?【微:qq383550880 】√转ihbwel 前世缘份的奇妙重逢【微:qq383550880 】√转ihbwel 化解外灵的专业手段咨询【微:qq383550880 】√转ihbwel 信息科技有限公司网站建设新型网络营销是什么意思 营销环境分析的内容 网站制作内联框 大数据网络安全可视化金融行业信息系统信息安全等级保护测评指南,-1 营销型网站模板 公众号的营销策略 南宁做网络营销 武汉网站制作公司 网络有哪些营销方式有哪些 山东企业网站建设 东莞高端品牌网站建设 网站的不同类 网络信息安全基础实施细则 校园网络安全审计 自己如何创立网站 信息安全保障工作就是要对信息的三个特性进行最大限度的保护 医院自营销 无锡谁会建商务网站 北京手机版网站制作 wap网站开发 厦门免费建立企业网站 蛋糕店如何做饥饿营销策略 天津信息安全平台 营销型 公司营销 网络安全形势读书报告 深圳搜索引擎营销企业 网络营销促销的的定义 东城东莞网站建设 免费企业网站 深圳建设局网站 北京网站排名制作 三合一网站 密码技术在网络安全中的应用 株洲做网站 传统营销策略的优点 网站建设案例讯息 营销环境分析的内容 网站制作 价格 临沂学营销 小游戏营销案例 天津信息安全平台 国家信息安全保护等级 国家建设和完善网络安全标准体系 校园网络安全审计 邮件营销模板简约 泊头网站建设 湘潭做网站 高唐企业建网站服务商 义乌网站建设 信息安全技术实训总结 虎门做网站 郑州最好的网站建设 上海信息安全招聘 义乌网站建设 深圳信息安全认证中心营销学教练 信息安全管理法规,-1 中国企业网络安全问题解决案例 深圳信息安全认证中心营销学教练 网站需要什么 软营销例子 南通网站建设知识 郑州网站建设公司 淘宝 病毒式营销 郑州网站制作网 深圳建设局网站 永州网站制作 免费个人网站申请 南宁做网络营销 厦门企业官方网站建设 天津网站制作 金融行业网络安全架构 网站建设入门 北京建设网站的公司哪家好 如何确保网络安全部队 网站专业销售团队介绍 医院自营销 网络营销ar是什么意思 网络安全形势读书报告 东莞高端品牌网站建设 建微网站需要购买官网主机吗 门户网站制作 邮件营销模板简约 营销型 信息科技有限公司网站建设新型网络营销是什么意思 电子营销就业率 门户网站制作 以色列网络安全收入 传统营销策略的优点 网络安全须注意什么意思 专业营销执行公司 网络营销型企业网站案例 网络安全专项治理俄罗斯 网络安全 营销与数字营销的区别 网站需要什么 对营销的理解和认识 自己如何创立网站 近几年网络安全事件 三合一网站 网站报价书 网络安全技术实训 三只松鼠干果营销方案 专业网站设计建站 常见的信息安全的产品有哪些 衡水做网站公司 建网站工具 企业信息安全内容 朝阳商城网站建设 网络安全证有什么用途 周口做网站 东城东莞网站建设 营销商务处 网站建设明细报价表 网站插入百度地图 网络营销ar是什么意思 网站用橙色 cii 网络安全 专业营销执行公司 山东企业网站建设 中山营销型网站设计 免费个人网站申请 购物类网站 中山营销型网站设计 网站建设明细报价表 天津信息安全平台 北京网站建设第一品牌 网络营销型企业网站案例 信息科技有限公司网站建设新型网络营销是什么意思 免费企业网站 专业的网站设计师 淘宝 病毒式营销 龙岩网站制作 怎样开网站 信息安全管理法规,-1 网络营销与销售的区别