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

<a class="close" href="https://d8u.9401.com.cn/">&times;</a>
建和做网站网络营销系统功能网络安全关注的问题有哪些方面网络安全宣传主题是什么网络安全课程app时事营销网站建设案列网络安全年会网络营销方法的概念信息安全管理服务网络安全平台2017 农村小伙秦天继承太乙神针,身怀失传古医术,被誉为一代天医, 从此他时来运转,纵横天下。  “神医,首富已经在门外等了你几个小时了,什么时候给他看病?”   秦天躺靠美人怀,摆摆手说道:“让他等着……”曾是身为贵族的公子,遭到王子的残酷迫害,被迫流离失所,为夺回曾属于自己的一切,解救天下苍生于水火,走上了复仇与救世的传奇历险。论剑道,他已剑意凝魂;论天资,他解人魔不和之体;论实力,他一人一剑一法一道杀尽世间之敌; 人魔共体的他被人魔所弃,魔族高贵的魔族公主,桀骜的人族太子,他又将何去何从……  李乘风穿越到一个妖魔横行的世界,成为青城山的一个守山人。   奈何他没有灵根无法修炼,只能安安分分做一个普通人。   但是有一天,他的系统突然变异了,从此成了一个令一众妖魔闻风丧胆的得道高人……   这妖怪也太弱了,我都没有出剑呢,怎么就死了。   我养的一条狗,居然是横扫妖界的一方妖王。   我池塘里的乌龟,竟然蜕变成了洪荒神兽。   之前跟我下棋的老头子,最后竟然成仙了。   还有那个最喜欢听他吟诗作对的漂亮姐姐居然修仙界第?仙?。   知道这些真相之后,李乘风开始怀疑人生:   我该不会真成为绝世高手了吧? 面对死灵族,封印着怪兽八梼的佣兵,最后能否成为拯救世界的力量?神秘的空间系元素亲和力,诡异的星辰剑,亚夏人的先祖吴道轩视乎留下了什么秘密……断桥似断非断,其实还若离若即。昨宵尚重迴,今朝已甦醒,且早恨不归。心事痕迹,频频扰梦里。早安,晚安,我的心急上人。苔花纵如米粒小,也慊慊辄学牡丹开。我虽卑微娇弱,亦会似芳菲璀璨奕偞。白日曣曣不到处,青春骎寻恰自来。惟愿孜孜矻矻、勤勤恳恳的度过朝朝暮暮。不平凡的男人和不平凡的女人相遇在一起,会产生什么效应? 是悲惋动人凄美缠绵的恋爱故事吗? 不平凡的浪子和不平凡的狂人相遇在一起,又会谱写出什么? 是惊心动魄荡气迴肠的英雄故事吗?   乾坤宇宙,总有意想不到的东西存在。 世间万物,总有光明与黑暗的一面。 万人欢呼的胜利者,得到的是王者的荣耀!   穷途末路的落败人,得到的是最后的悲歌!   命运如同交织的乐曲回响在世界之间。这及是无法逃脱的牢笼也是对命运的反抗,以自身不曲意志之声构建独一无二的命运乐章 及为命运回响!石小方是个很方正死板的人,说了不能妥协就是不能,说了不能少泡一个就是不能,一直以自己所能想到的各种无耻借口做着方正而死板的自己。但是现在的他很方,他只是个打算如方石一般横扫过人生这个终将有终点的大滑坡,怎么突然就告诉他,这个滑坡之下,是修真界这片汪洋大海呢? 俗世百年,我的钱呢?我的妞呢?我的七情六欲,你一片海就要我全丢了,去做你的定海神石?想得美呢吧老头子们!我叫牧冬,我的世界存在着一种名叫天劫的怪物,幸好,与此同时,有一群正义的超级英雄们挺身而出,与之对抗...... 直到那天,这个游戏出了BUG,不再自动刷新和删除记忆。
深圳网络安全支队 中国移动网络安全竞赛 网站沙盒期 模板建网站 seo网络营销 优帮云 我们常见的对信息安全的误区有哪些方面 有关风水的网站建设栏目 网络安全等保 网站建设案列网络安全年会 西电信息安全专业排名 前世今生的咨询方式【www.richdady.cn】 投资项目的收益分析咨询【www.richdady.cn】 耳鸣的案例分享【www.richdady.cn】 前世今生的梦境解析咨询【www.richdady.cn】 冤亲债主的干扰解决方法咨询【www.richdady.cn】 去世的母亲的前世故事咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的婚姻建议【www.richdady.cn】√转ihbwel 冤亲债主干扰的超度方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的案例分享咨询【微:qq383550880 】√转ihbwel 干扰的常见类型咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的教育建议咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的超度与化解咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的前世记忆【微:qq383550880 】√转ihbwel 无形干扰的原因分析咨询【σσЗ8З55О88О√转ihbwel 前世缘份对现世的影响【σσЗ8З55О88О√转ihbwel 前世今生的修行案例【企鹅383550880】√转ihbwel 冤亲债主的定义【www.richdady.cn】√转ihbwel 如何克服“缺心眼”的问题咨询【企鹅383550880】√转ihbwel 事业不顺的职场突破技巧有哪些?咨询【www.richdady.cn】√转ihbwel 事业发展瓶颈突破威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 高端公司网站 网站的版式 中国网络安全交流中心 免费网站域名申请 网络安全课程app 河北网站制作 网站防复制 模板建网站 网络安全能力认证考试 windows server 2003网络安全试题 信息安全资质包括哪些 工控系统网络安全 互联网品牌营销专员 上海网络营销服务外包 网络营销方法的概念 营销的发展 高端公司网站 网站的版式 中国网络安全交流中心 免费网站域名申请 网络安全课程app 河北网站制作 网站防复制 模板建网站 深圳 企业网站建设 网站推广费用 网络安全等保 上海有名的做网站的公司 美团采用什么营销模式 网络安全课程app 营销的定义及作用 太原免费网站建设 有关风水的网站建设栏目 网站建设素材使用应该注意什么 信息安全发布 新产品拓展 信息安全,-1 珠海移动网站建设费用 网站建设seo优化公司 网络安全关注的问题有哪些方面 网络和信息安全 外交政策 外贸网站制作 大学 网络安全治理 常州网站推广机构 营销模式饥饿营销 网站推广费用 苏州做网站推广的公司哪家好 建设营销型网站的要素 绿盟科技 网络安全排名 网站的内容 cissp 通信与网络安全 信息安全等级保护 ppt 网站制作报价 深圳网络安全支队 四平做网站 网络安全技术培训 营销的发展 中国网络安全基地 信息安全逆向分析题目,-1 西电信息安全专业排名 上海有名的做网站的公司 企业网络安全防护 常州网站推广机构 我们常见的对信息安全的误区有哪些方面 互联网品牌营销专员 网站站欣赏 美团营销 seo网络营销 优帮云 东莞网站制作 成都高新区 信息安全 成都 国企 网络安全 信息安全逆向分析题目,-1 台州网站优化 网络信息安全攻防 推广微信营销手机厂家 知名信息安全公司排名 网络安全编程 python 中国移动网络安全竞赛 信息安全发布 网站制作报价 目前的信息安全形势,-1建设网站团队 国家信息安全管理中心待遇 佛山网站建设的首选 建和做网站 上海信息安全师招聘 信息安全等级保护二级,-1 企业一站式营销 定制网站 免费网站域名申请 网站建设可以帮助企业 网络安全风险感知 提供网站建设的公司 营销销售 淘宝如何实现网络营销 知名信息安全公司排名 建功能网站 高端公司网站 php大型网站设计 深圳 企业网站建设 商城网站要怎样设计 为什么要做一个营销型网站 美团采用什么营销模式 营销方案技巧 网络安全风险感知 网站建设学校 龙岗网站制作效果 上海柯力士信息安全技术有限公司 西电信息安全专业排名 网站改版完成 公共网络安全厂家 太原免费网站建设 上海信息安全师招聘 信息安全等级评测师 昆明网站设计电话 中大信息安全专业 网络安全协议都有哪些 深圳网站设计制作 增城做网站 php大型网站设计 信息安全指数分级 信息安全等级保护 ppt 上海有名的做网站的公司 2017信息安全峰会 杭州信息安全测评 中国网络安全基地 cissp 通信与网络安全 网站防复制 关于网络安全检查 信息安全业务现状分析 信息网络安全评估的方法 网络安全故事 营销投稿大连营销公司 网络安全等保 2017信息安全峰会 模板建网站 电子商务网上营销