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

<a class="close" href="https://omjk.71119.cn/">&times;</a>
网络营销模式的特点是什么意思国家网络与信息安全信息通报中心技术支持单位互联网服务区信息安全检查.,-1启明星辰 网络安全网络信息安全工程师需要读什么专业设计网站乌兰察布网站建设网站 开发 价格中国网络安全中心信息安全管理系统功能长安巷一夜灭门,看主角如何江湖逃亡,如何历经劫难,如何练成绝学,如何快意恩仇。本书有英雄喋血,有儿女柔情,有宫廷之变,有正邪之争,故事曲折,笔法取自金、梁、古三家,结合现代散文写法,是典型的新派传统武侠风格。 贫困山区初三学霸,临近中考时,因妹妹生病,去求医路上意外穿越到灵气浓郁的异界大陆,不仅武道兴隆,更是有强大的修仙者存在;在这个弱肉强食的世界,李沐带着妹妹快速适应这里的生存法则,而且机缘巧合下获得修士传承,从此走上修仙之路,但初心不改,为了兄弟朋友他可以两肋插刀,更是有名的护妹狂魔,在兼顾亲情、友情的同时,充分发挥自己的聪明才智,一路斗智斗勇,建立势力,博取机缘,最终成为一代雄主,并带着妹妹找到了回家之路。即将远赴海外留学的准大学生因意外流落荒岛,幸好碰到几个天涯沦落人,但岛上不止他们几个人,土著人,神秘公司跟他们组成三方势力。在脱离了文明之后,秩序还需要被遵守吗?邪恶的医疗实验到底是有失人权还是造福人类?刚毕业大学生陈凯为救落水女孩,献出自身性命。女孩为了逃避自己爸妈责难,指认陈凯就是将自己推下水的元凶。一个懒懒的少年,喜欢从书卷中找到有用的东西,不学让人眼花的技、艺、法,只修基础;不尊规矩、不知人事,做事以情感为主;无进取心、无理想,弱小时,在人群中猥琐成长,强大时,一剑斩出,闲人厄皮,能在以武力和拳头的强武世界能混下去吗? 作品以第一人称的视角描述了一个特种兵血染的日记中记载的汗与泪、情与仇、血与火、爱与恨......种种交织、穿插、揉叠在一起,这就是“特种兵之恋”! 主人翁说:真正的男人最大的魅力在于——血性!血性——刚强正直的气质和品性。有血性的人愱恶如仇,敢说敢做,敢作敢为,不向邪恶势力低头。当别人有难时他能站出来伸出援助之手,不会只考虑自己的得失而缩手缩脚,畏首畏尾。当生命和信仰冲突时,能舍命而上。在任何强大对手的面前,就算知道不敌,也会亮剑!可以被击倒,但绝不会被征服!上古文明的消逝,现代文明的灾难,究竟是谁操控着这一切? 新时代的大幕已经拉开,人类能否抓住最后的希望,冲出黑暗,迎接曙光的到来。 它就在身边 世界一片阴霾 黑暗也迅速降临 在伸手不见五指的情况下 我又能做什么 身上也越来越冷 小说《漫漫帝国商业路》讲述了2019年11月,一个富二代因车祸殒命,其灵魂穿越时空附着在1985年初夏亡故的窝囊青年教师金青峰身后上,借躯复活。复活后的金青峰从此开始与穷困的命运抗争,同周围的恶势力斗争。虽然校长将他贬谪之只有十来人,且堪堪倒闭的校办工厂,这却恰恰给了金青峰运用前世在美国哈佛大学商学院所学的商业知识,进行他所喜欢的工商业活动的机会。 小说展现了金青峰在中州市和首都,通过资源整合、资本运作、建立新型的现代企业管理模式等商场博弈新方法白手起家,用了近三十年时间建立起自己商业大帝国的传奇经历。 小说重点呈现给读者的是近30年在中州市上演的一幕幕商战博弈大戏。故事引人入胜,精彩绝伦。全书约160万字。 单人无女主爽文茫茫人海中独自生存
古典风网站 网络营销的物流问题及对策 做网站实例 北京网络安全公司 昆明网站建设费用 网络信息安全新方向 潍坊网站设计 网络安全专业? 家教网站建设 网络安全对抗大赛 改善亲子关系的技巧【www.richdady.cn】 大龄剩女的社交技巧【www.richdady.cn】 事业不顺的原因有哪些?咨询【www.richdady.cn】 去世的父亲的前世故事【www.richdady.cn】 与老公前世的咨询技巧咨询【www.richdady.cn】 纠纷的前世因果咨询【微:qq383550880 】√转ihbwel 特殊学校的前世记忆咨询【www.richdady.cn】√转ihbwel 老公家暴的法律咨询【微:qq383550880 】√转ihbwel 如何改善亲子关系?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感调解技巧有哪些?咨询【企鹅383550880】√转ihbwel 暗恋的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 通灵老师预约咨询【σσЗ8З55О88О√转ihbwel 脑部不清晰的咨询技巧【www.richdady.cn】√转ihbwel 感情纠纷的原因有哪些?【企鹅383550880】√转ihbwel 人际关系不好的咨询技巧咨询【www.richdady.cn】√转ihbwel 如何应对冤亲债主的干扰【企鹅383550880】√转ihbwel 前世缘份的缘分再续咨询【企鹅383550880】√转ihbwel 婴灵的超度方法【微:qq383550880 】√转ihbwel 孩子不爱读书的原因有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 内心恐惧胆怯的自我提升咨询【www.richdady.cn】√转ihbwel 响应式网站建设市场 广迅营销网 信息安全相关证书 营销助手软件 互联网营销项目宏观环境分析的内容有 信息安全技术 信息系统等级保护安全设计技术要求,-1 成都网络安全保卫大队 设计有关的网站 网络安全查询 如何搭建高品质网站 电子化营销 国家网络与信息安全信息通报中心技术支持单位 网站建设的售后 东风日产软文营销案例 启明星辰 网络安全 网络安全素质 王军教授信息安全 网页设计网站 信息安全论坛 网站盈利模式 互联网营销项目宏观环境分析的内容有 信息安全技术 信息系统等级保护安全设计技术要求,-1 成都网络安全保卫大队 设计有关的网站 网络安全查询 如何搭建高品质网站 古典风网站 国家实行网络安全等级保护制度 信息安全专题邀请赛 营销助手软件 金融信息安全案列,-1 启明星辰 网络安全 营销环境调研 网站设计公司市场容量 企业网络安全设计方案一般网站有哪几部分构成 如何搭建高品质网站 大连网络安全公司 2016口碑营销的例子 2017网络安全工具包 信息安全等级保护基本要求 全国信息安全服务公司排行qq网络安全修复 杭州 网站设计制作 营销环境调研 成都网络安全保卫大队 网络安全法 息息相关 国家网络安全中心 地址 2014第五届中国(北京)国际计算机网络与信息安全展览会 电信网络安全解决方案 求做网站 西安信息安全研究中心 互联网营销项目宏观环境分析的内容有 昆明网站建设费用 同方信息安全 设计网站 信息安全专题邀请赛 邮件营销的有点 西安信息安全研究中心 网络安全素质 网站免费注册域名 网络安全与国家安全 信息安全博士研究理论 大连网络安全公司 想学习网络营销 信息安全牛商网 邮件营销推广案例 国家网络安全测评中心 启明星辰 网络安全 网络营销的销售渠道 四平网站建设 信息安全案例教程:技术与应用 长安网站建设费用 网络营销要学什么? 怎样才能制做免费网站 大学生的网络安全 网络安全素质 古典风网站 南通网站优化 西安营销公司排名 网络营销新闻稿 信息安全课程设计 乌兰察布网站建设 网络营销模式的特点是什么意思 第一部网络安全立法 网站盈利模式 临沂在线上网站建设 无线网络安全要求 网络平台营销方案 网站设计 广州 邮件营销的有点 信息安全架构优化 西安信息安全的软件公司 最优秀的佛山网站建设 电商网站前台模块 营销切入点 电商网站设计 专业网络营销整合服务 网络安全查询 网站维护等 信息安全论坛 石家庄网站设计网站维护 公安部网络安全保卫局网站 中国网络安全中心 搜索引擎整合营销方案 网站个性化 网站怎么推广 响应式网站建设市场 深圳精准搜索营销 国家网络安全中心 地址 信息安全案例教程:技术与应用 新网站建设平台 南昌网站设计资讯 宿迁做网站 潍坊网站设计 网络安全年检信息表 评测依据的行业标准名称 重庆微营销商城 欢乐颂网络营销 joomla 2.5:你的网站建设使用与管理 下载 信息安全 SAG 高大上公司网站 第一部网络安全立法 网站维护等 网站 开发 价格 想弄个网站 信息安全案例教程:技术与应用 国家信息安全部长 常州品牌网站建设 地方网站建设 衡水做企业网站的公司 太原网站制作 国家网络安全中心 地址 网络信息安全新方向 facebook内容营销案例 企业网站设计 信息网络安全现状分析 网络安全查询