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

<a class="close" href="https://oicaicom.niexun.cn/">&times;</a>
山西省信息安全大赛营销qq邮箱如何登录信息安全竞赛 作品信息安全期刊官网营销书seo网站诊断深圳品牌模板网站建设目前流行的网络安全软件基于h5的个人网站建设判断开放网络安全普通的富商子弟被选为引导者,为此他还成为了一名骑士领主。 而引导者将授予其生存时代某些领域最先进的和古代失传的知识,以此引导世间文明加速演进。 在快速发展领地的同时,瑞林大陆风云四起。 由父亲的离奇死亡开始,真相的探寻之旅也随之展开。 骑士、法师、亡灵巫师,各个家族,各派势力,都被卷进了一个预言之中。 剑与魔法的碰撞,生命与死亡的交织。 拯救与毁灭的同时,他能否背负艰巨的使命,揭示整个事件的真相,乃至这个世界隐藏的秘密。作为穿越的宅男,他宅心仁厚,只想独自修炼,奈何亲情,友情,爱情......虽然他总想避世,却总是卷入滚滚红尘,去面对江湖的纷纷扰扰。要么懦弱的死去,要么坚强的活下去,他不是怕事,只是喜欢低调,风雨欲来,那就不断的变强吧... 虽然文笔很烂,我会继续写下去的,那是我心中的仙侠梦........男主顺利步入大学,还沉浸在大学生活之中。可父母却在外的旅行中,一死一失踪,无意间,男主了解到父母的遭遇并不是意外,为了解开事情的真相男主走上了复仇之路……一觉醒来陈文发现自己穿越了!然而青梅竹马准未婚妻因为家中负债,被逼嫁给隔壁地主!为了挽回心爱的她,为了做一个富贵闲人,陈文不得不整出一个又一个的小发明,经商致富,种田发展,一步步做大做强,再创辉煌!在一片遥远,奇幻的大陆上,三界有序而偶有冲突地并存着。而一个古老的传说牵连着三界的心,无数人,妖,甚至神,几千年间汇入了不尽生命与鲜血。原浩在莫名其妙中结识了两位奇怪的“朋友”,他的人生在这场传说的卷轴中展开了……“鄂州动而天下乱,鄂州安而天下定!”在中华上下五千年的历史车轮中,鄂州一直扮演着举足轻重的角色。 从上古时期黄帝与蚩尤之战中的九黎部落的站位,导致蚩尤战败身首异处;到禹分九洲的三苗族与夏王朝数百年的对峙,最终两个部落在相爱相杀中远走中原;再到商王朝勋贵之首的鄂候,为救九侯而犯颜强谏,结果遭到商纣王脯刑,商王朝也因此尽失天下;再到与西周硬刚三百余年的鄂侯驭方,其“振臂一呼,应者云集”,与淮夷东夷联军,一直打到东都成周(今洛阳市东白马寺一带)附近,然后两方互相消耗中磕死了对方,直到现在鄂地人们还有“不服周”一说。大楚国叛乱四起,经过多年的平叛战争叛乱最终平息,朝廷的权威已经大不如前,国内军阀林立,派系繁杂,民不聊生。侠之大者,为国为民,自有忠义之士愿效忠于朝廷看云郡将士重整旗鼓,再造河山。妇好,中国历史上有史载的第一位女政治家、军事家,商朝第二十二代商王武丁之妻、妣辛王后。大地和天空退回三千年前的悲壮,一幅幅波澜壮阔画卷陷入眼窝。 修罗仙帝惨遭亲友背叛,含恨陨落,数千万年后,一个少年上山采药,无意中收获神秘小塔......从地球穿越到平行空间的末世,陌游生该何去何从 伴随而来的召唤师系统、全人和亚人之间的矛盾、魔兽的进攻…… 对故乡的思念…… 我是陌游生,荣耀系统,请多多指教。
传统营销的价值 太原网站设计 品牌营销 长沙 网络安全与管理专业 章丘网站建设 企业网络安全平台网络安全攻防演练平台 网站托管公司 信息安全分级 网络安全响应机制 网站没更新 心慌胸闷头晕的解决方法【www.richdady.cn】 儿子抑郁症的治疗方法【www.richdady.cn】 什么原因意外的心理调适咨询【www.richdady.cn】 如何化解冤亲债主的干扰?【www.richdady.cn】 亲子关系的共同成长方法有哪些?咨询【www.richdady.cn】 儿子不读书的解决方法咨询【σσЗ8З55О88О√转ihbwel 前世今生威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的轮回真相咨询【www.richdady.cn】√转ihbwel 心特别累的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 意外事故的预防措施威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 外灵干扰的心理调适【企鹅383550880】√转ihbwel 头脑混沌的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 与男友前世的影响分析【企鹅383550880】√转ihbwel 缺心眼的原因分析咨询【微:qq383550880 】√转ihbwel 解梦的情感释放咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 自闭症的自我提升【企鹅383550880】√转ihbwel 感情纠纷的前世因果【企鹅383550880】√转ihbwel 升迁障碍的职场规划咨询【微:qq383550880 】√转ihbwel 失业的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 学习成绩差的案例分享【σσЗ8З55О88О√转ihbwel 品牌营销 长沙 模板网站与定制网站区别 2017美国信息安全大会 电信用户信息安全协议 淘宝营销技巧 沈阳做网站哪个好 绵阳汽车网站制作 网站怎么装模版 美强化网络安全新法案 网易信息安全审核工资 网站没更新 网络营销服务售后 做一个网站人员 昆明建个网站哪家便宜 国家信息安全保护测评 上海模板网站制作多少钱 网络安全响应机制 深圳品牌模板网站建设 营销名人 美强化网络安全新法案 营销号公司 上海整合网络营销 网站后台模块电子政务网络安全研究 网络营销就业怎样 优秀企业网站欣赏 名词解释搜索引擎营销 关于进一步推进人民法院信息安全等级保护工作的通知,-1 网络营销的理论体系 社区营销 基于h5的个人网站建设 网络营销行业分析 信息安全二级认证,-1 全国网络营销大赛 网络营销计划 案例 怎么获得网络安全资质 信息安信息安全 兰州网站优化 信息安全竞赛 作品 信息安全等级保护指引 沈阳开发网站的地方 西城网站制作公司 信息安全等级保护指引 什么是网络营销评估 电商营销课程 移动宽带 营销 信息安全区 手机网站生成app 信息安全期刊官网 汽车网站模板 信息安全等级保护 试题 关键词网络营销 微网站菜单 关于进一步推进人民法院信息安全等级保护工作的通知,-1 手机网站开发教程 网络安全实验室脚本关 兰州营销型网站建设 营销名人 网站后台模块电子政务网络安全研究 国家信息安全主席 电信用户信息安全协议 信息安全期刊官网 网站建设设计公司 绵阳汽车网站制作 金水郑州网站建设 深圳学网络营销哪个 目前流行的网络安全软件 信息安全是一个专业 社区营销 信息安全的认证中心,-1 济南网络安全培训中心 上海整合网络营销 营销号公司 2014 网络安全 事件 信息安信息安全 手机建网站 优秀企业网站欣赏 做一个网站人员 如何理解IT信息安全 sdn:"信息安全"定义网络————openflow安全分析 搜索引擎营销如何使用技巧 无锡网站设计公司 移动宽带 营销 手机网站开发教程 模板网站与定制网站区别 网络整合营销推广公司 昆明建个网站哪家便宜 微网站菜单 移动宽带 营销 沈阳整合营销怎么做 微网站菜单 信息安全二级认证,-1 合肥做网站 营销qq邮箱如何登录 信息安全的认证中心,-1 网站设计价格大概是 银行业 信息安全事件 网络信息安全实训 网络安全大事 山东网络安全技术大赛 山东网站优化公司 网络安全与黑客攻防宝典 第3版 山东省信息安全大赛,-1 淘宝营销技巧 电信用户信息安全协议 基于h5的个人网站建设 微信营销课程 网站托管公司 金水郑州网站建设 银行业 信息安全事件 房地产型网站建设 信息安全分级 营销渠道都有哪些 网络安全设备分类 优秀企业网站欣赏 西安模板网站建设 中国信息安全测评中心地址 20个中国风网站设计欣赏 兰州网站优化 美强化网络安全新法案 做一个网站人员 杂志网站建设 支付宝网络安全 广州互动营销公司排名 淘宝营销技巧 传统营销的价值 全网营销有什么好处 2014 网络安全 事件 直播是网络营销嘛 移动营销的形式 合肥做网站 2017美国信息安全大会 安庆网站优化 营销名人 关于进一步推进人民法院信息安全等级保护工作的通知,-1 山东网站优化公司