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

<a class="close" href="https://oe88.hehu.net.cn/">&times;</a>
大安市网站深圳公司做网站2014中国信息安全报告信息安全等级的分类专业网站优化制作公司法国网络安全立场电子信息安全嵊州网站网站策划书广州网站制本文讲述了主人公李俊杰从小被保姆刘细香拐走后,历经种种人生磨难后长大成人并最终与父母相认的故事,向读者展示了生命的顽强。十三呼吸急促起来,他站在原地心神恍惚,手里紧紧握着骨锤,眼中瞳孔地震。 这些感染者居然绕过了他,甚至在他主动去挡住道路的时候,还会自觉让开,换个方向绕过去。 “这他妈的……到底是怎么回事!” 此情此景,答案呼之欲出——这些感染者,分明就是把他当成了同类!他来自山莽,靠着旷世奇方,开诊所、办医院、建药厂,规模渐成,却仁心善举如初,名声日隆。不料,却遭奸商出手,恶意中伤,发起医界对垒,他奋起迎战......无上大地破晓陨落他重生到圣后国毫无修为的圣女小姐身上後会发生什麽? 毫无修为的圣女小姐皇权被架空。意外开启圣女系统。 什么我重生竟然变成女的。幸好我有系统。 系统说别得意本系统是不会帮助你的,你还得靠你自己。 坑啊!变成女的就算了给个只能看不能用的系统。那我要你这系统何用。 系统:呵呵只是我觉得你不配拥有本系统。 滚你丫的系统。 就算没有功法没有修为又如何。我定要逆他这个破天。 没有任何金手指在这个以武为尊的世界,何去何从? 且看废物圣女如何震撼天下,开辟出一条逆天之路。 太初大陆,强者为尊。 草根出身的天才少年被情人背叛,惨遭杀害,却意外开启了仙帝传承。 从此,丹方、秘法应有尽有,天骄、强者无须畏惧! 练最高深的仙家道法; 去最危险的遗迹寻宝; 泡最优秀的绝色美人! 一路高歌猛进,所向无敌,感悟混沌法则,问鼎仙魔两界!...在科技日益发达今天 游戏已经不单只是游戏了 而是被赋予了很多意义,它是社交 较量 是年轻人之间独特的沟通的桥梁 随着这些网络游戏的潮流,同时也出现一种新型的学校类别 俗称“电竞学院” 张子凡是一个视游戏如命的高三落榜的学生 高考失败后就一直宅在家 一天他接到了来自K市百耀电子竞技学院的招生简章,在父母的极度反对之下来到了 电竞学院 。 被嘲笑又如何? 总有一天 我会让你们刮目相看 我要证明你才是错的! 因为在这里 有许多和他一样怀揣着相同梦想的人一起同行! 虽然经历过不少的失败,但是他并没有退缩 而是不畏惧失败 勇往直前 最后他终于站在了CFPL的职业赛场上! 实现了自己目标 也寻得了良人归!!! 乱世争霸,在混乱之中崛起,十大王体出世,是龙是蛇,尽在诸天【模拟人生+三国故事+兄弟情义+人情世故+地盘争霸+轻松爽文,你想看的我这儿都有!】 重生三国成为刘封,获得模拟系统,内有义父刘备处心积虑要找借口弄死他给亲儿子刘禅腾地方,外有曹魏东吴等敌对势力虎视眈眈,且看刘封如何通过一次次模拟失败人生吸取经验,然后在现实中逆风翻盘,成为再兴大汉的英武帝王……小人物阿云,痛并快乐的人生历程,学校生活的是是非非……
信息安全与it审计关系 营销公司 上海 网络安全方案建议 广州网络安全平台登录 广州网络安全平台登录 深圳最好网络营销课程 python信息安全 中国网络安全攻防大赛 cisp信息安全专家认证 中国网络安全攻防大赛 有官司的解决方法【www.richdady.cn】 老公家暴的自我保护咨询【www.richdady.cn】 什么原因意外的前世缘分【www.richdady.cn】 如何提高孩子的阅读兴趣?咨询【www.richdady.cn】 莫名其妙感伤的情感释放【www.richdady.cn】 心慌胸闷头晕的咨询技巧【www.richdady.cn】√转ihbwel 亲子关系的前世记忆咨询【微:qq383550880 】√转ihbwel 财运不佳的自我提升【www.richdady.cn】√转ihbwel 内心恐惧胆怯咨询【σσЗ8З55О88О√转ihbwel 孩子厌学的咨询技巧【微:qq383550880 】√转ihbwel 无形干扰的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 特殊学校的教学方法【www.richdady.cn】√转ihbwel 大龄剩女的情感生活如何改善?咨询【www.richdady.cn】√转ihbwel 亲子关系的共同成长咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主的化解方法【www.richdady.cn】√转ihbwel 灵魂化解的重要性【σσЗ8З55О88О√转ihbwel 前世缘份的前世缘分【企鹅383550880】√转ihbwel 前世缘份的改命技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 官司的心理调适威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 耳鸣的前世因果【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 信息安全技术 等级考试 网店营销所带来的意义 南通网站建设 快消品网络营销方式 信息安全网络攻防就业 信息安全等级怎么划分,-1 工作+信息安全 网站职能 网络信息安全范畴 企业全网营销 论述我国信息安全管理现状 网络安全 期刊 济南做网站公司 网络安全法官网 江苏信息安全网 中国重大信息安全事件 长沙网站设计报价 支付宝全网营销软件 网店营销所带来的意义 网络营销学科论文 网站策划书 北京航空航天大学信息安全中心 广州网络安全平台登录 国家网络与信息安全通报机制 网络营销服务外包 企业全网营销 论述我国信息安全管理现状 网络安全 期刊 济南做网站公司 网络安全法官网 17做网站广州 快消品网络营销方式 江门网站设计 论述我国信息安全管理现状 网络营销计划 案例分析 大安市网站 什么是网络营销员 网络安全监测预警平台 长沙网站设计报价 网络营销思路 中国网络安全攻防大赛 永恒之蓝 网络安全 电子商务网络营销方向 化妆品网络营销 营销策略价格策略 网络营销的最新特点 商城网站主要功能 网络安全审计读后感 房地产全程网络营销系统对房产公司的营销推广有什么帮助? 济南做网站公司 信息安全技术 等级考试 查流量网站 开县网站建设信息安全原则 中型网站 网站要素 传统营销的理论基础 电商营销课程培训 信息安全技术 等级考试 信息安全等级策略,-1 国家信息安全局 成都网络安全技术公司 678营销系统账号 网络营销活动策划案例 信息安全等级的分类 营销优势和劣势分析 建手机网站一年费用 杭州市网络安全研究所邮箱 湖南长沙网站制作 微信支付 网站建设 公司建设网站重要性关于网络安全基础知识 海淀网站设计公司 沈阳做网站公司 国家网络与信息安全通报机制 网络营销学科论文 搜索引擎营销的阶段 开县网站建设信息安全原则 重庆南昌网站建设 网站建设公司联系方式 江阴网站建设 信息安全等级怎么划分,-1 济南做网站公司 企业品牌类网站 网络安全法官网 网络安全监测预警平台 景安建网站 应用第六章中所讲的网络营销工具之一对该书进行网络营销推广 自助建手机网站免费 长沙网站设计报价 国家信息安全技术研究中心,-1 网络安全法官网 上海 互联网营销 长沙做营销型网站公司 免费个人网站制作个人网站建设制作 免费个人网站制作个人网站建设制作 信息安全网络攻防就业 网络营销计划 案例分析 专线可以做网站 南平网站建设 常用的信息安全防护方法 《网络安全法》自查网络安全课程 重庆网站推广 社会化网络营销类型 网络安全方案建议 福州外贸网站建设 网络营销的具体形式有哪些内容 国家网络与信息安全通报机制 长沙微信网站公司整合营销一站式服务 景安建网站 商城网站主要功能 17做网站广州 营销合理性 营销公司 上海 企业品牌类网站 python信息安全 湖南长沙网站制作 信息安全测评机构的资质认定主要有 企业网站管理系统 网站建设的 网络安全 标准 网站策划书 网络安全小组成员组成 信息安全审计 市场发展 广州网站制 支付宝全网营销软件 网络安全基础的关键操作 网络安全基础的关键操作 E校园营销推广方案 企业标准型手机网站 江门网站设计 江苏信息安全网 中国主要网络安全公司 信息安全等级保护 费用 北京网站制作排名 网站制作旅行社 传统营销的理论基础