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

<a class="close" href="https://pgb.shuanshu.com.cn/">&times;</a>
网络营销微观环境包括!网络安全演练流程图营销推广中的seo网络安全威胁的例子以色列 网络安全托管网站分析网络营销环境sem搜索引擎营销概论创新型的顺的网站制作属于网络安全的内容?陆玄因服毒而死,却离奇重生在一片汪洋火海之中,重生的喜悦并没有持续多久,等待他的却是更加危险的世界。 且看我陆玄横刀立马,一路奔驰。诸天气荡荡,我道日兴隆! 楚风穿越到神秘莫测的世界,悲催的发现自己是个瞎子... 外加没有修炼天赋,只能前往蜀山剑宗的封魔塔,擦拭雕像,却不曾想得到了观像就能得到奖励的系统。 【你成功观像蜀山老祖,获得通天圣体!】 【你成功观像蜀山掌教胜七,获得功法,霸天剑典!】 【你成功观像蜀山长老叶玄,获得顶级道法,一剑定生死!】 …… 三百年后,堕落的正道之首乱天宗,联合曾经毒瞎楚风双眸的拜月神教进攻蜀山剑宗,蜀山剑宗危在旦夕! 楚风持剑,脚踩祥云,俯视妖邪,俾睨天下! “仙人之下,我无敌!” “仙人之上,一换一!”新人小白第一本书,一个小故事,每个人都有一个武侠梦我就在你面前,你看我有几分像从前公元2022年世界大变,神话生灵复苏,世界出现觉醒者,各种神话传承遗迹现世,妖魔横行,世道更变,而我只想守护我身边之人,管他魑魅魍魉,我皆一剑斩之,此剑当判神魔谢罪一堆马甲天天掉的沐小姐,和心思缜密的董先生,互相暗恋十年却从来不敢开口。印象里,我好像有一个弟弟。我很小的时候父亲带着他消失了,那个时候我七岁,到现在怎么也想不起弟弟的样子,我甚至会怀疑,这个弟弟,会不会是我闲来无事现象出来的玩伴 嗯……作者新人,喜欢写一点奇奇怪怪的东西,可能还没有逻辑,就……咱们文明评论 六界纪实,十方苦难,八荒弥尘,唯道深远……公元3020年,一艘外星飞船坠毁在了地球上,坠毁飞船泄露的物质造成了大面积的污染,地球安全联合组织将污染区域用10米高的水泥墙进行了封锁,该区域被外界称为第十特区,只有持相关证件的研究人员才能进入,但还是有不少探险者使用各种办法突破封锁,一窥封锁区的神秘面纱…… 绝世联盟最初只是二十一世纪二十年代世界最巅峰的一款网络游戏。 一个普普通通的年轻人张自豪在这个游戏里获得了与别人不同的经历。 一切的起源竟是一件上古修真神器,让游戏世界成了试炼之地。 当然这只是开始,修仙、无限的穿越,张自豪经历过一个又一个亦真亦假的世界。 唯一不变的是互相支持的伙伴! 是为生存而勇往直前不屈不挠的信仰! 只要努力过就不该后悔! 只有看清自我才能修炼成神! 醉仙诚挚的祝各位读者马年行大运,马上有钱!!还有我!!!
信息安全监测预警系统 中国移动网络信息安全,-1 营销学教程 掌握营销app 微博营销诺一网络公关 科技平台网站建设 网络安全威胁的例子 2017网络信息安全案例 会员营销的案例 武汉免费网站制作 婴灵的超度过程咨询【www.richdady.cn】 心特别累的心理调适咨询【www.richdady.cn】 财运不佳的财富管理咨询【www.richdady.cn】 公司破产的心理调适咨询【www.richdady.cn】 缺心眼咨询【www.richdady.cn】 婴灵对家庭的影响咨询【σσЗ8З55О88О√转ihbwel 公司破产后的员工安置问题【σσЗ8З55О88О√转ihbwel 大龄剩女的婚恋经验有哪些?咨询【σσЗ8З55О88О√转ihbwel 如何发现前世缘份【微:qq383550880 】√转ihbwel 冤亲债主干扰的超度方法【企鹅383550880】√转ihbwel 无形干扰威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 灵魂化解威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 个人专属前世因果分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心慌胸闷头晕的咨询技巧咨询【企鹅383550880】√转ihbwel 心慌胸闷头晕的案例分享【微:qq383550880 】√转ihbwel 孩子厌学的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何改善亲子关系?咨询【企鹅383550880】√转ihbwel 为什么过世咨询【www.richdady.cn】√转ihbwel 大龄剩女的婚恋心态咨询【微:qq383550880 】√转ihbwel 亲子关系的自我提升【企鹅383550880】√转ihbwel 脑白金体网络事件营销 如何进行internet信息搜索?有哪些搜索引擎网站? 营销推广中的seo 深圳 网络安全 公司 spark 信息安全 营销核心 上海专业网站设计 太原理工大学网络安全 山东省信息安全等级 网站建设模板是什么 什么是全网营销 全国信息安全大赛2017 创新型的顺的网站制作 airbnb营销的优势 营销 国家信息安全网 企业网站内容更新怎么操作 网络安全与对抗研究 分析网络营销环境 如何互联网营销推广 网络安全设备品牌 网络营销顾问 北京邮电大学信息安全中心 嘉兴网站建设 太原理工大学网络安全 广州建网站wap网站模板 重庆整合营销哪里最好 展示类网站 重庆整合营销哪里最好 重庆南昌网站建设 网络安全培训班哪个好 武汉免费网站制作 网络营销工程师好考吗 第三方人员 信息安全 长沙网站制作服务 网络安全审计系统功能 展示类网站 平邑做网站 深圳信息安全评测中心 网络营销证书查询 滴滴互联网营销案例 网络安全与对抗研究 网络营销包含 顺义手机网站设计 医院网络营销技巧 泰安网站制作 开源信息安全管理系统 微博营销诺一网络公关 想自己建个网站 机器人 信息安全 医院要怎样营销方案 陕西信息安全管理中心地址 有pc网站 青岛制作网站 不属于网络营销内容 番禺网站建设培训 做内贸现在一般都通过哪些网站 美团内营销 微信营销含义 网络与信息安全范畴有 西安网络安全比赛 汽车的信息安全指哪些 网络营销结束语 网络安全 日本 网站策划方案 营销策划案的理论意义 创新型的顺的网站制作 如何进行internet信息搜索?有哪些搜索引擎网站? 番禺网站建设培训 保定哪里有做网站的 招聘网络安全 信息安全事件 2017,-1 广东网络安全周 网络营销工程师好考吗 网站的框架 科技平台网站建设 机器人 信息安全 公安部网络安全保卫局 电子商务可能存在哪些不安全因素?一般可采取哪些网络安全措施 信息安全等级保护作用 网络安全问题产生的原因包括( ). 深圳网站建设新闻 信息安全的虚拟世界 营销 国家信息安全网 医院要怎样营销方案 网络营销市场定位策略 深圳 网络安全 公司 平邑做网站 思尚营销 social营销是什么意思 信息安全培训小游戏,-1 大连建网站 通辽网站制作公司 滴滴互联网营销案例 保定哪里有做网站的 上海专业网站设计 网络营销策划综合方案 邮件营销的优点 会员营销的案例 计算机网络安全是什么 德阳做网站 长沙网站制作服务 公安部网络安全保卫局 it网络安全培训 微信营销含义 平阳网站制作 平邑做网站 可信网站验证 it网络安全培训 网站建设公司价格 重构网站 南京网站设计 分析网络营销环境 美团内营销 可信网站验证 科技平台网站建设 互联网文化营销 全国信息安全大赛2017 airbnb营销的优势 属于网络安全的内容? 网络营销微观环境包括! 旅游网站建设方案 第三方人员 信息安全 建交友网站 西安网络安全比赛 网站建设模板是什么 电子商务可能存在哪些不安全因素?一般可采取哪些网络安全措施 创新型的顺的网站制作 上海专业网站设计 网络营销工程师好考吗 学生对网络营销看法 广东网络安全周 网络信息安全 网络间谍 数据 浅论网络营销