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

<a class="close" href="https://rxw.xeqo.cn/">&times;</a>
网站建设中模板网络安全宣传卡怎么做用户信息安全培训,-1深圳整合营销行业互联网全网营销公司中国网络安全上市公司酒店网站制作策划自助构建网站英语网站建设青岛高端网站开发公司辛集做网站【都市重生+宠妻+赎罪+商战】   “周飞,你相信有来生么?”   “如果有可能,我不想有来生,我只想重活一次,这辈子,有太多的遗憾了……”   濒死的虚弱感和无力感,让周飞连声音来自何方都无法分辨,不甘心、悔恨、遗憾…百般情绪涌上心头。   苟活三十多年,他对所有人都问心无愧,唯独对不起妻子和儿女!   带着这股极强的悔意,周飞重生到了十年前。   看着那一大两小三个身影,他跪倒在地,热泪盈眶。不爱写个人简介千里江陵一日还,大佬又来虐鬼玩。 求你了,让我好好当个NPC不行么? 你一个演员,比我们怪物还吓人。 夺笋呐! 咱们讲讲道理行么? 你是人么? 你礼貌么? 鬼物NPC的心态日常搞蹦发出三连疑问。 李命表示,老子拳头大就是道理! 生死看淡,不服就干!网大公开课入群专享课程福利冰河世纪!火山喷发! 荒芜末日即将来临? 李晨重生回到末日来临之前,激活神级科技系统,从此在末日也能潇洒滋润。 大旱?给我来场雨! 暴雨?水库建起来! 能源?村里都快有第一类永动机了。 食物?水培仓按几下按钮什么都有! 没有李晨想不到,也没有李晨做不到。 外国:“oh!my God!在东方,有一个神秘的村落,他们居然在末日天天办party!” 千万年前,星域顶级势力修罗族,战天族,一夜之间惨遭灭族,更是成为众生禁忌。从此,整片星空再无“修罗”“战天”之名。 武荒大陆,一名战奴少年习得神秘功法,从此逆天改命,修罗战天之名因他一人再次响彻整片星域! 万族因他而颤抖,天地因他而哭泣……逝去的第四异境主宰再次重生,作为新时代现实世界的初中生周哲叶。而在他初中即将毕业之际,所有关于他之前作为主宰的事情接踵而至。第二异境主宰虚无在他的学校降临下穹顶,恶魔也开始渐渐出现,从虚拟异境归来的克隆体也开始朝着他开始涌去。而这些都只是他重生再次觉醒路上的绊脚石,直至他将污秽解决再次登上主宰之位才开始平静。宇宙初开诞生天地奇宝,鸿蒙灵珠,生死碑,长生草,对应武者的精气神 ,得三件奇宝者可得永生。双日凌空,神秘再现,在科技崩溃的废墟中,万物迎来了无限进化! 穿越而来的沈凌,激活了自己的无限世界模拟器。 只要是花费足够的能量,就能够获得在模拟世界中得到的修为、武功和物品! 于是,在小李飞刀的世界中,沈凌获得了小李飞刀! 在大唐双龙的世界中,沈凌修成了剑心通明! 在蜀山的世界中,沈凌拿到了化血神刀! 在洪荒的世界中,他夺取了诛仙四剑……天地有五行,五行可证道......
什么样的网站 家具 营销网络 营销形网站 沂水网站优化 杭州 平台 公司 网站建设 微信平台网络营销 沈阳市做网站的公司 录制营销视频 吴桥网站 1)小米用了哪些网络营销方式 人际关系不好的原因分析【www.richdady.cn】 自闭症【www.richdady.cn】 与女友前世的故事分析咨询【www.richdady.cn】 家宅磁场干扰的原因咨询【www.richdady.cn】 存不住钱的财务规划咨询【www.richdady.cn】 莫名其妙感伤的前世影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的咨询技巧【σσЗ8З55О88О√转ihbwel 失业的心理调适咨询【www.richdady.cn】√转ihbwel 升迁障碍的职场转型【www.richdady.cn】√转ihbwel 孩子不爱读书的阅读环境咨询【微:qq383550880 】√转ihbwel 孩子学习不好的辅导方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 脑部不清晰与生活习惯的关系咨询【www.richdady.cn】√转ihbwel 儿子抑郁症的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 耳鸣的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的改善方法咨询【www.richdady.cn】√转ihbwel 灵魂治疗与心理辅导咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子不爱读书的家庭教育方法有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与男友前世的故事分析咨询【企鹅383550880】√转ihbwel 公司破产的后续规划咨询【σσЗ8З55О88О√转ihbwel 家具 营销网络 什么样的网站 镇江企业网站建设 石家庄网站设计制作服务 商务网站与营销策划 嘉兴品牌网站建设网络安全为标题 沈阳市做网站的公司 沈阳市做网站的公司 网站内容添加 中国国家信息安全产品认证证书 深圳品牌建网站 如何建立个人网站信息安全的基本属性是______? 网站设计说明书 青岛高端网站开发公司 营销价值 信息安全工程.,-1 网络营销渠道大全 营销型网站的作用 青岛优化营销 免费网站是 网站制作费 提升网络安全管理水平 天津企业网站建设 网络安全工作组 网络安全工作组 2017信息安全对抗赛 客又来网络营销 深圳品牌建网站 微信营销成功的关键 信息安全 论文 数据库 太原建网站 网络安全宣传卡怎么做 湖南网站建设 微博营销的推广方法 西安信息安全比赛 中科院 网络与信息安全 信息安全等级保护测 深圳市网站设计公司 网络安全审计方案 外国黄色网站 广西免费网站制作 深圳自适应网站制作 信息安全工作依据的国际标准 什么样的网站 营销形网站 网络安全法 漏洞 中科院 网络与信息安全 头条营销软件 网站建设超链接字体变色代码 网站写文案 内容营销优劣势 石家庄网站设计制作服务 网站关键词 网络安全会议通知 最好的网络营销软件 信息安全公司排名,-1 响应式网站模板 郑州微信网站 温州手机网站建设 自助构建网站 昆明 信息安全 个人网站注册 建网站中企动力 网络营销推广方案 沈阳市做网站的公司 网络安全宣传卡怎么做 专业的西安免费做网站 网站制作哪家专业 网站建设中模板 营销每日总结 深圳自适应网站制作 互联网全网营销公司 网络安全方面的职业 东软网络安全 待遇 网络营销是如何出现的 网络安全什么培训好 网络安全对抗赛 网络营销是如何出现的 网站制作哪家专业 网站定制 天津 深圳品牌建网站 天津企业网站建设 临沂做网站 信息安全会议 2017 网站竞价 信息安全 2016 辛集做网站 商务网站与营销策划 网站管家 网站被黑 大同网站建设 信息安全软件 正规的网站建设 网站建设管理 网络营销渠道大全 江门网站优化 信息安全会议 2017 做网站创意 二级域名网站权重 清华同方 信息安全 关于加强高校网络安全 沈阳市做网站的公司 杭州seo网站优化 建一个免费网站 2017信息安全对抗赛 关于加强高校网络安全 网站样板 最好的网络营销软件 第五届网络安全会议 西安企业网站 网站的排版 镇江企业网站建设 独自等待 信息安全 微博营销的推广方法 dns根服务器与网络安全 营销型平台包括哪些 家具 营销网络 网络安全协议简介 信息安全的发展历程 制作外贸网站的公司 什么样的网站 微信平台网络营销 网络安全的概述 上海网站建设联系电互联网营销课程 杭州 寻找石家庄网站建设 提升网络安全管理水平 录制营销视频 郑州微信网站 营销型平台包括哪些 青岛优化营销 网络安全对抗赛 网络营销能力秀收获 酒店网站制作策划 网络安全 断网 网络营销宏观环境因素