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

<a class="close" href="https://dm6ckd.shenzou.cn/">&times;</a>
国家网络与信息安全信息通报中心技术支持单位网络与信息安全认证资质证书网站图片标签普洱网站建设网络安全专题知识宣传网络安全偷取手机内的信息信息安全和保密的区别营销顾问2015信息安全大赛网络安全法条款导读网络安全 银川班里的美少女转校生告诉我,我们已经被卷入了一场狼人杀游戏当中,随时会死? 可是......为什么我的狼人杀,画风不一样? 深夜,无人居住的房间里传出了诡异的声音, 黑暗的海洋馆深处传来了阵阵婴儿的啼哭声, 桃花盛开的小村庄在黑夜里露出了血色的獠牙...... 我能不玩了吗......时间族本是十分强大的种族,结果被虚空族和阴阳家联手灭族,时间族公主穆灵月也在逃亡中被杀,她临死前将生下的孩子荣天浩托付给了一位高人,随着荣天浩的长大,他逐渐了解到当年真相,为了替父母报仇,也为了复兴时间族,他不断苦修,但此时种族之间也是风起云涌……都说商场如战场,可是有多少人知道期货市场是战场上刺刀见红的前沿阵地? 人生就像k线图,有阴线,也有阳线。 是怎样的人生经历,让男主角发出了“向左看,一目了然;向右看,一片茫然!”的感慨? 请走进这部小说,走进书中人物的内心世界,一窥主人公在漫山遍野芬芳中的情感历程,回望期货市场波诡云谲的变化,体会一飞冲天的快乐,也品尝泥沙俱下的痛楚。 本故事人物﹑情节均为虚构,若有雷同,纯属巧合。 人穷七分彻骨寒,落魄冷暖见人心。   求人如吞三尺剑,靠人如上九重天。   杨磊带着金手指重生回2004年夏天。   以十六岁的身体一力承担起不属于他这个年龄的重担。   挽救父母亲于水火之中。   让濒临绝望的家庭恢复生机。   更在古玩收藏这个行业里掀起阵阵腥风血雨。   在温馨搞笑又有些痞坏的日常生活中,不知不觉的成长为行业内令人侧目的大佬级人物,坐拥美女与财富,静观天下风云变幻。我本无意争锋,却被迫推上高位,在血与火中,一步步走到天的举世瞩目的高度,那么就剩下天了......来自他的故事传奇。他是国之重器,科研天才,国士无双! 她是国民女神,国色天香,迷倒众生。 重生到另一个世界的洛铭,激活了系统。系统给予的奖励条件为暗恋,暗恋时间越长,奖励越丰厚。 谨慎选择了自己的暗恋对象云雨蝶之后,经历五年时光,作为可控核聚变,空天航母,外骨骼机甲等高端科研项目总工程师的洛铭,载誉归来。 而他不知道的是,在不久之前,已经成为国民女神,甜美天后的云雨蝶竟然在歌手巅峰对决节目中向他表白了。 原来这个可爱的女神,也在暗恋着洛铭。 五年一别,五年暗恋,五年思念,再次相逢,这对神仙眷侣开始谱写传奇而甜蜜的人生!上古末年,万族混战,天崩地裂。 万古之后,诸帝消失,仙门关闭。 一代大帝为开辟仙门遭遇世间最可怕大劫而陨落。 千载之后,携无上神鼎归来,再战苍穹。 宋末,蒙、金、宋战乱不断,南宋李庭芝、李继先、张世杰三位从小长大的兄弟,一起读书、练武,心怀大志,有勇有谋,共同投身于保家卫国的行列,李继先先后结识了诸如余玠、杨亮节、李芾、王坚、文天祥和陆秀夫等名臣名将,又结识了诸如慧通、玉虚三仙、桃源四剑、潇湘剑客、剑南六洞仙等江湖豪杰,他们虽然出身不同,性情和志向各异,但最终都聚合到了抗敌保国的队伍中,他们忠心于国,侠义冲天,文武超群,在政治与江湖间穿梭,同奸臣、叛徒、敌军、仇人不断对战,最后随着南宋的一路失败和灭亡而纷纷牺牲,余留之人最后看到元朝新生气象后,感到天下一统是民心所向,便顺应大势,退隐山野。我本无意争锋,却被迫推上高位,在血与火中,一步步走到天的举世瞩目的高度,那么就剩下天了......来自他的故事传奇。妖魔乱世,鬼怪猖獗,大离皇朝动荡不安。 张韬一觉醒来,发现自己成为一名命不保夕的捉妖人。 妖魔图鉴,万物可辨。 凡是入手经过的妖魔鬼怪,都是不可多得的财富! 张韬惊喜发现,他竟然可以通过点亮妖魔图鉴,获取各种奖励... 阴冥之眼,九幽之瞳,换头术,赤霄真经,御神宝决,浮屠魔塔,九碑妖石,法相天地,长生不灭......
珠海移动网站建设公司排名建网站怎么上线 如何快速提高网站排名 沈阳信息安全培训课程,-1 昆明购物网站建设 国内 信息安全 全球信息安全认证 营销主要是营销什么 大连网络安全公司 无线网络安全设置方法 北京市委网络安全和信息化领导小组 性压抑的前世因果咨询【www.richdady.cn】 亲子关系的互动模式有哪些?咨询【www.richdady.cn】 为什么过世的前世记忆【www.richdady.cn】 心特别累的咨询技巧【www.richdady.cn】 营养不良导致的头脑混沌咨询【www.richdady.cn】 发育倒退的咨询技巧【微:qq383550880 】√转ihbwel 儿子不读书的教育建议【www.richdady.cn】√转ihbwel 精神不振的自我提升咨询【www.richdady.cn】√转ihbwel 工作压力大导致的精神不振【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子抑郁症的自我提升咨询【微:qq383550880 】√转ihbwel 邪灵的定义与特征【企鹅383550880】√转ihbwel 投资项目的风险评估【www.richdady.cn】√转ihbwel 公司破产的前世因果【企鹅383550880】√转ihbwel 什么原因意外的前世因果咨询【www.richdady.cn】√转ihbwel 家庭关系咨询【微:qq383550880 】√转ihbwel 与男友前世的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老婆的识别方法【σσЗ8З55О88О√转ihbwel 如何缓解耳鸣症状咨询【www.richdady.cn】√转ihbwel 与公婆前世的识别方法【www.richdady.cn】√转ihbwel 感情纠纷的自我提升【微:qq383550880 】√转ihbwel 通信网络安全合格证 第三方营销平台的发展 网站设计样式 信息安全办公室,-1 网络安全工具包 nst 动态页网站 信息安全等级保护技术 如何快速提高网站排名 网站图片标签普洱网站建设 衡阳做网站 网络安全 银川 网络营销新闻稿 网络营销信息传播效果 网络与信息安全认证资质证书 全国信息安全等级考试 网络营销经典案例 深圳新媒体营销平台 昆明的房产网站建设 分析公众平台营销策略 信息安全主要课程 营销环境调研 功能性网站制作 病毒式营销淘宝 免费个人网站 昆明网站优化 信息安全测评项目 重庆网站制作 信息安全保障协议书 系统 jquery网站两排图片滚动带左右按钮控制两排图片滚动轮播代码 信息安全等级保护技术 网站图片标签普洱网站建设 上海高端建站网站 网络安全培训意义 网络安全加固设计方案 有哪些营销公司 美国网络安全研究现状 网络安全技术视频教程 网站加外链 网络营销新闻稿 营销顾问 深圳网站制作公司 讯 邮件营销是无效的 同方信息安全 深圳网站制作公司 讯 网络营销信息传播效果 深圳新媒体营销平台 国内最好的信息安全公司 免费建立自己的网站 如何快速提高网站排名 网络安全培训机构有 信息技术与信息安全 linux系统的优点完全免费代码开源 无线网络安全设置方法 网络安全渗透测试 isg信息安全 昆明网站优化 计算机信息安全的基本要素 信息安全技术 信息系统等级保护安全设计技术要求,-1 上海高端建站网站 重庆的网站建设公司 信息安全攻防技术公司 互联网效果营销 优质的营销网站建设 企业官网响应式网站 信息安全认证包括哪些 网页创建网站 全国信息安全等级考试 网站背景音乐 济南免费做网站 功能性网站制作 信息技术与信息安全 linux系统的优点完全免费代码开源 设计网站的优势 郴州网站建设公司 怎样网络营销 网站左侧滚动带微信二维码的jquery在线qq客服代码 大学营销部 网络营销经典案例 lte信息安全性 网络营销的技巧是什么 深圳网站建设公司 乾冠信息安全 网站加外链 网络安全培训意义 网络营销服务的作用 全国网络安全知识大赛 网站用字体 网络安全工具包 nst 网站背景音乐 通信网络安全合格证 大连网络安全公司 重庆微信网站开发公 互联网效果营销 网站建设业务前景 河北省信息安全协会 营销主要是营销什么 网页制作淘宝网站建设 信息安全厂商 网络安全动漫 全球信息安全认证 屈臣氏的市场环境对营销活动的影响以及带来的机遇与挑战网站类型网站名称表现主题内容设计色彩搭配服务对象综合网站个人网站 中关村信息安全测评考试 信息安全等级保护技术 佳木斯网站建设 营销环境调研 昆明购物网站建设 昌平网站设计 网络营销工具分为沟通类 佳木斯网站建设 信息安全师国家职业 济南免费做网站 网络安全测评培训教程 网站用字体 信息安全主要课程 网站建设业务前景 信息安全等级保护技术 功能性网站制作 edm营销课程 有哪些营销公司 免费个人网站 河北省信息安全协会 互联网效果营销 信息安全测评项目 网络营销策划教案 屈臣氏的市场环境对营销活动的影响以及带来的机遇与挑战网站类型网站名称表现主题内容设计色彩搭配服务对象综合网站个人网站 lte信息安全性 重庆微信网站开发公 企业官网响应式网站 网络安全渗透测试 网站建设颜色注意事项 网络信息安全测评师 高端网站建设 最流行的网站设计风格 网站左侧滚动带微信二维码的jquery在线qq客服代码 第三方营销平台的发展 2015信息安全大赛 2016网络安全大事件