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

<a class="close" href="https://qrc.550022.cn/">&times;</a>
网络安全重大案件中国的网络信息安全网络安全 dmz网络营销的基础理论佛山网站设计代理商杭州g20峰会网络安全网络安全 政府2013网络安全大会中国亚马逊营销的特点网站界面设计需要作为穿越的宅男,他宅心仁厚,只想独自修炼,奈何亲情,友情,爱情......虽然他总想避世,却总是卷入滚滚红尘,去面对江湖的纷纷扰扰。要么懦弱的死去,要么坚强的活下去,他不是怕事,只是喜欢低调,风雨欲来,那就不断的变强吧... 虽然文笔很烂,我会继续写下去的,那是我心中的仙侠梦........异界的国度妖魔苏醒,那里即将面临生死劫难,轩辕庄就是摆脱生死劫难的寄托。轩辕庄自己在非凡经历得以砥砺成长。  李乘风穿越到一个妖魔横行的世界,成为青城山的一个守山人。   奈何他没有灵根无法修炼,只能安安分分做一个普通人。   但是有一天,他的系统突然变异了,从此成了一个令一众妖魔闻风丧胆的得道高人……   这妖怪也太弱了,我都没有出剑呢,怎么就死了。   我养的一条狗,居然是横扫妖界的一方妖王。   我池塘里的乌龟,竟然蜕变成了洪荒神兽。   之前跟我下棋的老头子,最后竟然成仙了。   还有那个最喜欢听他吟诗作对的漂亮姐姐居然修仙界第?仙?。   知道这些真相之后,李乘风开始怀疑人生:   我该不会真成为绝世高手了吧? 来到历史世界的叶南风,发现和自己想的不太一样。 万道皆修,妖魔横行。 没办法,先苟着吧。 竟意外绑定【儒道成神】系统。 “叮!您创作一首绝品诗,儒道修为+3年。” “叮!您创作一篇绝品词,奖励《天机宝术》。” “叮!您创作一本小说,奖励儒道至宝一件。” 本想一路苟到最强者的叶南风,偏偏被娘子安排科举,还不小心中了状元。 那日。 女帝登基。 叶南风看着女帝错愕不已。 “这不是我家娘子吗?”一场空难让母胎 SOLO 30年的主人公常威带着遗憾不甘离开了现实世界,离开也并非结束.... 狂妄野心家,欲在地球上称霸挑起世界大战,银河系几个有人类的星球统治者,贪婪地球美,虎视眈眈要占领,刮起战争风云。奇异事件层出不穷,形形色色的怪异人物,扑朔迷离的各种阴谋频频出现。璀璨星空风云变幻,弄得地球千疮百孔,银河系文明一片混乱。 天降大任绝代双雄,千锤百炼成“圣”,抗起正义的大旗,战胜邪恶,重新建立了银河系文明。 包子因为阴差阳错穿越到了迷你世界一个传承了千年的家族所隐藏的秘密... 祖上传下来的文字给我带来了天大的麻烦,一次次生死抉择,一次次死里逃生,每一次都将谜底指向一扇门。 千年前要拼命隐藏,千年后疯狂寻找,一切的答案都是门的后面..........从学生到农民再到医生,阅尽世间酸甜悲苦。 不是医学世家,没有高学历。治病救人,战瘟疫救苍生凭的是永不言败的坚定信念,誓愿普救含灵之苦的悯世之心。 一部伤寒论,半部移身幻形分筋错骨术,演绎出一幕幕世间善恶人生,一曲曲俊男靓女爱情纠葛,一段段上下求索风雨人生路。 菩萨低眉,所以慈悲六道! 撒旦低头,所以血流成河! 以撒旦之名,专职杀戮,他要当最强的那个男人! 最燃的都市,且看一个男人如何成就霸业,成为傲立巅峰的一代传奇!   【七少出品,铁血霸气】 撒旦军团群:198247503
信息安全的比赛 网络营销目标市场案例 装饰公司做网络营销 石家庄做网站建设的公司哪家好 信息安全比赛题库 网站内容更新 营销性软文 公司网站的制作公司 电子营销 装饰公司做网络营销 官司的解决方法咨询【www.richdady.cn】 如何了解自己的前世今生?咨询【www.richdady.cn】 家庭关系的心理调适方法有哪些?【www.richdady.cn】 存不住钱的财务规划咨询【www.richdady.cn】 无形干扰如何影响心理健康【www.richdady.cn】 暗恋的自我提升【σσЗ8З55О88О√转ihbwel 强迫症的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 升迁障碍的职场突破咨询【微:qq383550880 】√转ihbwel 亲子关系的家庭氛围威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的婚恋现状咨询【企鹅383550880】√转ihbwel 突然过世的原因有哪些【企鹅383550880】√转ihbwel 邪灵对人的危害咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心慌胸闷头晕【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 人际关系不好的咨询技巧【微:qq383550880 】√转ihbwel 儿子不读书的环境影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的前世修行咨询【σσЗ8З55О88О√转ihbwel 什么原因意外的原因分析咨询【www.richdady.cn】√转ihbwel 婚姻生活不顺【σσЗ8З55О88О√转ihbwel 外灵干扰的环境影响咨询【微:qq383550880 】√转ihbwel 升迁障碍的职场策略有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 什么是病毒营销? 太原免费网站建设 网络营销项目管理策划方案 提供网站建设的公司 查看网络安全日志 2014年网络安全形势 机电营销软件 中国信息安全测评中心 漏洞 定义 北京企业网站案例 首都网络安全日完整日程看这里网络安全培训教程 被黑的网站 信息安全工程师注册 营销服务商 网络营销服务包括 唐山网站建设哪家专业 网络安全法多少条 广东信息安全公司 网络安全分析 安庆网站制作 上海营销推广公司 网站可信 网站的尺寸 中国信息安全测评中心 漏洞 定义 朔州市网站建设 商业网站有哪些 机电营销软件 学校网站制作 新微博营销 请问如何对以上传的网站进行内容的维护需要注意哪些事项? 营销性软文 企业网站的营销职能 锦州网站建设 郑州上市企业网站建设 全网营销系统 深圳 口碑营销和眼球营销 sem整合营销工具 京东网络营销手段 长沙o2o网站制作公司 2014年网络安全形势 杭州网站制作外包 网络安全法多少条 免费申请网站 超炫的网站 网络安全法 网站 sem整合营销工具 网络营销策略术语 seo 网站 制作 微博营销有哪些内容 公司网站的制作公司 学网络安全攻防好吗 中国亚马逊营销的特点 镇江网站建设 中国信息安全法律网 信息安全比赛题库 企业网站的营销职能 2014年网络安全形势 社会化网络营销分析 辽宁省网络安全中心 南昌寻南昌网站设计 宜宾网站优化 工业物联网网络安全 石家庄做网站建设的公司哪家好 德宏网站建设公司 苏州网络营销哪家好 网站界面设计需要 安庆网站制作 企业网络营销人员 营销软件的缺陷 微博营销有哪些内容 京东网络营销手段 网络营销策划的分类 2013网络安全大会 网络营销目标市场案例 上海营销推广公司 中国的网络信息安全 seo 网站 制作 辽宁省网络安全中心 搜索引擎营销怎么做 宣城网站建设 北京企业网站案例 机电营销软件 梧州网站建设 网站内容更新 新媒体营销成功案例ppt 信息安全保障措施应与信息系统建设( )确保信息系统安全运行 网络营销目标市场案例 信息安全实践 邮件营销合法吗 东莞整合网站建设公司 网络安全业务 2016 信息安全 国际 南昌网站设计特色 青岛网站建设迅优北邮信息安全找工作难吗 企业网络营销人员 开展网络安全监督检查网络安全年会 无缺陷营销 饥饿营销最成功的 信息安全防护规范 信息安全等级保护测评中心 太原免费网站建设 高端公司网站 网站的前台 唐山网站建设哪家专业 网络安全协议都有哪些内容 企业招聘信息安全 杭州网站建设公司 网络营销的职务与职责 保定市网站制作公司 网络安全业务 山西网站设计 河西做网站 营销服务商 网站制作 太原 装饰公司做网络营销 中国信息安全测评中心 漏洞 定义 网站做推广需要多少钱 怎么在网上创建网站 企业招聘信息安全 工控网络安全事件 中国网络安全大事件 信息安全证书 排名,-1 网站的尺寸 查看网络安全日志 锦州网站建设 企业网站建设公司 信息安全等级保护测评中心 十堰网站建设 营销管理 畅销书 b2b网络营销过程 西普学院信息安全培训机构 小红书营销策略分析 绵阳 网站 建设 营销服务商 信息安全等级保护三级方案 安庆网站制作