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

<a class="close" href="https://ohv.shenzou.cn/">&times;</a>
如何做搜索引擎营销策划全屏类网站聂森 信息安全微信营销成功的案例四川省信息安全测评中心业务微网站功能苏州企业网站澳门网站建设自己制作网站广州云创通营销手机(杀戮果断+外挂+无圣母+后宫)主角叶安凭借前世三年末日经验从人性与丧尸与无数变异生物展开了剧烈的杀戮。 重生一世,蓦然发现这一世能看到所有物品信息包括各种前世未出现的不知名怪物。看到了物资箱,看到了几万年甚至几万年乃至几百年的隐藏古墓(遗迹) 叶安:这一世有了准备,一定要超然所有生物之前...... 特战精英深入敌后昆捣毁了敌人的雷达站,在敌人的导弹轰击下昏迷被俘,从此开启了为被俘士兵雪耻,捍卫华厦掘起的征程。万峰穿越到了一个武道盛行的世界,同时这个世界妖魔盛行。 妖魔害人,鬼怪作恶…… 万峰觉醒系统,以一把刀在这个神诡世界杀出一条生路。 一刀劈开生死路,两脚踏出是非门。 蓦然回首,万峰发现自己已经横推了神诡世界。皇帝倒台后,各地军阀割据,民不聊生。货郎一家五兄弟各自走上不同的道路,老大小货郎一步步逐渐做成大生意,开的分号遍及周边。鼎盛时期竟然可以自己发行小区域流通货币。 老二在家务农种田。老三更是成为一代当地名医。老四和老五分别参加了不同的对立双方,直至把枪互相。怎样抉择?敬请阅读本书都市的霓虹,血色的江湖。我的江湖,我来了。我带着大妖混江湖。 封林是一个在北京潘家园旧货市场开旧物店的小老板,一次在给店里的老房屋装修的机会,竟然在家里墙壁地下暗格发现一个密室,不太大的密室角落里有着一口上了锁的红色的木箱子,盒子打开后里面有着几样东西,一块巴掌大纯金的腰牌。 一本非常破旧的遁甲巫术古书, 还有着一本记录了很多秘事的明朝古书,还有一张残缺不全的地图,箱子里面藏着很多的秘密,让他知道了自己的家族竟然是一个传奇盗墓家族的后人 从古至今的家族秘密缓缓的被揭开,父亲的突然消失,也与此事有关,是为了寻找哪些传说中的东西。 自己兄弟的回归,退役特种兵赵雷,去追寻着父亲的脚步去寻找那传说中的古遗迹,不得不踏入那些恐怖之地。 入活人的禁区,与僵尸斗法,与活人斗智,有一张尸面的鬼狐仙,荒冢野坟墓里的媚女,害人的白皮千年老狸子,披着美女人皮的行尸走肉,几十年难得一见沉没在海里的幽灵鬼船。 一张残破不全的地图,一截刻满符文的龙骨,到底藏着什么秘密? 过忘川,通彼岸,便是奈何之桥。往生之人走过奈何桥,回首望乡台便是道别,而喝了孟婆汤,则是与此生了却因果。当然地府不只有这些..... 无间地狱往往被世人误解为十八层地狱,阎王为地狱之首,属下十八位判官分别主管着十八层地狱。然而事实并非如此。地狱乃是十殿阎罗,分别掌管着十方鬼域。而这十殿阎罗以地藏菩萨为首,共同镇压着一只大妖,那就是曾经随唐三藏西天取经的孙悟空。十年前,滨海第一大家族林家一夜之间被灭族,唯一幸存者林玄被一路追杀,所幸危急时刻被一个小女孩救下,北上逃难。 十年后,林玄成为一代王者,但却在加冕当天卸下王冠,回到滨海......作为一个光头,还被作者写成了丑男,这是一种什么体验?敌人是什么风格重要吗?敌人的背景强大重要吗?敌人是什么品种重要吗?敌人的血统重要吗?该有的咱都不缺,小心谨慎的......莽就完了!很合理吧?我们是敬畏法律的人 我们是粉碎法律的人 我们是服从法律的人 我们是背叛法律的人 我们是罪人,我们是堕落的旅者,是黑暗中的朝圣者 我们是光芒,我们是神圣的使徒,是光明的引导者 我们是 城市之光,是夜晚的话事人
网络安全协议理论与... 网络安全和java工资 优秀网站设计欣赏 8469网站 网站信息安全解决方案 成都网站开发公司 郑州市公安局网络安全 1. 信息安全的目标是: 友情网站制作 信息安全 细则,-1 家庭关系的沟通技巧咨询【www.richdady.cn】 儿子不读书咨询【www.richdady.cn】 冤亲债主的干扰与超度【www.richdady.cn】 精神不振的前世记忆咨询【www.richdady.cn】 感情纠纷的改运方法【www.richdady.cn】 莫名其妙感伤的自我提升咨询【企鹅383550880】√转ihbwel 迟缓儿的环境影响【www.richdady.cn】√转ihbwel 孩子压力大的教育建议咨询【企鹅383550880】√转ihbwel 自闭症的治疗方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 公司破产咨询【企鹅383550880】√转ihbwel 与女友前世的前世案例咨询【微:qq383550880 】√转ihbwel 与公婆前世的识别方法【σσЗ8З55О88О√转ihbwel 灵魂化解【σσЗ8З55О88О√转ihbwel 公司破产的法律咨询咨询【σσЗ8З55О88О√转ihbwel 有官司的心理调适【σσЗ8З55О88О√转ihbwel 去世的父亲的前世记忆咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世的前世缘分【微:qq383550880 】√转ihbwel 意外的前世修行【www.richdady.cn】√转ihbwel 冤亲债主干扰的前世因果【σσЗ8З55О88О√转ihbwel 人际关系不好的案例分享咨询【企鹅383550880】√转ihbwel 四川省信息安全测评中心业务 外贸网络营销课程总结 湖南网站制作电话 旅游网站建设方案 互联网营销和传统营销的区别是什么 公司信息安全管控 天津信息安全公司排名 微信群如何做网络营销 网络营销总结与分析报告 长沙网站设计开发 2017年信息安全竞赛 网络安全的主要威胁有 信息安全竞赛 ctf 外贸网站设计制作 2017玩转网络营销 澳门网站建设 国家信息安全评测中心 友情网站制作 石家庄网站建设外包公司 山东网络安全大赛报名 太原网站定制 黄骅做网站|黄骅网站|黄骅百度优化|黄骅百度推广|黄骅微信|黄骅 信息安全竞赛 ctf 营销型网站策划 广州云创通营销手机 建网站要学什么 信息网络安全技术培训 无锡网站优化 网络安全协议理论与... 全屏类网站 两栏式网站 网站降权 互联网营销和传统营销的区别是什么 网上超市的网络营销 edm营销招聘 上海网站制作公司 国家信息安全评测中心 如何选择番禺网站建设 网络营销应用生活案例分析 如何做搜索引擎营销策划 自己制作网站 网络营销应用生活案例分析 无锡网站优化 百度验证网站 聂森 信息安全 超低价的郑州网站建设 上海专业做网站排名 2017年信息安全竞赛 互联网 网络安全 网络安全准入控制系统 我需要网站 营销形网站 2013-2014企业存在的网络信息安全与管理的例子与分析 公安机关网络安全 信息安全竞赛 ctf 深蓝 信息安全 石家庄网站建设外包公司 西安网站制作工作室中国国家信息安全系统 2017玩转网络营销 台州做网站优化哪家好 山科信息安全怎么样 沈阳营销咨询公司 网络安全的主要威胁有 信息安全 应急响应与故障恢复 风险评估 湖南网站制作电话 佛山网站建设网络安全法对央行履职 上海 互联网营销公司排名 互联网 网络安全 中山电商全网营销 成都网站开发公司 南昌网站设计网络安全威胁情报市场 平阳网站制作 大良网站公司 建站宝盒网站制作系统 v5.0退出保持登陆状态 帮助 预览 发布 市场细分与目标营销 信息安全测评认证信息 信息安全 应急响应与故障恢复 风险评估 网络营销十大问题总结 中国平安信息安全 互联网营销和传统营销的区别是什么 edm营销招聘 网络安全方面的认证 胶州做网站 天津信息安全公司排名 长沙网站设计开发 上海网站制作公司 2013-2014企业存在的网络信息安全与管理的例子与分析 成都网站开发公司 网站带后台 2013-2014企业存在的网络信息安全与管理的例子与分析 沈阳营销咨询公司 最有吸引力的营销活动 网络信息安全标准 网站建设 宁夏 山科信息安全怎么样 无锡网站优化 营销形网站 微信群如何做网络营销 互联网加数据库营销 中国平安信息安全 微信营销有多少种方式 免费域名网站的 网站建设项目 2014 网络安全 信息安全的公司排名,-1 上海专业做网站排名 信息网络安全技术培训 重庆做网站团队 无锡网站优化 建交友网站 小红书的营销模式 中山电商全网营销 景区网络营销策划方案 h5制作企业网站有哪些优势 2017年信息安全竞赛 营销市场细分的原则 8469网站 国际网络安全顾问 营销型网站策划 网络安全互助平台邀请码今日网络安全事件 番禺网站建设服务 网络安全的主要威胁有 网络营销是电子商务的一种产物对吗 网站建设项目 公司网站建设 信息安全测评认证信息 网上超市的网络营销 澳门网站建设 网络营销总结与分析报告 贵阳建网站 国家信息安全部 景区网络营销策划方案 建网站的程序免费 网络安全和java工资 微网站功能