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

<a class="close" href="https://9o9s.4174.com.cn/">&times;</a>
互联网营销的好处坏处中国信息安全标准分类加强信息安全意识单位网络安全保护状况网络安全动态分析包括哪些内容网络营销的学费江苏 信息安全深圳市信息安全行业协会网站设计官网什么是网络营销评估四川省网络安全协会一次任上失误,小判官降临人世缉拿逃犯将功赎罪,缺不小心在世间创下系列故事,看看他如何在纷繁世间成就神鬼之判大庆典签司,手中御赐镀金长棍,上可打皇亲国戚,下可惩贪官污吏,不在三省六部内,只在皇权棋局中。 刘子希穿越成为了殿前司指挥使的长子,本以为能成一个遛鸟听曲的纨绔,没想到的是,醒来就面临着成为奸杀案凶手的危机。如何自证清白? 世人皆是棋子,可这一次,我想做执棋之人! 一代绝世天才意外死亡,魂穿地球,凭独门功法,纵横都市…… 南京沦陷后,日寇对30万中国军民展开灭绝人寰的大屠杀。渔家子弟罗小虎临危受命,保护国民党高官的女儿林菲儿撤往后方。他们在猎户兄妹的帮助下,屡次挫败日寇的尾追堵截;在共产党人的配合下,不仅阻止了日特对我战区最高长官的刺杀行动,还歼灭了混入我后方的日军特工队。 这些英雄儿女面对强大的日军特工部队,毫不退缩,与之斗智斗勇,展开了惊心动魄的暗战……被极东王国学院院长,捡回抚养长大的陈仒。没有能力而被抛弃,成为图书馆里员。 在平凡的度过四年后,一个小偷闯入图书馆把他杀害。本应已死的他,却诡异复活。 在被人一系列的设计后,卷入王国的权力斗争,以及和邻国的冲突之中。 期间失去了最近亲之人,同时卷入了更大的漩涡之中他喝了一大口酒,眼睛看着那些画板,有的是女孩坐在草地上,有的是女孩坐吃苹果,有的是女孩做鬼脸,有的是女孩钻在桌子底下,有的是女孩在海边沙滩上走,有的是女孩在看书,有的是女孩在堆石头,有的是女孩在吹肥皂泡,有的是女孩在海边堆沙堡。 到处都是同一个女孩的头像,到处都是他无处不在的思念,和他曾经毫不吝啬的青春。她用眼睛一张一张的端详起这些画作,每一幅画作虽然很唯美,却都散发出悲伤的气息,仿佛充满了痛苦而挣扎的记忆,她轻轻地问,你为什么你不去找她? 他的眼睛里闪过一丝痛楚,我的世界在这里,离开了我的画室我就不再是我自己了。 她问,既然你这么想念她,难道不能将你的画室带到有她在的地方吗? 他的表情显得忧伤而决绝,我必须远离喧嚣,有如一座寂静的庙宇,我需要用有限的生命去创造永恒。 他问,你呢,为什么来到这里,为什么那么伤心。 她本来不是一个喜欢说话的人,也不喜欢轻易坦露自己的心事。但是这次她说,我总是这样。   太玄天威,大道煌煌!   意外来到天玄界的徐澈本想着安稳读书体会异界风景。   一起突然的怨尸事件,一只摄人精气的恐怖鬼怪,一位身份神秘的小镇杀猪匠,一本破旧的书……   徐澈突然发现,力量才是安稳的前提!   为了自保,本想着好好当一个读书人的徐澈拜师杀猪匠,而世界,从这天就开始发生变化…… 道尘本是一个毫无灵根的废柴,注定无法修炼,但是他确实一个顶级富二代,本以为,就只能平平淡淡的渡过这一生,可谁都没想到,他在一次濒临死亡时,发现了自己的真实身份,从此开启了他这传奇的一生……一个运动博主,一个高中教师,一班学生,一个心理医生,一群普通人,一个不平凡的故事  常定宇穿越民国,成为当地乡绅子弟,激活《世界首富》系统,并青春永驻,容颜一直停留在了二十出头。 但他无心壮大个人财富,反而创办大学,抗击奴人,屡立奇功,身上伤疤无数。   最终因为系统原因,常定宇战争尚未结束就直接进入了活死人的状态,直到百岁生日这一天才苏醒过来。   一日,常定宇骑着电动车和大妈相撞,被大妈诬陷碰瓷。   围观的路人纷纷对他指指点点。   “年纪轻轻的干什么不好,竟然也学老人碰瓷,一个大小伙子,你害臊不害臊?”   常定宇非常气愤,他从来没被人这么冤枉过,想上前理论,结果被大妈扯坏了衣服。 一身伤疤触目惊人,众人都傻了……
如何测试网络安全 网站风格 常州营销外包 深圳信息安全企业排名,-1 北京信息安全企业排名 北京高端网站定制公司哪家好 网络与信息安全事件 网站不足 昆明网站排名优化费用 新媒体营销有哪些 公司破产后如何重新创业【www.richdady.cn】 特殊学校咨询【www.richdady.cn】 工作升迁的障碍与突破【www.richdady.cn】 耳鸣的前世记忆咨询【www.richdady.cn】 意外的原因分析【www.richdady.cn】 存不住钱的案例分享【σσЗ8З55О88О√转ihbwel 外灵干扰的自我提升咨询【www.richdady.cn】√转ihbwel 前世缘份的故事有哪些真实经历?【www.richdady.cn】√转ihbwel 前世老婆的前世案例【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 去世的父亲的前世因果咨询【σσЗ8З55О88О√转ihbwel 孩子不爱读书的阅读习惯如何培养?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 公司破产的法律咨询咨询【σσЗ8З55О88О√转ihbwel 不爱读书的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的梦境解析咨询【www.richdady.cn】√转ihbwel 前世今生测试在线【www.richdady.cn】√转ihbwel 升迁障碍的改运方法咨询【微:qq383550880 】√转ihbwel 冤亲债主干扰的心理影响【企鹅383550880】√转ihbwel 解梦的心理学意义威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 特殊学校的前世影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 无形干扰的案例分享咨询【www.richdady.cn】√转ihbwel 互联网营销的好处坏处 网站不足 信息安全服务资质安全工程类 网络营销计划 案例 电商网站建设 邢台网站推广 电商营销课程无锡做网站要多少钱 杭州网站建设公司联系方式 深圳企业网站制作报价 网络信息安全协议书 信息安全服务资质 安全工程类 网络安全关注的问题 网络安全设置方案 微营销培训方案 网站建设我们的优势 信息安全服务资质安全工程类 网络空间是国家信息安全的核心数据,-1 海尔网络营销策略分析 信息安全服务资质安全工程类 信息与'网络安全 特色的佛山网站建设 营销型网站建设 营销培训讲课 如何网站 传统市场的营销活动方案 北京高端网站定制公司哪家好 信息安全顶级学术会议 网络整合营销推广公司 信息与'网络安全 网络安全协调局人员 e脉通网站 网络安全 大事件 国家安全之网络安全 网络安全编程多吗 网络安全态势分析 关于淘宝营销 公司网络安全 珠海网站制作品牌策划 信息安全部主任 网络营销网站建设 中国信息安全标准分类 淘宝店营销有关于网络营销的感受 屈臣氏营销 如何网站 中国信息安全标准分类加强信息安全意识 全球最大的网络安全公司 信息安全顶级学术会议 北京b2c网站制作 数据信息安全网络主题ppt 移动宽带 营销 检查网络安全 网络安全 数据安全 网站设计官网 最新网络安全产品 微营销培训方案 长春网站优化 信息安全工作总体目标 高端自适应网站建设 做手机网站 工业控制系统信息安全会议 b2c网络营销模式分析 中国信息安全标准分类 电商营销课程无锡做网站要多少钱 手机营销活动策划方案范文最新网络安全问题及解决办法 信息安全的新闻 网络渠道营销策略 做个网站要多少钱 信息安全工作规划,-1 网络营销网站建设 检查网络安全 网站不足 台州网站设计 解放路网站效果 网络营销的政策 邢台网站推广 网络安全关注的问题 网络营销的政策 腾讯网络营销策划方案 信息安全产品发布会 营销策划类公众号 营销培训讲课 什么是网络营销评估 东莞网站设计公司 信息安全动画 深圳市信息安全行业协会 网御网络安全管理平台 网络营销自媒体 江西南昌网站定制 微信营销成功案例 西安市政府网站 网络安全编程多吗 承德网站制作 网络营销的学费 新媒体营销有哪些 哪种网络营销最赚钱 东莞网站设计公司 哪有那样的网站 在太原营销 上海网络安全检测公司排名 蓝盾网络安全(二级)测评记录 电商营销课程无锡做网站要多少钱 昆明网站排名优化费用 信息安全宣传资料,-1 网站建设书 蓝盾网络安全(二级)测评记录 沙井建网站 网站设计官网 昆明做企业网站多少钱 沙井建网站 线上网站制作 南阳河南网站建设 网络安全ppt 下载 防火墙技术在网络安全防护方面存在哪些不足? 上海网络安全检测公司排名 国家信息安全认证产品型号证书 信息安全测评机构 微观环境营销中介 如何测试网络安全 国家信息网络安全局 淘宝店营销有关于网络营销的感受 信息安全服务安全工程类 杭州网站建设公司联系方式 网站风格设计要素 信息安全产品发布会 济南网站建设第六网建 网络安全日第几届 长春网站优化 国家信息安全认证产品型号证书 网络营销好学吗? 网络安全关注的问题 营销型网站建设 网络信息安全员培训 长春网站公司 网络安全关注的问题 宣传营销科的重要性 网络安全 数据安全