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

<a class="close" href="https://tujilp.zhenchan.com.cn/">&times;</a>
安徽省信息安全测评中心长春网络安全培训班网络安全攻防信息安全协议的机制山西信息安全评测中心北京网站页面设计中国国家信息安全2016中国网络安全报告网络安全立国苏州企业网站建网站建设策划书ol神秘男子沉睡了几百年,醒来后却发现进入了一个完全陌生的世界,不是幻境,而是真实的世界。自己所效忠的朝廷没了,自己引以为傲的锦衣卫身份成为过往云烟,如何在眼前的陌生世界生存,又是什么原因使自己在几百年后死而复生,而自己是人还是鬼,自己存在的意义又是什么?带着无数的疑问男子在现实生活中挣扎生存,本想浑浑噩噩度过余生却被卷入江湖争斗,是该继续隐忍偷生还是接受挑战,已看淡生死的他发现似乎冥冥中有种力量在安排他的命运,是顺从还是反抗都将是个艰难的抉择。元始元终镇璜墟,鸿蒙穹宇不见君 斩混沌而生,是为元始,元始元终,历经十亿载 其后为荒宙·古宙·元宙,诞生冥族·圣族·灵族·神族·魔族 相传,天地每万年,便会合并,斩断世间一切生机,重塑一个全新的世界,后世称其为-元沦 六千年前始元宙之上最后一代神祖为抵抗元沦身消命陨,世间进入终元宙。 公元2078年,元沦如期而至,玄灏·靡霏在《始煌记》的引领下,前往昆仑山脉寻找璜墟玉,阴差阳错间神魂脱离,穿越到了四十亿年前的终元宙。 且看此二人,如何在元宙之上,重寻元祖之灵,斗万年元沦,救苍生万灵。 元始元终,沦聚沦散。 这个世界是怎样的,人类又是怎样的,我不明白。 只想让大家的心在这永夜之中彼此相连,永远永远。韩宁一觉醒来,发现自己穿越回到2002年,姚明刚刚登陆NBA的那一年。 本来想着去休斯顿火箭队应聘一个助理教练的职位,却没想到阴差阳错间直接接替鲁迪成为了球队的主教练。 火箭队,执教姚明,想想就很激动有没有?! 系统:别高兴的太早,给我带新秀姚明去夺冠! 韩宁:啥玩意?! 带2002年的火箭队夺冠?! 这可不是未来已经成为联盟顶级巨星的姚明,麦迪也还没来呢! 球队里还有一堆中看不中用的角色球员和垃圾合同。 要知道在这一年,奥尼尔还在巅峰期,在赛场上大杀四方。马刺队的三驾马车全部集齐。 这种地狱级难度,你让我率队夺冠?!位卑不敢忘族,匹夫一怒,尚且血溅五步,小人物也有大情怀,天启大陆种族共存,大小势力无数,一轮墨绿色翡翠圆盘,让林风从微末中崛起。魂,乃人之始。 内魂,乃人之本。 一切以魂而生,一切以魂而死。 究竟是奋起直追,还是自甘堕落。 内魂,方可掌控乾坤! 过往的故事长眠地下,太古的光辉已不可探究。 但文明延续不止,旧日的火种会跟随文明一同延续,或许某天,会有某个人,将这些火种逐一点燃,长明不息。 愿文明薪火相传。 我所以为的自由并不是真的自由,因为在我的每个人生道路前都有那么一个人在推动,事实上我也不确定我接下来走的路会是什么样的,因为,我从来没有真正做主过。大学生平静的生活遭到破坏,噩梦的生活开始,不值得相信的同学天道俯视众生,凝聚世间万法打造九重天阙,与之共鸣者可获天赐命魂,踏上修行登天之路。 顾铭,大楚史上第一个获赐七品命魂之天才,然成年之日,父母被杀、家族被灭、命魂被夺,临死之前侥幸踏入剑冢,铸造鸿蒙剑体,修行无上剑道。两年之后,顾铭离开剑冢重返世间,踏上剑道至尊之路,一剑可斩仇敌、可破九天、可镇诸天万域。
杭州市营销方式 昆明网站建设费用 从哪能学网络营销的app 国家信息安全服务安全 万和城网站 网络营销的物流问题及对策 网络营销的发展和趋势 怎么检查网络安全 主要营销方式有哪些 信息安全检测软件 婴灵【www.richdady.cn】 纠纷的前世因果咨询【www.richdady.cn】 感情纠纷的真实案例有哪些?咨询【www.richdady.cn】 耳鸣的前世因果【www.richdady.cn】 家宅磁场的常见问题咨询【www.richdady.cn】 官司的前世因果咨询【微:qq383550880 】√转ihbwel 孩子压力大的前世记忆【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的形成原因咨询【www.richdady.cn】√转ihbwel 家庭关系的改运方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子压力大的案例分享咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的改运方法咨询【σσЗ8З55О88О√转ihbwel 为什么过世的原因分析【www.richdady.cn】√转ihbwel 邪灵的驱除仪式咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵、邪灵、祖灵咨询咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 什么原因意外的前世记忆咨询【企鹅383550880】√转ihbwel 什么原因意外的心理调适咨询【微:qq383550880 】√转ihbwel 与公婆前世的因果关系咨询【σσЗ8З55О88О√转ihbwel 感情纠纷的原因分析咨询【σσЗ8З55О88О√转ihbwel 儿子不读书的原因分析咨询【σσЗ8З55О88О√转ihbwel 前世老婆的前世记忆咨询【www.richdady.cn】√转ihbwel 建设网站的意义 信息安全论坛 常州品牌网站建设 公司网站的开发和网版的重要性 怎么检查网络安全 广东网站建设 搭建微信网站 网络安全公司需要 网站设计书 电商网站设计 上海网站开发制作 深圳 信息安全 案例 第三方营销资源平台上海 网络信息安全评定 isms 智慧城市 网络信息安全 兰州网站设计 网络营销的具体内容 信息安全博士论坛 江阴网站建设 网络安全测评方法 衡水网站制作公司哪家专业微商城网站建设 主要营销方式有哪些 创建网站公司 徐州 营销团队的介绍 以下不属于计算机信息安全的是 客户信息安全保护管理遵循 信息安全检测软件 西安网站建设陕icp 2015年我国信息安全市场规模 天津 网站设计公司 深圳b2c网络营销公司 北京响应式的网站设计 黄国外网站 调颜色网站 万网站 信息安全守则 网站内页 山西信息安全评测中心 杭州市营销方式 公司网站制作策划 信息安全算什么院 上海网络安全备案 公司网站制作策划 济南建网站 小型企业网站设计与制作 2017 信息安全大会 北京网络安全 营销网站页面分析 昆明网站建设费用 广东省红帽杯网络安全 无边界网络安全 信息安全大赛比什么番禺手机网站制作推广 想学习网络营销 信息安全eal3 网络安全应急基础平台 python与网络安全 信息安全保护等级测评标准 网络安全法与征信管理 王者荣耀 网络安全 免费的网站申请 制作网站电话 武汉网站建设网页设计网站制作网站建设公司做企业网站公司 石家庄网站建设找哪家 卫星网络安全 网络营销的发展和趋势 网站好坏 主要营销方式有哪些 搜狗搜索营销 广东省红帽杯网络安全 免费的网站申请 网络安全测评方法 万网站 北京网络安全 网站长尾词 调颜色网站 网络营销的发展和趋势 广东网站建设 重庆微营销商城 网络信息安全事件报告 网站内页 陕西省信息网络安全协会声像资料司法鉴定中心 网络与信息安全硕士 全国大学生信息安全竞赛 2015 上海网络安全备案 网站字体怎么设置 长春网络安全培训班 工控信息安全培训网 建设网站的意义 未来网络安全解决方案发展趋势 信息安全测评与风险评估 网站优化的优势 linux网络安全研究 万网站 网络安全感谢信 南昌网站设计资讯 基于网络品牌社群的营销战略——以北京小米科技有限责任公司为例 怎样才能制做免费网站 信息安全检测软件 单页的网站怎么做的 网络安全未公开接口 信息安全守则 怎么检查网络安全 信息安全事态或事件 渠道策略的网络营销 信息安全eal3 企业网站管理系统 联想网络安全客户端 怎样才能制做免费网站 安徽网站建设 网站建设中图片 关系营销的优劣性 网络安全运营外包 信息安全研究 杭州网站设计渠道 qq群营销是什么 我国信息安全法规概述 公司网站制作商 提高网站安全性 信誉好的龙岗网站制作 网站建设与应用 兰州网站设计 全网营销自助应用平台 网络安全管理平台功能 公安系统网络信息安全,-1 渠道策略的网络营销 信息安全论坛 电信 网络安全 怎么在sql2005数据库里添加一个asp网站的超级用户名 2016中国网络安全报告 第三方营销资源平台上海 网络信息安全评定 isms 卫星网络安全 信息安全事态或事件 杭州网站设计渠道 网站建设首页突出什么 防火墙技术在网络安全中的实际应用 北京网站页面设计