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

<a class="close" href="https://iaq3.rangche.cn/">&times;</a>
网络安全评估资质荆州做网站网络安全评估资质优秀的学校网站欣赏国家信息安全师三级网站案例库整合营销策划坚守信息安全底线高逼格网站龙口做网站作品背景:这是一个发生在比较落后的小县城的故事,故事中的食宿生指的是从星期天就开始住在学校直到星期五放学才回家的学生。学校管理严格,学生到了学校后,基本没有机会出校门;而且学生家庭条件都比较困难,对于一些学生来说学校节日给他们发的零食的时候就是他们在学校最快乐的时光。 正文:今天,阳光明媚,我带着我的兄弟们从食堂出发倒垃圾,为什么我会这么积极呢?当然是因为学校外面的小卖铺卖的零食太有诱惑力了......本书严格遵守中华人民共和国相关法律法规是一本正经合格小说。绝不含任何有关违法乱纪行为描写。我是中国人我爱中国。少年血脉被夺,修为尽废,家族中人落井下石。至尊血脉觉醒,神秘小鼎激活,重塑一身体魄,人挡杀人,神挡弑神!修行之路逆水行舟,世间诸事实力为尊,至尊血脉摧枯拉朽!万古独断,独镇深渊,万界无敌,不败神话! 沐川是一个遗腹子,天生与其他人不同,被当成个怪物,吃着百家饭长大,见惯了世事无常人情冷暖,冷漠异常。就在他被那些同村小伙伴打的晕死过去,醒来后却发现村子被屠了。后来被一女子带离了村。 沐川后面查明原因,回到了这个村子。动用仙术,看见了一切。本是无辜人却因自己丧命,他崩溃了。曾经的每次挨打都是,为了他的涅槃重生。天才少年竟被嘲笑为废物,强大的元神无人认识,竟被当成毫无用处的垃圾。少年逆天而上,一路高歌踏上武道巅峰。看强大的圣魂如何藐视苍穹!曾经的少年如何高歌猛进成为九天十地人人敬畏崇拜的圣尊!男主明子皓是一位刚刚毕业的大学生,刚刚打算步入社会的他在一次偶然的机遇下他发现了不为人知的秘密,他的人生从此发生了翻天覆地的变化……这是一个神奇的世界,人们拥有着掌控元素的能力。这个世界有九大基础元素以及其他特别元素,乱世之中,欧阳伊凌降生,自幼父母双亡的她,披荆斩棘,逆天改命,踏了了复仇之路……然而,这条路上困难重重,她又该如何面对?画皮之真爱无悔浮生和小唯的续写,很多年了重温了无数遍很喜欢他们的故事,想要续写一个完美结局。 上古洪荒之神面对天道何去何从,新的使命被天道赋予,人间炼狱场已经开启,心之血脉相连的仅仅是生命还是其他,若要我还你一句誓言,那便是永世!我许下的承诺定要你牢牢记在心里,永生永世不相弃!公元2068年的科学家林峰,刚研制出一种逆天的转基因药丸,还没来得及服用,就被一道闪电劈中,灵魂穿越到滕青大陆,走上了修炼的道路,一路修行,不断突破,终于从一方宇宙中超脱出来,成为一方无敌届主。。。。。平平无奇的少年龙杰在一次偶然额机会得到了一位大能的功法九转真经,本以为可以走上巅峰的他,不知道自己的好友也是来找这件东西的,最终二人反目成仇。最后心里的梦魇使得他失去了理智,选择了宁可毁掉也不让步,最终了结了自己的今身。再次醒来之时,他已经在九转真经内部,经过一系列的交流之后,他最终重生在一个充满谜团的少年身上,重新认识了这片大陆的一切。新的名字,新的旅途,新的开始,战天道,逆轮回。
整合营销策划 信息安全导致的损失 网络营销方案主要内容 网络安全峰会2017 网络营销实训课 组合营销软件 组合营销软件 高逼格网站 信息安全意识培训方案 徐州网站推广 前世记忆恢复技巧【www.richdady.cn】 特殊学校的教学方法【www.richdady.cn】 前世缘份的缘分解读【www.richdady.cn】 耳鸣的环境影响【www.richdady.cn】 不爱读书的咨询技巧咨询【www.richdady.cn】 冤亲债主化解【微:qq383550880 】√转ihbwel 冤亲债主的化解方法咨询【企鹅383550880】√转ihbwel 解梦的案例分享咨询【σσЗ8З55О88О√转ihbwel 如何知道自己是否有前世缘份?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 无形干扰的自我提升咨询【www.richdady.cn】√转ihbwel 儿子不读书的环境影响【微:qq383550880 】√转ihbwel 存不住钱的解决方法咨询【微:qq383550880 】√转ihbwel 缺心眼的心理调适咨询【www.richdady.cn】√转ihbwel 亲子关系的共同成长方法有哪些?【微:qq383550880 】√转ihbwel 事业不顺的风水布局【企鹅383550880】√转ihbwel 意外的前世案例【www.richdady.cn】√转ihbwel 前世因果化解方法【微:qq383550880 】√转ihbwel 特殊学校的教学方法咨询【企鹅383550880】√转ihbwel 人际关系不好的心理调适【微:qq383550880 】√转ihbwel 脑部不清晰的案例分享咨询【σσЗ8З55О88О√转ihbwel 广州微网站建设案例 营销 软件 广东省网络安全维护 长春做网站电话 本地佛山顺德网站设计 烟台网站制作 网络营销手机软件 网站建设前准备 网站曝光率 惠州外贸网站建设 辽源网站建设 网络安全问题有哪些 海尔营销论文 武威网站建设 成都网路营销 公安部网络安全保卫局 备案 win10网络安全设置 小语种网站 网站曝光率 整合营销策划 中国网络安全 案例分析 2015 四川大学的信息安全 2015中央网络安全 如何实现网络安全 烟台网站制作 逆向工程与信息安全 网络安全局头像 acm和信息安全能一起搞吗 国内网络安全厂家排名 大良营销网站建设服务 网站曝光率 新疆财经大学信息安全 网站改版公司 优秀的学校网站欣赏 网络营销手机软件 病毒营销要素是什么 安徽省 信息安全协会 中国广东手机网站建设 国内网络安全厂家排名 广东省信息安全测评中心 待遇 移动应用营销 网络安全 x-team 龙口做网站 信息安全保障工作就是要对信息的三个特性进行最大限度的保护 网络信息安全基础知识,-1 郴州网站建设 信息安全意识培训方案 信息安全导致的损失 武汉网站制作 app开发浙江营销策划 网络安全峰会2017 中国网络安全 案例分析 2015 公安部网络安全保卫局 备案 本地佛山顺德网站设计 edm邮件营销软件公司 东莞网站建设公司 网站设计建设 武汉 网站建设论坛网络安全偷取手机内的信息 成立一个做网站的公司成本 信息安全专业电脑配置,-1 潍坊网站建设 高逼格网站 网络安全峰会2017 网站单选框的实现 动态网站 华为网络安全案例分析 营销学堂 济南网络营销课程培训 成都网路营销 网络安全防护体系 网络安全评估资质 2017网络安全日宣传 常德网站优化 泛在信息安全 edm电邮营销平台 网络安全局头像 著名网络营销案例 虹口做网站 免费网站模板 B2B网站系统 上海网络信息安全 饥饿营销的促成 网络安全的现状与威胁分别有 网络安全渗透测试流 2017网络安全日宣传 顺德网站建设市场 衡水高端网站建设 南通网站建设空间 广东省网络安全维护 徐州建网站 镇江网站推广 网络营销 研究生 华为网络安全案例分析 坚守信息安全底线 信息安全专业电脑配置,-1 网络安全资讯APP有哪些 烟台网站制作 信息安全专业电脑配置,-1 武威网站建设 商城建网站 行业网络安全与信息通报工作情况 营销学堂 信息安全导致的损失 建个网站 本地佛山顺德网站设计 惠州外贸网站建设 网络营销信息流 安徽省 信息安全协会 网站案例库 广州微网站建设案例 网站设计建设 武汉 顺德网站建设市场 星巴克场景营销案例 青岛设计网站的公司 逆向工程与信息安全 网络信息安全基础知识,-1 好的数据库网站 16年网络安全大事件 小语种网站 常用的网络安全技术包括 娃哈哈的网络营销 edm电邮营销平台 网站系统建站 搜索再营销没有了么搜索引擎营销如何使用技巧 2017网络安全日宣传 深圳网络安全信息安全培训网络营销网站建设 网络信息安全基础知识,-1 四川大学 信息安全 实验报告 设计网站多少费用多少 网络信息安全基础知识,-1 2015中央网络安全 成立一个做网站的公司成本 徐州市网站 武汉网站制作 app开发浙江营销策划 教育营销 好的数据库网站