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

<a class="close" href="https://vvx.qage.cn/">&times;</a>
重庆信息安全公司上海 互联网营销我国的网络安全的现状分析上海市 信息安全大赛专业网站优化制作公司做网站工具武汉商城网站制作公司网络安全信息公司申请网络安全证书无锡市网站设计 其他僵尸可以通过尸毒,让自己手下出现无数僵尸小弟。江流逝的尸毒只对女性有反应,这辈子做僵尸,想要僵尸小弟是不可能了,只能拥有一群僵尸妹子。 其他僵尸忙住修炼,忙着躲避世俗,忙住寻找食物。江流逝却在贩卖尸体,忙着发财,忙住泡妞,忙着打架。 或许,这是僵尸历史上最奇葩的君王吧! 仰望仙道尽头,你我的命运在何方? 纵观古史,谁为棋手谁为棋? 在这一场浩瀚无边的仙道棋局中,多出的一子,究竟是棋手还是棋子?一个顶尖的剑客,为情遭人陷害,武功禁失,力经千难万险,恢复自己的功夫。 一个失了忆的刀客,初入江湖,想找回记忆,可是江湖险恶让想找回失忆的刀客受尽艰辛苦难。 这样奇葩的一刀一剑相遇了,他们会在江湖中刀歌剑舞着自己的故事穿越到古代,家中一穷二白! 不怕,运用21世纪的知识,随便搞点发明创造,改善家中生活! 一不留神富甲一方,漂亮老婆天天催着纳妾,小日子不要太幸福! 蛮族入侵,那就组建骑兵,制造火炮,打他丫的! 影响我平静的生活,敌寇虽远必诛!【无限流+诸天+主神】本在国家会展中心领奖的李景,睁眼发现自己晕倒在一间毛胚房中。 冰冷,封闭,死寂的环境让他惊疑不已。 待他跑至窗口往外看时,他才发现…… 他竟被困在了一栋即将爆破倒塌的大楼中!短篇小说陈战寒行走江湖,灭恶贼,除败类。行侠一生。辅助岳飞对抗完颜氏一族,眼看在完颜氏一族赶出国土。无奈,奸臣当政,十块金牌召岳飞班师回招朝。陈战寒心灰意冷,唯有移居海外。不管多么猛的鬼,多么猛的小姐姐,多么猛的猛鬼小姐姐,见了我只有两个字:欧巴,撒浪嗨哟 打造鬼域新秩序,哥们义不容辞!一个2010,那年我10岁,清晰记得是一个下午,我家来了一个很久不来的亲戚,我爸我妈也很热情的招呼,那天下午就留下在我们家吃饭,然后怪事发生了,,,,程明远,(中共巢合庐中心县委书记,1942年5月-1943年2月) 原名程道富,化名程道福,安徽肥西聚星乡人,生于1900年,1926年参加革命,1929年加入中国共产党。历任中共合肥工委组织部长,合二区区委书记,合肥县委组织部长,县委书记,皖西北中心县委书记兼中央至鄂豫皖交通中心站站长,1943年任巢北支队政委,1943年7月任中共巢合县委书记,后任华东局国区部交通科长,江淮五地委书记兼军分区政委······
信息安全与通信工程 产品网络安全认证证书 信息安全加密技术网站营销工具有哪些 专业网站制作公司网站切图 营销的由来 为了提高网络安全 二级域名对网站帮助 做响应式的网站 常用网络安全工具软件 网站设计公司电话 前世缘份的缘分揭秘【www.richdady.cn】 灵魂化解的重要性【www.richdady.cn】 不爱读书的改运方法咨询【www.richdady.cn】 纠纷的解决方法【www.richdady.cn】 前世今生的轮回真的存在吗?【www.richdady.cn】 儿子不读书的前世记忆【企鹅383550880】√转ihbwel 前世今生的轮回真的存在吗?【微:qq383550880 】√转ihbwel 什么原因意外的前世故事【微:qq383550880 】√转ihbwel 精神不振的案例分享咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何克服升迁障碍?【www.richdady.cn】√转ihbwel 家庭关系的沟通技巧有哪些?【www.richdady.cn】√转ihbwel 公司破产的后续规划【微:qq383550880 】√转ihbwel 亲子关系的问题分析咨询【企鹅383550880】√转ihbwel 如何改善精神不振的状态咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的真实案例有哪些?【企鹅383550880】√转ihbwel 什么是婴灵?【微:qq383550880 】√转ihbwel 前世老公的前世缘分【企鹅383550880】√转ihbwel 学习成绩差的辅导方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的预防措施咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 为什么过世的前世缘分【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 网站建设优化文章 广州易网外贸网站建设 网络安全防火墙技术论文 内蒙做网站 智能建网站 上海市信息安全测评认证中心 上海市 信息安全大赛 营销的由来 公安局信息安全部,-1 网络安全基础的关键操作 湛江网站开发 北大青岛网络营销 重庆网站建设 信息安全产品评测 邮件营销的优点有 上海 互联网营销 专业网站优化制作公司 网络安全信息公司 如何加快网站访问速度 佛山网站推广 福州网站建设费用 网络安全周活动 重庆网站建设 网络安全技术方向 网络安全管理员 证书 公安部网络安全产品销售许可证查询 二级域名对网站帮助 网络安全必读书籍推荐 解放军网络安全 推广营销策划 信息安全等级保护 措施 工业智能网络安全 网络安全与病毒防范第三版 科研信息安全 长沙网站设计报价 网络安全周活动 营销型网站建设 网站建设软件 网络营销工具和方法有哪些 网站核验点 网店协作与联动营销 红茶网络营销方案 重庆信息安全公司 网络信息安全通报机制 企业网站需要响应式 延安网站建设 17做网站广州 网络安全监控系统 国家计算机网络安全中心 信息安全审核员薪资,-1 深圳专业网站设计公司 网站要素 网络安全必读书籍推荐 网络安全岗位培训 陕西企业网络营销 五级网络安全状况 危 网页设计分享网站 整合服务营销是什么 珠海高端网站制作公司 网站背景怎么弄 信息安全 行业资讯 上海市信息安全测评认证中心 国家网络安全信息周 常州互联网营销公司有哪些 网络安全威胁解释 网络安全基础的关键操作 温州网站设计 国家计算机网络安全中心 邮件营销的优点有 qq飞车网络安全存在风险 网络安全传奇 网络营销连接的爱 中国信息安全监测中心 网络安全项目测评 c# 网络安全编程 整合营销传播的条件 常州互联网营销公司有哪些 百度信息安全 广州 网络安全新闻 网络安全与病毒防范第三版 专线可以做网站 信息安全定级 全网营销 必修课 网络安全技术学校 快消品网络营销方式 专线可以做网站 北京营销策划公司 滨州网站设计 信息安全技术 信息系统安全管理要求 信息安全等级保护培训 公安局网络安全部 网络安全传奇 人群营销 珠海高端网站制作公司 维护信息安全主要是保持其信息的 公司网站传图片 做响应式的网站 南京信息安全培训班国家推进网络安全什么服务体系 专业网站制作公司网站切图 西安信息安全 25个网站 什么叫网站的空间感 营销的由来 二级域名对网站帮助 网站背景怎么弄 保护网络信息安全 公司网站传图片 网络营销岗位 《网络安全法》自查 常用网络安全工具软件 信息安全竞赛试题 计算软考网络安全 海淀网站设计公司 网络微信营销公司 广州易网外贸网站建设 信息安全实验课怎么上 佛山手机网站建设优化一个好网站 内蒙做网站 o2o电子商务网站 温州网站设计 上海市信息安全测评认证中心 深圳网络营销师招聘 网络安全攻击有哪些 dos攻击 营销的由来 网络信息安全技术(第二版),-1 公安局网络安全部 网络安全基础的关键操作 网络安全周 郭启全 网络安全管理员 证书 北大青岛网络营销 什么叫网站的空间感 海淀网站设计公司 信息安全产品评测 济南做网站公司 大馆陶网站