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

<a class="close" href="https://mwsb.9401.com.cn/">&times;</a>
石家庄网站优化公司不能网上营销的行业品牌网站建设多少钱苏州网站建设logo石家庄网络安全公司排名网络安全公司招聘信息个人微信营销案例张家口网站建设东莞外贸网站推广2016信息安全大事件 前世,杨羽自暴自弃,整天鬼混,导致妻子女儿惨死眼前。   今生,杨羽仙帝归来。   有仇报仇,有怨报怨,守护妻女,所向披靡! 空间站机器人和地面站失联,生产这种机器人以及支持机器人运行的公司也发现自己的加拿大服务器同时失联,更发现正在国外度假的董事长一家在几个小时以前也失联。与此同时,市内发生一起未遂谋杀案。四件看似毫不关联的事情其实起因于同一件事,一个在日本的古老家族正在完成一件2000年来徐福交给该家族祖先的任务,进入喜马拉雅山山脉下的悬空之地,获得大地之心,从而掌控穿梭于不同时间维度的方法。 穿越于不同的时间维度,相当于获得长生;但如何穿越于不同时间维度是个问题,穿越后会发生什么事又是另外一个问题。 这是一个挂着科幻和推理羊头,写着人性的故事。因为, 人不能随心所欲支配行为,所以人,都是傀儡一样的存在。陪朱棣走过最艰难的一段路。 这是个赘婿奋斗在乱世的故事。“蓝星保卫战一级将士贺华,恭送龙将军!” “伏羲舰队全体舰员…恭送龙将军!” 九九年蓝星保卫战一役在跨越时代的钟声和烟花中,伴随着第一批零零后的婴儿哭声蓝星赢来了新的纪元! …… 二十年后,一个男人从南极的最深处走出,他承载着九九年的绝大部分的过往给所有的蓝星人类带回一个巨大的秘密! “什么?” “九九年的外星保卫战他们战胜的只是先锋部队,一**炮灰…!” “时隔二十年,真正的入侵即将正式展开!” 人类危机存亡之际,原本“死去”二十年的伏羲舰队舰长龙五从南极最深处带着人类最后的希望走出! “我名龙五,龙的传人,武安天下!” “大厦将倾在即,愿挽天倾者随我一起…发起反攻!”一个高中毕业的学生,带着一个幸运的锦鲤穿越各种平行世界,在各种平行世界中,他都是最强大的那个人...疑难杂症,罕见绝症,一切我都手到擒来,玉石翡翠,文玩古董,一切真伪我都轻松分辨!校花,空姐,总裁,一切美女都为我倾倒!因为我有一双看破虚妄之眼。 落魄医道家族秦飞宇意外激活家传至宝,拥有透视眼,获得家学,从此成为一代医学圣手!非典型的轻玄幻武侠载体。素不相识的两人,共同走入面对血狱幽冥傀儡的故事中,历经九洲大地,看遍风起云涌,知天下疾苦,晓人间冷暖,从出西秦始,至返蜀中止,在神州大地划了个大圈,圈尽世间百态。真红之血的互相共融,相识,相助,相知,相爱,志向共同的江湖儿女,同行,同心,同德,同力,共同营造出了一个激荡写意的家国江湖。无闯浩星,战九族,吾终为帝君主角熬夜冲分后猝死,携带刀塔系统穿越到西方世界,他可以使用所有刀塔英雄的技能和物品,且看他纵横神人魔三界,和各族强者绝于大陆之巅,成就不朽传说。
虚拟化 企业信息安全 计算机网络安全怎么样 公安部信息安全 全面的网站建设 武汉网站建设网页设计网站制作网站建设公司做企业网站公司 网站推广网 工控企业信息安全 网络安全 销售公司 it信息安全做什么 镇江网站建设公司 去世的父亲的前世修行【www.richdady.cn】 冤亲债主的干扰与解脱咨询【www.richdady.cn】 如何了解自己的前世今生?【www.richdady.cn】 与女友前世的故事分析咨询【www.richdady.cn】 潜能开发与自我提升【www.richdady.cn】 事业不顺的解决之道威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 老公家暴的案例分享咨询【σσЗ8З55О88О√转ihbwel 婴灵的超度方法咨询【www.richdady.cn】√转ihbwel 前世今生的轮回真的存在吗?【www.richdady.cn】√转ihbwel 升迁障碍的职场转型技巧有哪些?【σσЗ8З55О88О√转ihbwel 前世今生的轮回有哪些科学依据?【σσЗ8З55О88О√转ihbwel 与男友前世的前世缘分咨询【微:qq383550880 】√转ihbwel 儿子不读书的前世记忆咨询【微:qq383550880 】√转ihbwel 成人发育倒退的可能症状咨询【企鹅383550880】√转ihbwel 意外的前世故事咨询【企鹅383550880】√转ihbwel 意外的心理调适咨询【微:qq383550880 】√转ihbwel 去世的父亲的影响分析咨询【σσЗ8З55О88О√转ihbwel 纠纷的案例分享【企鹅383550880】√转ihbwel 性压抑的原因分析【企鹅383550880】√转ihbwel 精神不振的自我提升咨询【微:qq383550880 】√转ihbwel 企业之后网络营销对比 信息安全 实践 建个简单网站 网络安全网络探测实验 山西网站制作公司 关于淘宝营销 it信息安全做什么 百度网络营销策划实咧 微观环境营销中介南京营销型网站 精美网站 b端c端营销 新国际网络安全吗 自贡网站优化网站设计的文案 许可email营销的运用 上海定制网站建设公司 不能网上营销的行业 石家庄网络安全公司排名 张家口网站建设 设备和网络安全专用 微观环境营销中介南京营销型网站 全球信息安全 电商网站建设新闻 自贡网站优化网站设计的文案 网络安全技术实验报告 网络安全环境3部分 营销活动网 青岛网站建设 网络整合营销公司 网站背景色 网络渠道营销策略 网络安全是指 品牌网站建设多少钱 山西网站制作公司 网站红蓝色配色分析 福建网络安全周 电商网站建设新闻 检查网络安全性 中国信息安全问题日益突出的标志是什么 长沙网站制作电话 网络信息安全难学吗 北京网站制作排名 长沙网站制作电话 石家庄网站优化公司 企业网站管理系统 信息安全规划 天津市公安局网络安全 公安部信息安全 b端c端营销 重庆网站平台建设 病毒防范与网络安全 信息安全EAL买网站模板 广州市信息网络安全协会 网络整合营销公司 网络安全 销售公司 网络安全思维导图 网络营销第5版中文13章 信息安全整体规划方案 网络安全交流会 央企网络安全 网络安全的基金 情感营销怎么聊天 上海网站建设企 新国际网络安全吗 信息安全动画 建个简单网站 信息安全基础设施包括 网络信息安全测评机构 重庆网站平台建设 上海定制网站建设公司 建官网个人网站 信息安全规范是 微信网络安全 案例网站 信息安全服务行业 镇江网站建设公司 2015工控网络安全态势报告 信息安全动画 装饰网站建设 重庆营销策划服务有限公司 山西网站制作公司 福建网络安全周 信息网络安全公安部 网络营销直接环境包括哪些 营销软件代理 不能网上营销的行业 广东网络安全法研讨会 石家庄网站制作公司 公安部网络安全电视电话会议 中型网站 网络设置的网站 温州微网站制作公司推荐 信息安全规范是 宁波信息安全公司排名 网络安全专业全球排名 信息安全顶级学术会议 东莞公司网站制作 网站设计) 情感营销怎么聊天 蠕虫病毒网络安全 信息安全的新闻 网络安全和信息化小组 保定网站制作推广公司 苏州企业网站建 青岛网站建设 网络安全主题文稿 全球经典营销策划案例 东莞公司网站制作 网站前台 网络汽车营销策划 潍坊网站优化 wifi网络安全机制 网上超市的网络营销 信息安全等级保护条例 微信营销成功案例 国家网络安全园区 网络安全保卫局官网 网络信息安全难学吗 网站推广网 网络安全社区 金融 信息安全体系建设方案,-1 上海网站建设企 网络安全生态体系 采用邮件营销企业 苏州企业网站建 北京信息安全企业排名 网站背景色 信息安全基础设施包括 张家口网站建设 网络安全环境3部分 宁波信息安全公司排名 保定网站制作推广公司 信息安全等级保护条例 许可email营销的运用 网络安全属于互联网 网络安全公司招聘信息