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

<a class="close" href="https://a1gx.xozu.cn/">&times;</a>
网络营销的危害性微博如何开展营销活动网络营销策略书手机故事式营销软文高端网站开发建设教育行业网络安全青岛信息安全保密大会信息安全在重庆怎么样欧洲网络信息安全局在百度搜索公司名字看到是自己公司的信息可是点开确实别人的网站 玉氏皇朝末年,战乱四起,天下四分五裂,百姓无不水深火热。孤苦幼童北冥月被师尊从死亡边缘救起,从此隐居仙境,备受宠溺。 然而纷争蔓延,暗流涌动,寒晚源毒封万里,地动雷鸣。自此北冥月与师尊离散,此情终成不解执念,背负无尽苦痛。 世间混乱不堪,可笑天道无情。寂然孤夜之中,北冥月孤身一人踏上征途,面对血雨腥风茫然乱世,执念成狂,虽千万人吾往矣… 活下去,变强,找到我…简介:生物博士萧剑波投身艰苦卓绝的抗日战争中,和日、伪、敌、特斗智斗勇,心思缜密、机智灵活。 从华北平原到巴山蜀水、关中盆地,周旋于错综复杂的环境中,谱写了保家卫国的英雄传奇。高端的食材往往只需要最简单的……屠宰方法。 开具一张嘴,成长全靠吃。 你说那是神明的游戏? 在李乾看来那是他的餐桌! 怒涛骇浪中的三桅船…… 残酷淘汰的神诡游园会…… 迷雾中的异界都市…… 饕餮之力在他体内成长,喂养那股力量的便是神诡的血肉!之前的我,现在的我们。 我们有着各自的过往,各自的黑暗——它们潜藏于普通人的光芒之下,在每个长夜之中折磨着我们的精神,企图让我们堕入地狱。 而现在,我们站在这里,共同面对此世真正的暗面。 这是人的世界,无数平凡的生命于此度过安然的一生。可在此世的阴影处,总有不甘的梦魇想要吞没凡人。 我们都曾经是人生的失败者,是这个世界并不出众的存在。 我们如今存在的意义,便是潜入此世的黑暗,护好早已不属于我们的人间的光芒。 人,有人的尊严与底蕴。无论何时何地,人都不会被打败。 我们,便是最后的证明。我,我们,都不会再孤身一人。 简介:红孩儿桀骜不驯,屡次不听教诲,被观音罚下人间,沦落成稀有动物。历经磨难,终于明白以强欺弱的严重后果。在奄奄一息之际得到观音的点化,可以重新为人,开始人间一个接一个的奇缘……由于核战争的爆发,大量的能量,摧毁了地表许多的城市但是一直在各种动植物体内沉睡的基因苏醒了。各种各位出现过的神奇动植物都出现。人类的生存空间越来越小……小镇上突然爆发了危机,镇民集体变成了见人就攻击的人,但唯独优依和她的小伙伴却没事,其中一人似乎对小镇上的事毫不知情,依然过着每天上学放学的日子。异世天才少年,品貌非凡、大国之婿,本是前途无量!却遭挚友背叛诬陷,一朝家破人亡!从此落入深渊,坠入魔道!当他再回来时,神挡杀神,佛挡杀佛!闯神庭、下西海、入炼狱、修魔衹!成就万古第一魔帝!有少年和尚,喝酒吃肉,醉卧美人膝,由魔入佛…… 有少年道士,一只青驴、一名女鬼相伴,朝着道祖行进…… 有少年儒生,提笔写下传世之作,誓要做天下万灵的夫子…… …… 有人问少年:“你是谁?!” 白衣少年摸了一下腰间钝剑,仰头喝了口酒,咧嘴一笑:“吾名叶天,叶子的叶,天帝的天,来自秦国荒城,是一个天才丹师,更是一个天才修炼者……” 我年龄还小,不能及时更,请谅解。这些都是我自己的真人真事。如果有写的不好的地方,就给我指出来
中国电信网络安全产品 论坛发帖推广营销服务 高端网站开发建设 青岛信息安全保密大会 深圳企业网站建设 网站选域名 好三网网站 网站大模板真流量 信息安全等级保护管理办法第九条 网站设计奖 不爱读书的自我提升咨询【www.richdady.cn】 脑部不清晰的咨询技巧咨询【www.richdady.cn】 心慌胸闷头晕的前世因果【www.richdady.cn】 通灵与心理学结合咨询咨询【www.richdady.cn】 大龄剩女的婚恋经验【www.richdady.cn】 耳鸣的自我提升【企鹅383550880】√转ihbwel 去世的母亲的咨询技巧咨询【微:qq383550880 】√转ihbwel 内心恐惧胆怯的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的解决方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的婚恋建议咨询【微:qq383550880 】√转ihbwel 前世老婆的前世修行【企鹅383550880】√转ihbwel 婴灵的超度过程咨询【企鹅383550880】√转ihbwel 脑部不清晰的症状与治疗咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的幸福指南有哪些?【微:qq383550880 】√转ihbwel 性压抑的情感释放【企鹅383550880】√转ihbwel 性压抑的原因分析【微:qq383550880 】√转ihbwel 与女友前世咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的改运方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 不爱读书的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的改运方法【企鹅383550880】√转ihbwel im营销 南京互联网营销公司排名 中山建设网站 口啤营销 网站制作 成功案例 成都企业网站建设公司 租车 网络营销方案 济南网站制 精彩网站制作 创意网站建设 什么是病毒营销方案 河南信息安全测评中心 全国信息安全标准化技术委员会 网络安全组织 必知的网站 网站建设公司销售招聘 中国电信网络安全产品 公司网站的开发和网版的重要性 网站选域名 创意网站建设 站外营销策划 微博如何开展营销活动 网站兼容工具 信息安全配置检查工具,-1 全国信息安全标准化技术委员会 网络营销(第5版) 济宁做网站维护个人网络安全 网络营销(第5版) 网站好坏互联网信息安全规定 网站大模板真流量 烟台网络营销外包 茶叶蛋营销 中国网络信息安全中心 河南信息安全测评中心 网络安全 ppt 上海学网络营销的地方 北京网站的建立 中国网络信息安全协会 什么是病毒营销方案 精彩网站制作 新浪微博营销的特点 手机故事式营销软文 信息安全是否考研 信息安全大事件 网站设计工作室 信息安全等级保护管理办法第九条 清华大学 信息安全,-1 上海建网站的公司 2017信息安全服务年会 宝安网站建设公司 自己建立网站 信息安全 十项 营销型单页面网站 信息安全大学排名2017 天津网站建设 南宁网站推广 信息安全服务资质安全工程一级 最牛的网络营销 天融信网络安全准入系统 关于用户信息安全 上海建网站的公司 信息安全专业教育部 信息安全 php获取flag 网络营销策略书 全国信息安全邀请赛 站外营销策划 php网站建设 暗影信息安全 手机故事式营销软文 微信营销培训 搜索引擎营销创意分析报告 南京餐饮网络营销公司排名 高级信息安全管理师,-1 宁波网络营销 网络安全 会议主题是 天津网站建设 武汉做网站 佛山新网站制作特色信息安全性测试 最牛的网络营销 php网站建设 怎么在sql2005数据库里添加一个asp网站的超级用户名 信息安全控制 网络发展对营销的影响 网络营销网站推广方法 哈尔滨网站制作公司 网站字体怎么设置 保密局 信息安全测评中心 公司网站的开发和网版的重要性 全国信息安全邀请赛 信息安全大学排名2017 网站设计奖 清华大学 信息安全,-1 网络内容营销的含义 网站兼容工具 宁波网络营销 济南网站制 广西汽车网网站建设 义乌建网站 10个日常使用营销规律 互联网信息安全会议,-1 网络营销策略书 创意网站建设 游戏的营销 广州专业网站制作哪家专业 中国电信网络安全产品 全网营销 执行系统 济南网站制 信息安全 php获取flag 新浪微博营销的特点 网站内容要突出什么原因 上海全网营销 网站选域名 信息安全大事件 营销型单页面网站 网站好坏互联网信息安全规定 欧洲网络信息安全局 潍坊网站建设公司推荐 曲靖网站建设 静静 信息安全 网站怎么注册 网络安全小组副组长是 南京互联网营销公司排名 好三网网站 游戏的营销 优化:高效的seo社交媒体和内容整合营销实践及案例pdf 网站推广方式 感情营销案例 深圳网站订制开发 关于用户信息安全 天融信网络安全准入系统 论坛发帖推广营销服务 网站设计工作室 微信营销培训 济南网络营销推广公司 网络安全组织