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

<a class="close" href="https://xe6.duqo.cn/">&times;</a>
福田网站建设群营销方案成都市公安局网络安全自助网站建设网络营销自学好学吗东城网站设计学信息安全 电脑运城做网站四川互联网营销公司信息安全保障协议书 系统美国网络安全架构李乘风悲催的被破了九世纯阳,誓要重回仙界,找到她弄个清楚明白,拥有万年感悟、帝尊心境,实力飞升如梭,李乘风不是天才,他只杀所谓的天才!世界树开始复苏,天地即将重新连接,神族即将降临人间,是阻止还是帮助,是弑神还是共存,有正就有邪,有神就有魔,一个新的变化就会引起一连串的其他变化,人族该如何抉择,易行又该如何抉择,这一切似乎都早有定数。科技为刀有两面, 毁灭、创生一念间。 恶人持刀则为恶, 善人持刀则为善。 科技笼罩下的欲望狂野生长。 黑暗来临,动荡将起! 在这个天色已晚天未亮的世界中, 必然有人提刀换天明! 而在黑暗笼罩下的林清也将会成为其中的一员……重生之路不平坦,上辈子的遗憾太多,这辈子让我们重新出发,从2002开始,一手拥抱财富一手拥抱感情刘阳重生到平行世界,惊奇发现回到了08年老特拉福德的球场。 就在这个时候,自己所在的红魔正遭受维冈队有史以来最顽强地阻击。 对方后卫更是用恶意飞铲划伤了我方前锋。 维冈主教练气焰嚣张地在佛爵爷面前叫嚣。 “拥有巨星C罗和鲁尼又怎么样!被女王加封爵士又怎么样,还不是没办法!” 面对越来越近的比赛时间! 佛格森果断下令,换上刘阳。 刘阳不负众望,开启球王编辑器。 “完美的人球分过!三秒精准绝杀!” “我要裂开了,这是马拉多纳版本的彩虹过人吗?!” 一粒粒进球不断摧毁对手的心理防线! 从此红魔所向披靡!直指三冠王! 佛格森习惯性嚼了嚼口香糖:“夏国是一个人杰辈出的地方,刘阳必然也会成为一名闪耀的新星!” 温格教授震惊道:“怎么会?维冈十一人的铁桶方阵都换不来一个平局,那个刘阳是谁,快给我查!”“大姐你何必为难一个道士啊”楚相一边跑着,一边大声喊。后面紧追着两只猫,一黑一白,神似那黑白双煞。 楚相被赶入了一个废弃仓库,两只猫跳上房梁,在上面端坐着。黑猫闭目凝神,没了动静。白猫则瞪大眼,死死盯着他。穿越大明,成了木匠皇帝的弟弟,大明信王朱由检。 上一世太累,这一世就想混吃等死,逍遥自在。 可是大明朝日薄西山,要想享乐就要先拯救大明朝,要想拯救大明朝就不能好好享乐,朱由检表示麻了。 于是木匠皇帝成了科学狂人,魏忠贤成了忠实的狗腿子,吴三桂成了专业打手……当代毕业大学生在床上睡觉,窗外天雷滚滚,魂穿到一个充满元素的修真世界,修雷法,对强敌,结好友,泡妹子,揭开一个世界的隐秘,究竟是大梦一场,还是真实存在。 在遥远的玄云大陆,一位被父母抛弃的孩子,被迫成为萧家的奴隶,而他为了活下去,在萧家的禁地偷学了萧家的秘法:鬼龙爪,他将要在这片大陆走出自己的天地………后金铁骑灭宋,历史拐弯进入刘氏文朝。文昭帝五十二年,内忧外患,左相专权当道,宗室萧墙。腐朽将倾,灭国亡种露端倪。 懦弱书呆子杨继业在荆蛮楚地意外转性,文武并行,带领蛮族军一路前行。破山贼、剿倭寇、东控海贸、北撼蒙匈;内权肃奸、强兵兴武,皇权进村,国富民安,成就权相伟业,华夏一族登临世界之巅。 架空历史+商战+官场+战争+崛起
网络营销能力秀做什么 网络安全与文明 鸡西网站建设 云计算信息安全管理平台 网络安全等级测评机构 房地产网站建设解决方案 中山企业网站建设公司 四川互联网营销公司 福田网站建设 网络营销产生的基础有 孩子厌学咨询【www.richdady.cn】 失业的咨询技巧【www.richdady.cn】 婴灵的超度与心理安慰咨询【www.richdady.cn】 财运不佳的财富管理【www.richdady.cn】 去世的母亲的前世记忆咨询【www.richdady.cn】 发育倒退的医学检查咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 官司的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 为什么过世的前世解析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 自闭症的自我提升【σσЗ8З55О88О√转ihbwel 前世缘份的前世因果【企鹅383550880】√转ihbwel 意外的前世修行咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的再次相遇咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主的干扰与超度咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子抑郁症的康复训练咨询【www.richdady.cn】√转ihbwel 升迁障碍的自我提升咨询【企鹅383550880】√转ihbwel 长期头脑混沌可能是哪些疾病的前兆咨询【www.richdady.cn】√转ihbwel 家庭关系的咨询技巧咨询【微:qq383550880 】√转ihbwel 灵魂化解的重要性咨询【微:qq383550880 】√转ihbwel 与男友前世的影响分析【微:qq383550880 】√转ihbwel 腾讯营销案例 自助建网站 简述网络安全的目标 公共无线网络安全 企业做网站天津 武汉营销型网站 中国信息安全 事例 熟悉b2b站点的业务流程 2掌握在b2b站点营销的方法和技巧 网站类型分类 网络安全等级测评机构 战略性网络营销策划书 重庆新闻营销服务 鸡西网站建设 天津 网站设计公司互联网营销平台选择 360网络安全实验室 淘宝护肤品的营销策略 东城网站设计 网络安全行业前景2016 网络安全产业联盟章程 医疗网络营销 2016年429网络安全 发改委信息安全专项 2014 大连网络营销策划公司电话 整合营销包含哪些方面 网络营销师 达内 网站主色调 傻瓜式网络安全套装有哪些 福田网站建设 网络安全时代 全国专业信息安全服务资质公司,-1 如何保障企业信息安全 网络安全管理平台 计算机网络 网络安全 信息安全保障中心 高端的平面设计网站 信息安全历史 单页网站 怎样做网站 公安部网络安全研发 松岗建网站 北京企业营销策划公司 公安部网络安全研发 云计算信息安全管理平台 学信息安全 电脑 第三方平台的问答营销 运城做网站 房地产网站建设解决方案 11月CISM信息安全考试成绩查询东营市报名系统网站设计公司 信息安全&quot;中的&quot;信息&quot;是指,-1 如何学营销 网络安全犯罪处罚 伊春网站建设 商城网站建设 信息安全部门 网络营销方法有几种 网站建设策划书ol 青岛哪里可以建网站 过度的饥饿营销 酒店网络营销方案样版 网络安全工作小组 战略性网络营销策划书 营销系统手机多少钱 搜索引擎营销的运作模式 网站建设未来发展前景 网络安全监测技术手段 全国专业信息安全服务资质公司,-1 昆明网站建设多少钱 实名营销 网站建设教程 企业邮箱 网络安全监测技术手段 网络安全科办公室 网络安全监管技术 网站界面 网络安全科办公室 小米内容营销分析报告 鸡西网站建设 有经验的佛山网站设计 商城网站建设 怎样开展内容营销 西宁网站维护 网路营销和网络推广 网络营销能力秀做什么 群营销方案 医疗网络营销 网络社区营销 重庆微信的营销方案 威海网站推广 网络营销产生的基础有 哈尔滨网站建设市场 优秀企业网站欣赏 企业做网站天津 网络安全竞赛xctf 计算机网络 网络安全 网络安全测评培训教程 中山企业网站建设公司 四川网站设计 国家信息化领导小组关于加强信息安全保障工作的意见,-1 东莞全网营销网络推广方案 显示屏宣传网络安全 专业的网络营销培训 信息安全历史 国家信息化领导小组关于加强信息安全保障工作的意见,-1 推一把网络营销怎么样 信息安全 日志管理软件 2016网络安全大事件 大数据 网络信息安全 杰森影像网站建设 威海网站推广 腾讯营销案例 小米内容营销分析报告 中国网络安全企业排名 微营销企业 柯力士信息安全怎么样 网站制作推广 重庆微信的营销方案 网络安全专家英文 网站重建 网站设计公司北京 信息安全保障协议书 系统美国网络安全架构 设计好的网站 视觉营销就是网络营销 网络安全知识考试 法国网络信息安全 重庆知名网络营销公司 广州网站优化公司 网红网站建设 中国信息安全大会 如何创网站 营销 作用网络营销低价定价策略 信息安全保障中心 深圳信息安全公司 世界信息安全技术公司排名 大数据 网络信息安全 网络营销师 达内 高端的平面设计网站