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

<a class="close" href="https://6vwh.nengpi.cn/">&times;</a>
信息安全创新项目,-1web安全和信息安全国家信息安全管理中心待遇信息安全顾问招聘中国信息安全2017网站风格提供网站建设的公司网站开发合同网站推广网站南阳网站优化  一穿越就逼婚,大圣又来了。   阎王老爹,咱能退婚不?孩儿不要母猴子!就是不要嘛!   外挂:   论“捏方面”怪癖如何养成?这就要从神秘法典——《恶魔巴巴》说起了。                                                                                                                     在这个巨大的异界大陆上,到处都是权力的争夺,封建主义皇位之间的暗潮涌动,一个在登基典礼上就被罢黜的懦弱皇帝,怎样走上复仇之路......解佩珠令《又名:我的灵判大人!》讲述了他们的侠客的故事!“原本的上官雨晴”生活在桃花仙姬如雪她姑姑世俗于欲望之中寻到自己的天庭主娘!在守着千年一遇的古墓才想起来她竟然是九尾狐小帝姬。而天庭饱满的众人不满意这位九尾狐小帝姬“上官雨晴(上官漓雪)”青丘白胧月上仙…是出了名的护短~为了她小侄女上官雨晴什么事情都做出来。可无奈的是慕思域高冷的他。又怎么可能逃的过这情字?这两字呢《他开始对上官雨晴心动了》结局中“是在一起的~”跨越了这世俗的纷纷扰扰、也跨越过情劫中才知道相爱又难得是一见钟情。剧冬五代兵燹四起,而江南幸得苟安,游侠之辈趋之若鹜,争相筑巢于此,所求者无非是高楼纵酒、围炉欢谑。待到雨过天青色,回首时,不过是二三里勾栏瓦舍,十余载岁月蹉跎。我等了七年,只因为有人和我说七年后的今天一切都会不同。我没有问为什么,也没有说任何一句话,我选择相信。我总算等到了这一天,虽然我知道知道这一天的到来会不同,但我没想到我却直接站在了顶峰,是选择高高挂起还是一往无前站在最前沿,这个问题又会有一个答案嘛少年穿越异界,竟拥有无敌背景,还拥有系统一个大学生,毕业后竟然沦为宅男,每天沉迷于网络。当一天,他收到一个网站后竟然穿越到了一个神秘的朝代。宇宙浩瀚无穷,凡人渺小似无。 命运无常,神魔亦如微尘,力有不及。 大道苍茫,九霄是何处?在一块充满了灵气的土地上,一位少年开始新的传说香港三合会太子爷最近一个月频繁做梦,梦到了未来一生的经历,他以为梦是假的,直到有一天他发现他梦里的事都在发生,于是他开始了改变,他要改变自己的未来,他怎么也没想到自己一个帮派太子爷变成了世界首富,还拥有了娇妻佳儿
搜索引擎营销分析报告 南浔做网站 信息安全顾问招聘 做网站设计所遇到的问题 网络营销方法的概念 2017 信息安全事件 古镇网站建设 南阳网站优化 网站页面开发流程 沈阳做企业网站 事业不顺的职场突破技巧有哪些?咨询【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 事业不顺的职业规划咨询【www.richdady.cn】√转ihbwel 公司破产的后续规划咨询【σσЗ8З55О88О√转ihbwel 财运不佳的财富规划咨询【σσЗ8З55О88О√转ihbwel 耳鸣的案例分享【企鹅383550880】√转ihbwel 如何识别外灵干扰的症状咨询【σσЗ8З55О88О√转ihbwel 儿子不读书的前世记忆【σσЗ8З55О88О√转ihbwel 失业【σσЗ8З55О88О√转ihbwel 公司破产的环境影响【企鹅383550880】√转ihbwel 心特别累的心理调适【www.richdady.cn】√转ihbwel 与公婆前世咨询【企鹅383550880】√转ihbwel 什么原因意外的前世缘分【微:qq383550880 】√转ihbwel 升迁障碍的职场策略【企鹅383550880】√转ihbwel 国家信息安全管理中心待遇 西安市信息安全测评中心 湖南企业全网营销 潍坊网站建设兼职 互联网营销百度百科 网络营销定价是什么 佛山找人做网站 网站建设公司深圳 长春专业网络营销公司排名 网络媒介营销方案 新产品拓展 信息安全,-1 web安全和信息安全 网络安全中心举报 购物网站设计需要哪些模块 网站制作性价比哪家好 云南网站建设 计算机网络安全事件 上网建立网站布置 西安专业网站建设 windows server 2003网络安全试题 小米怎么营销策划 上海全国网站建设 公司网络安全检查 网络营销的开展步骤 海南网站建设 太原免费网站建设 中国信息安全峰会 太原免费网站建设 互联网品牌营销专员 销售营销软件 上海公司网站制作价格 网络营销的特点和职能 互联网营销百度百科 网络营销的基本知识 2017网站风格 独特的网站 网络安全技术人员 网站建设资讯 潍坊网站建设兼职 信息安全管理考试 沈阳做企业网站 哪家网站设计好 安庆网站制作 提供网站建设的公司 微3g网站 茂名做网站 个人如何建网站 我们常见的对信息安全的误区有哪些方面 防火墙技术与网络安全 莱州网站建设 建网站 xyz 大连网站推广 信息安全创新项目,-1 网络安全所涉及的内容 公司网络安全检查 营销点 地产平台网站模板 网站建设师网络安全等级保护工作的保障情况 网站制作性价比哪家好 网站建设方法 新产品拓展 信息安全,-1 网络安全重要性 flash web安全和信息安全 知识营销 湖南企业全网营销 网络安全发展信息网络安全评估的方法 沈昌祥 信息安全定义 防火墙技术与网络安全 做网站设计所遇到的问题 搜索引擎营销分析报告 成都网络安全开设信息安全专业的大学 动力网站 公安部信息安全产品检测中心 淄博那里有做网站的 北京网络安全上市公司 网络安全中心举报 知识营销 网站推广费用 2017 信息安全事件 互联网营销百度百科 2017网站风格 信息安全产品国际认证,-1 高职网络营销怎么样 windows server 2003网络安全试题 企业如何做全网营销方案 网站开发制作 信息安全测评资质证书 建单页网站 高端公司网站 信息安全与管理是干什么的 淘宝如何实现网络营销 成都网络安全开设信息安全专业的大学 湖南网页设计培训网站建设 网站个性化定制服务 中国信息安全证书 考试,-1 南宁网站制作 主流网络安全机制 新产品拓展 信息安全,-1 免费网站是 群营销素材信息安全攻防实战系统 网站制作费 全国公安机关网络安全保卫工作会 b2b网站开发 企业网络安全实现的方案 ips 网站推广网站 营销软件 代理招商 南宁网站制作 国家信息安全检测 上海信息安全师招聘 网络安全威胁与风险分析 企业网站设计欣赏 珠海网站策划公司 网站建设的网站定位 邮件营销模板制作 购物网站建设案例 网站制作设计收费标准 下列不属于网络信息安全 电商营销师 网站更新了 沈昌祥 信息安全定义 网络安全重要性 flash 古镇网站建设 购物网站设计需要哪些模块 网络营销实战演练课程 免费建建网站 地产平台网站模板 用网络语做营销讲话 网站开发合同 网站页面开发流程 网络营销的基本知识 网络营销课程短期班 网络营销定价是什么 网络安全竞赛入口 互联网信息安全产业基地 2017网站风格