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

<a class="close" href="https://ohut.111555.com.cn/">&times;</a>
医疗器械网站制作温州购物网络商城网站设计制作网络安全pdf单页面网站广州微网站建设案例第十届信息安全小榄网站什么是公司信息安全,-1信息安全行业的企业青岛青鸟网络营销我有异世神瞳,看世间炎凉。魑魅魍魉,黑白无常,在这朗朗乾坤下,皆是我眼下亡魂。神瞳一开,我辨得人群中暗藏的鬼魅,也入得了坟墓,探异世孤魂。我没有职业证,不受法律约束,我自由游走地狱,不受阴阳限制。光脚的不怕穿鞋的,无证侦探管闲事,管他是谁,缉拿归案!生命就是一场经历。没了高中的紧张,大学里放松了很多。 思想上的经历,可以通过多读书来实现。但生活上的经历,只能是自己切身体会。 大学四年,在酒吧兼过职,处了舞蹈系最漂亮的女朋友,球场上跟体育生比过武,跟英语专业最牛逼的男生交了朋友,社团招新上出名全校,也受过其他学生的欺凌,看到过同学生命的逝去,也一直结识更多新的朋友。 小说来源于现实,现实又何尝不是一部小说。我体验高楼繁华,也感受过贫民老窟,见视过世态炎凉,感受过虚情假意;我的故事从繁华喧闹而来,走向冷漠荒凉只有千锤百炼才能成就,一次又一次的折磨换来一次又一次的强大,从仁心到黑化,是一次又一次的绝望的经历!我每次送盆去给阿婆,她都请我喝咖啡,她很喜欢咖啡和鲜花,为人开朗,豁达,有很强的亲和力。天生至尊,为人族斩妖除魔!护人族万垂不朽!江宇泽前世遭兄弟的反水,亲朋的质疑,爱人的背叛,不幸陨落。烟消道散之时,竟发现在这大千世界之中,源灵大陆只不过是一粒尘埃。万年后得以重生,挖掘新的力量,开创新的规则,以源灵大陆为基础,向未知探索!在这个巨大的异界大陆上,到处都是权力的争夺,封建主义皇位之间的暗潮涌动,一个在登基典礼上就被罢黜的懦弱皇帝,怎样走上复仇之路......长白神庙,尸海迷巢,冥峡天棺,黄泉九鼎…… 一件来历不明的人皮寿衣将我拖入一个巨大的旋涡之中。 为了活命我必须借寿前行,活人的寿要借,死人的寿更要借。 当我以为自己可以彻底摆脱那件寿衣的时候,才发现这场阴谋刚刚开始,而我只是其中的一枚棋子……这个世界四方各有一处释放真气之地,分别被四族占领,万年前四族大战,人族最终获胜,将三族真气封印,后又建龙脉于中原,吸收四族真气,使其他三族永无翻身之日。万年后,人族中各个帮派、教门林立,世界各处更是异象频现。这一天,朝廷宣布要组织一场帮派战,最终奖励是10颗重生丹,据说是上古大战所留,可以使死人起死回生,使活人脱胎换骨。江湖上各个帮派、教门摩拳擦掌,跃跃欲试。与此同时,江湖上一个新的帮派“天下第一帮”已经悄然崛起。这到底是一场机遇还是一个阴谋?为救一名女孩,左化羽灵魂来到了恶灵大陆。 恶灵大陆是恶灵横行的大陆,在这里人类时刻被恶灵的恐惧支配着。人类为了摆脱这种舒服,开启了修炼之路。 这里的人想要修炼,必须开启本命之灵。随着本命之灵的强大,才能提升自己的修为。 左化羽在偶然的机遇下,得到了世间最强本命之灵青锋剑匣。本想修炼能游历大陆,可随着而来的也将是亲人的遇难,左化羽的道路也变得扑朔迷离……
信息安全等级评估中心 网站后台模板 信息安全对抗赛 信息安全评估多长时间 政府网站怎么管理系统 欧洲网络与信息安全局 信息安全的国家标准 网络安全的技术 第三方外贸b2b电子商务平台网络营销所存在的问题与对策 信息安全系统控制,-1 与公婆前世的前世修行【www.richdady.cn】 前世缘份的案例分享【www.richdady.cn】 性压抑的前世记忆咨询【www.richdady.cn】 婚姻生活不顺的沟通技巧【www.richdady.cn】 如何预防过早离世咨询【www.richdady.cn】 人际关系不好的表现及原因咨询【微:qq383550880 】√转ihbwel 财运不佳的理财技巧有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场建议咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与男友前世的前世修行咨询【σσЗ8З55О88О√转ihbwel 自闭症咨询【企鹅383550880】√转ihbwel 与男友前世的影响分析咨询【企鹅383550880】√转ihbwel 内心恐惧胆怯的前世记忆【微:qq383550880 】√转ihbwel 婴灵的真实案例有哪些?【σσЗ8З55О88О√转ihbwel 头脑混沌的案例分享【www.richdady.cn】√转ihbwel 自闭症的案例分享【企鹅383550880】√转ihbwel 自闭症的治疗方法【微:qq383550880 】√转ihbwel 有官司的预防措施【σσЗ8З55О88О√转ihbwel 大龄剩女的社交技巧咨询【微:qq383550880 】√转ihbwel 性压抑的解决方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婚姻生活不顺的前世因果【微:qq383550880 】√转ihbwel 网络安全pdf 柳市做公司网站 网络安全.ppt 微信的网络营销推广案例 教育行业营销平台 济南外贸网站建设公司排名 公司网站重新建站通知 网络安全编程特点 匡恩网络2015工业控制网络安全态势报告 网络安全岗位面试问题 甲方信息安全 公司网站重新建站通知 信息安全是指 网络安全培训学校 网络推广营销平台 2009网络安全事件 第十届信息安全 企业信息安全制度,-1 青岛青鸟网络营销 匡恩网络2015工业控制网络安全态势报告 网络安全cia 医疗网络安全解决方案 信息安全是指 北京网站设计价格 2016网络安全法进展淮安网站制作 网站设计的简称 广州网站建立 医疗器械网站制作 b2c购物网站的品牌营销传播策略研究——以凡客诚品为例 广东省网络安全维护 网络安全体系构成要素中恢复怎么管理网站添加代码 维护网络安全语句 小米4p营销策略 小米4p营销策略 第十届信息安全 网络安全审计 课件 做定制网站 网络营销小案例分析 对网络营销的意义认识 樟木头的建网站公司 长春全网营销 郑州营销网站 网络营销员报考 小榄网站 有国家认证的网络安全认证的 数据恢复公司 信息安全行业的企业 6p营销要素服装网站 欣赏 信息安全等级评估中心 专业网站制作公司 网站聚合页 政府网站怎么管理系统 营销型视频 医疗器械网站制作 专业网站制作公司 济南网络营销训机构 网络安全培训学校 装修网站建设 济南网络营销训机构 广东省信息安全测评中心待遇 北邮的信息安全专业 武汉科技大学信息安全 信息安全攻防实验员,-1 北京网站设计价格 广州网站设计公司招聘 网络安全.ppt 网络安全视频网址 小榄网站设计 如何加快网站访问速度 网络推广营销平台 网络安全行业公司排名 网站与维护 网络推广营销文章 民营医疗营销 广州网站优化 深圳 信息安全培训 企业的整合营销 广州网站设计公司招聘 网路营销需求 国家信息安全工程类一级认证 教育行业营销平台 信息安全系统控制,-1 本地佛山顺德网站设计 重要保障期间网络安全保障方案 网络安全岗位面试问题 网络安全的技术 信息安全系统控制,-1 2016信息安全公司排名 信息安全资质 咨询 威海网站制作 2016信息安全公司排名 网络营销售后服务小米 网站与维护 青岛专业餐饮网站制作 广东省信息安全测评中心待遇 高逼格网站 网络安全产品资质 伪原创网站 信息安全相关认证 如何做网站 网站单选框的实现 上海网站营销 东营网站制作 中国营销软件网网站有哪些 广州网站建立 北邮的信息安全专业 网络安全管理局巡视 互联网周刊 网络安全 信息安全等级保护测评报告模板,-1 网络安全pdf 酒店信息安全 如何建立网站 网络安全的电影 网络安全的主要技术 邢台网站建设厂家 中华人民共和国计算机信息安全保护条例 网站建设公司是什么 深圳企业网站建设报价 委托建网站需要多少钱 公安部信息安全检测中心 小榄网站设计 银行信息安全会议记录 qq空间给别人点赞营销 网络安全攻击的方式 长春全网营销 毕节网站建设 网络营销售后服务小米 网络安全岗位面试问题 欧洲网络与信息安全局 2016网络安全法进展淮安网站制作 公司网站重新建站通知 深圳手机网站开发 网站制作 中企动力公司 天津做网站 优秀的学校网站欣赏 第十届信息安全