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

<a class="close" href="https://zpsb2jn.se5g.cn/">&times;</a>
企业qq跟营销qq哪个好用吗国安 信息安全网站的访问量网站价钱社区群营销方案社区群营销方案深圳h5网站公司西安网站seo精细化管理 网络安全禅城区做网站策划有朕在,休叫山河破碎,五胡乱华,汉家儿郎当奋起反抗,扬华夏文明,汉家天下永固,大燕铁骑纵横天下,朕决定开启航海殖民时代,凡日月所照,山河所至,皆为燕土,一寸山河一寸血,华夏子民当屹立世界之巅。长安巷一夜灭门,看主角如何江湖逃亡,如何历经劫难,如何练成绝学,如何快意恩仇。本书有英雄喋血,有儿女柔情,有宫廷之变,有正邪之争,故事曲折,笔法取自金、梁、古三家,结合现代散文写法,是典型的新派传统武侠风格。 一次偶然的探险,让秦枫一行人发现了一块奇异的矿石,获得了远超常人的的能力,以为自己要天下无敌了???没想到自己却被卷入了一个全新的风波中,由此也开始了他的逃亡之路,看来这个世界比自己想象的要复杂……小丽?哪个小丽?咳!咳!就是你们知道的那个小丽! 小丽还是离开了这个物欲横流的沿海城市! 偌大的火车站,只留下小祥孤独的身影! 小张:你一个中职生,还玩脚踩两只船的把戏,玩就玩吧,还跟那种女人,滚吧! 父亲:畜生!你敢出这个家门,有本事就别回来~ 母亲:小祥,啥样的女孩,你不能挑?你偏偏选那种的,那种人能领进门吗? 女友的蔑视、父亲的痛骂、母亲的乞求~ 小祥还是毅然决然地坐上了去云贵的绿皮火车! 他要去跟他的青春告个别! 看一眼小丽,再看一眼她嫁的老实人! 朴素的婚宴上,小丽看到熟悉的身影,追着跑过来! 崎岖的山头,二人不慎失足,双双跌落山崖! 谁知,醒来时竟穿越到宋朝~ 叮!叮!叮! 【检测到宿主已穿越,赏赐宋朝百科全书一套!】家人含冤而死,九死一生归来的战神大怒。 所有欺负他亲人的仇人,都要付出代价!抑郁症患者的自救历程……啊咧,初始宝可梦是百变怪?目标是干爆阿尔宙斯?四海升平,华灯初上,宁静祥和的外衣下,隐藏着无数不为人知的故事。在满天都是飞机,满街都是电脑的高科技时代,依然有太多科学无法解释的事,风水、命理、道术、阵法、阴阳五行、奇门遁甲、有人仗着身怀绝技贪婪为恶,当然也有人守正辟邪,自古正邪不两立,不止有警察是犯罪的天敌,道士、高僧、出马弟子、阴阳先生也与那些丧尽天良的邪师术士势不两立,正邪交锋一触即发。 在高校被混混欺负的王浩天只能忍气吞声。他唯一的乐趣就是在网游中大杀四方。 听说去年结束内侧的网游【无尽世界】正式上线,身为内测玩家的他再也不用唯唯诺诺了。 戴上8D头盔的他开始了网游神奇之旅。 【系统提示,游戏内的获得的金币可带回现实世界】 【你好呀,很符合我的审美,就让我当你的最佳系统吧】 【内测1号玩家可选择以下技能之一】 【幸运女神眷顾】:幸运度提升20%,每升一级可以进行一次抽奖。 【技能点之王】:技能点比普通玩家多出20点,且可以随意更改,后期等级越高,上限越高。 【打不死的小强】:血量越低防御力越高,死后可立即复活,不限次数。 【点石成金】:开局金币爆率提升100%,后期可提升。 【技能书槽位之王】:比正常玩家多出5个技能书槽位,且免费赠送一本SSS技能书。 【鬼影迷踪】:50%概率闪避对方攻击,每两秒触发一次,随等级变化而缩短 【女性克星】:女性玩家100% 不是?这最后一个技能是啥呀? 当稚嫩少年遇到乱世风云,当家园遭到野蛮的屠杀,当亲人的胸膛在少年眼前被利剑贯穿,一切报复都难以抹去血海深仇。亲人的血液沾染了双手,泪水已然流尽。 当少年不再流泪,当少年不再为私仇,当少年心怀天下与黎民,仇恨得到原谅,乱世已然成历史,少年已然成暮年。
关系营销的劣势 淘宝营销顾问 建个简单网站 成都社会化营销 网络安全部门提示 网站设计欣赏品牌病毒式营销案例 互联网营销广告语 做网站教程 网络安全部门提示 沂水做网站 失业的咨询技巧【www.richdady.cn】 大龄剩女的婚恋故事咨询【www.richdady.cn】 家庭中常见的意外事故原因咨询【www.richdady.cn】 事业发展瓶颈突破【www.richdady.cn】 去世的父亲的影响分析【www.richdady.cn】 前世今生的神秘故事【企鹅383550880】√转ihbwel 什么原因意外咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份如何影响今生?咨询【微:qq383550880 】√转ihbwel 大龄剩女的婚恋经验【微:qq383550880 】√转ihbwel 感觉整天没精神怎么办【www.richdady.cn】√转ihbwel 儿子不读书【www.richdady.cn】√转ihbwel 冤亲债主的干扰解决方法【σσЗ8З55О88О√转ihbwel 家庭关系的矛盾化解方法有哪些?咨询【企鹅383550880】√转ihbwel 升迁障碍的职场转型技巧有哪些?咨询【σσЗ8З55О88О√转ihbwel 前世老公的识别方法【σσЗ8З55О88О√转ihbwel 前世老公【企鹅383550880】√转ihbwel 迟缓儿的案例分享咨询【企鹅383550880】√转ihbwel 性压抑的案例分享【微:qq383550880 】√转ihbwel 去世的父亲的去向解析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 头脑混沌的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 天蓝色网站 中国信息安全100强 网络安全一级学科 信息安全传输流程图 哈尔滨网站建设市场分析 网络安全与管理 ppt 网络安全是国家安全 星巴克微信微博营销案例 自己创造网站平台 门户网站有哪些 站长工具网站关键词库的词不是自己提交的么?为什么会不断减少 b2b技术型社区营销 网络营销运作 亚马逊服务营销 深圳营销网站 精细化管理 网络安全 网站h1 中国信息安全100强 网络安全一级学科 信息安全传输流程图 哈尔滨网站建设市场分析 网络安全与管理 ppt 网络安全是国家安全 星巴克微信微博营销案例 自己创造网站平台 门户网站有哪些 站长工具网站关键词库的词不是自己提交的么?为什么会不断减少 b2b技术型社区营销 网络营销运作 亚马逊服务营销 中美网络安全对话 营销 促销 区别 网站价钱 互联网传统营销模式 深圳h5网站公司 营销型网站的例子 临沂在线上网站建设 宁波市计算机信息网络安全协会 信息安全事件 级别 企业网络营销问题研究 南通网站网络营销教程 html5网站欣赏 星巴克微信微博营销案例 天蓝色网站 新网站建设平台 信息安全事件 级别 国安 信息安全 网络营销外包推广服务 营销型网站特点 自己创造网站平台 营销型网站的例子 什么叫网站的空间感 企业qq跟营销qq哪个好用吗 美食网站案例 网络营销传播实战策略 网络安全=信息安全 北大网络安全学院 网络安全与管理 ppt 什么叫网站的空间感 滨州建网站 菏泽网站推广 信息安全系统不需要 不可抵赖性 营销工具书 南通网站网络营销教程 摩拜单车营销策划书 网络安全一级学科 天钥网络安全审计系统 信息与网络安全监察 宁波市计算机信息网络安全协会 无锡微信网站 网络营销自学考试科目 网站h1 珠海网站营销 信息安全创新创业报告信息安全管理手段 网络安全岗位培训 网络安全证书查询 滨州建网站 互联网传统营销模式 中国移动网络安全现状 摩拜单车营销策划书 哈尔滨学网络营销 珠海网站营销 石家庄网站制作找谁 亚马逊服务营销 中国信息安全100强 广迅营销网 杭州 网站设计制作 网站制作公司 信科网络 2013年度中国个人网络安全报告 门户网站有哪些 关于开发活动的信息安全要求 沂水做网站 深圳营销网站 内蒙古网络安全 ctf 内蒙古网络安全 ctf 江门网站建设 2014年春节可口可乐的营销主题是 . 网络安全是国家安全 站长工具网站关键词库的词不是自己提交的么?为什么会不断减少 网络营销主修课程 全网营销方案 互联网营销广告语 沈阳网站优化 nsc 网络安全 国家网络安全周 文件学习 上海高端定制网站公司 网络营销特点和优式 网络安全公司的前景 沂水做网站 信息安全网络会议 金融 信息安全 成都社会化营销 计算机网络安全实训报告 考生信息安全的通知分析我国网络营销现状分析 建个简单网站 怎么个人网站设计 二级域名对网站帮助 深圳网站开发 山东企业网站建设公司 中美网络安全对话 网站h1 关系营销的劣势 怎么个人网站设计 网络营销的基础与实践报告 重庆网络营销价格 中国信息安全100强 深圳专业网站制作公司排名 沈阳网站优化 信息安全创新创业报告信息安全管理手段 电子商务网站seo 做网站教程 信息安全传输流程图 国家网络安全宣传周主题 网络营销自学考试科目 企业信息安全ppt