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

<a class="close" href="https://as6.668800.cn/">&times;</a>
婚纱摄影网站模板珠海企业网站制作费用2015中国个人信息安全问题研究响应式网站建设信息电子科技公司网站网页设计信息安全考试 网站是什么网络安全问题防止趋势银川网站建设网站制作前期所需要准备建网站前途傀儡挣不脱手的操控,风鸢扯不断线的束缚。但你是否甘心? ...... “执吾契约,为吾使徒!天地常在,子亦长存。愿否?” “终为始,始亦终。化身尘土,还灵天地!愿否?” ...... 苍老的声音在雾海中翻腾,沉默等待那意料之中的答案...... ...... 前科幻频道《星徒》作者,日更连载1076天无断更。 地图设定、3D人设、作者信息尽在公众号,搜索“游云之语”或者“cloud-whisper”叶凡上一世的仙王老婆重生归来,找到叶凡带他走上修仙路。 斩魔帝,斗五宗,破天穹,打开仙路,直杀天穹,带领全民修仙。 我的时代谁敢称无敌!上来一战! 以双修正道!  李暮穿梭了异界,穿梭到一修仙天地,变成一个采矿的奴隶。跟他来的,有一灵塔。但是整体天地也变更了。......一位非流派宗派的修仙者,一不同的修仙天地。三十九万年前的逃亡者也敢大放厥词!三十九万年前的手下败将!上前领死!!! 时光流逝,曾经的逃亡者回到祖星,掀起怎样的波澜,又会有再怎样的经历,是战火的延续,还是和平的开端……鬼事悬疑,原于阴集,大道降服,魔鬼怨积……废墟中,一个脸跟煤球似的少年刚从梦中醒来便和一位老者四目相对。 少年环视了一下四周,哀叹了一口气,少年心想:这次是垃圾场啊~我也真够衰的… 随后少年看向老者,试探道:“嗨?” 老者:“……嗨?” …… 老者两眼发光,对少年道:“孩子啊,我看你资质不错,不如跟我学点手艺?”“让你买丹药回来,你却成为了丹药师?” “让你请医师回来,你却成为了医师?” “让你去买大宝剑,你却成为了炼器师?” “出远门咋这么快回来了?啥?你成为了驯兽师?骑霹雳飞龙回来的?” “去趟淘宝馆,你咋淘回了这么多极品宝贝?啥?你又成了鉴定师?” “不好!赘婿中毒了!快……不用了,没事了,他又成为了毒师。” 易尘抱头,没办法,系统太强悍了!黑暗时代下,唯有北方星辰闪烁。 我有毒,别碰我!我眼瞎,别逼我睁眼!我之毒,无人可解,我之眼,可判生死阴阳!本书又名【大明:我人皇的身份被女帝曝光】。 绝世凶人朱厌,穿越到历史爽文《大明劫》中,成为存在感微弱的配角。 他本想安稳度日,跟着书中主角团队吃香的喝辣的,结果被迫绑定系统,拯救濒临毁灭的大明皇朝。 狗作者……你干得是人事儿吗?挖坑不填我就不说了,居然还太监? 现在轮到这些坑都要我解决……你妹!!!
网络安全看年龄吗 网络信息安全检查 易营销软件代理 网站内容添加 网络安全内部威胁 网络安全的特殊性 十种网络营销方法体系 银川网站建设 苏州网站推 信息安全等级保护北京,-1 失业咨询【www.richdady.cn】 事业不顺的职场瓶颈如何突破?咨询【www.richdady.cn】 内心恐惧胆怯的自我提升【www.richdady.cn】 去世的父亲的前世因果【www.richdady.cn】 大龄剩女的婚恋规划【www.richdady.cn】 孩子厌学的解决方法咨询【σσЗ8З55О88О√转ihbwel 事业不顺的职场调整咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 脑部不清晰的生活习惯咨询【σσЗ8З55О88О√转ihbwel 强迫症的治疗方法咨询【www.richdady.cn】√转ihbwel 内心恐惧胆怯的情感释放威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生查询服务【企鹅383550880】√转ihbwel 为什么过世的原因分析【微:qq383550880 】√转ihbwel 家庭关系的情感维护方法有哪些?咨询【www.richdady.cn】√转ihbwel 什么原因意外的前世记忆【微:qq383550880 】√转ihbwel 不爱读书的解决方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 事业发展瓶颈突破【微:qq383550880 】√转ihbwel 公司破产的后续规划【企鹅383550880】√转ihbwel 为什么过世的前世故事咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 官司【企鹅383550880】√转ihbwel 迟缓儿的治疗方法咨询【www.richdady.cn】√转ihbwel 我为营销文化代言 网络安全内部威胁 厦门网站开发建设 360网络安全集团 天津市网站制作 公司 长春市网站推广 网络营销文案事例 网络营销活动有哪些方面 网络安全实践 宁夏制作网站公司 2017青岛网络安全会议 济南专业做网站 珠海企业网站制作费用 手机网站建设动态 微营销百度百科 企划营销包括 网站制作呼和浩特 青岛网站维护 蓝海国际版网站建设系统 2015中国个人信息安全问题研究 2015中国个人信息安全问题研究 电子科技公司网站网页设计 南川网站制作 国家网络安全信息中心 自己弄个网站 企业信息安全管理培训 网络安全部署方案 个人信息安全防护概述 银川网站建设 南川网站制作 网站关键词 广东米酒营销 网络安全周 郭启全广西南宁公司网站制作 上海 网络安全 营销型网站如何制作 网络安全的五大特征 静态网站有哪些优点 营销型网站如何制作 信息安全专业最新消息 网站的互动 网络安全的特殊性 网络安全 和 信息化 广州网站建设信息科技有限公司 2014广西信息技术与信息安全 政府系统信息安全检查指 网络营销活动有哪些方面 珠海企业网站制作费用 企业手机网站建设策划方案 网络安全错误 错误代码 网站空间购买 信息安全集成资质 饥饿营销行为 网络安全 高端培训 欧美风格网站设计 网站页面大小 2017年网络安全现状 景县网站建设 app企业网站 湛江网站优化 珠海企业网站制作费用 聊城集团网站建设 湛江网站优化 饥饿营销行为 网络安全 课程设计 pki 网络营销职业分析报告 网站内容添加 英国 网络安全 机构 图派做网站 个人信息安全防护概述 工业控制系统 信息安全标准 2017青岛网络安全会议 怎么建com的网站 如何做好微信群营销方案 东营设计网站建设 企划营销包括 微营销百度百科 酒店网站制作策划 网络与信息安全课程设计互联网营销服务类接单 肇庆网站建设 信息安全等保彩页 昌平网站建设 建网站的详细步骤 信息安全等相关专业 景县网站建设 SDN与网络安全 网络安全错误 错误代码 app企业网站 个人信息安全防护概述 自己建网站程序 SDN与网络安全 博客营销 blog 网站的互动 门户类网站费用 博客营销 blog 济南软件优化网站 建网站前途 南川网站制作 419网络安全活动 2017年网络安全现状 淘宝营销。 苏州网站推 聚美营销岗 蓝海国际版网站建设系统 2013年的重大网络安全事件 中国信息安全测评费用,-1 制作网站的步骤 申请网络安全证书 宝安网站设计 网络安全 课程设计 pki 国家推进网络安全什么服务体系 网络安全问题防止趋势 国际网络安全公司排名 网络营销线下培训 2014广西信息技术与信息安全 政府系统信息安全检查指 个人网站自助建站 济南专业做网站 网络安全100强 网络安全工作 意见建议 建网站方法 苏州网站推 营销广告的表现形式 有关网络安全的专业 党政机关信息安全机构 如何做好微信群营销方案 网络信息安全检查 党政机关信息安全机构 家用网络安全 网络安全信息公司 广州专业手机网站设计 济南软件优化网站 网络营销手段 洛阳网站优化 冀州建网站 2016 网络安全 手机网站建设动态 国家信息安全工作