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

<a class="close" href="https://l3fda.xozu.cn/">&times;</a>
许可e-mail营销是什么意思上海信息安全测评认证中心网络安全几年一检信息安全等级保护修订信息安全风险管理系统网络安全攻防演练感想idc/isp信息安全管理360网络安全攻防实验室网络安全工程师培训班美国大选 信息安全猎妖,是生活。 可这个世界,并不是非黑即白,还有很多需要妥协的地方。 丧尸突然在校园出现,校园只剩二百多名同学包括四个校花,我们的主角苏长影会怎么做呢?他会拿下四个校花冲出校园,过上神仙般的生活吗?妹妹得来癌症,杨涛不得不从事扒手职业,但是在一场意外之中,杨涛被神秘的光球带去了七千年后,杨涛在七千年的地球,了解到了自己离开后地球上的变化,觉得很是愕然于震惊。但是考虑到自己离开后,没人照顾的妹妹,杨涛下定决心要回去,觉得既然光球能带自己到这里,同样,自己也能依靠着光球回去。杨涛在七千年后的时空,发现了自己不怕攻击,并且还能化他人的能量为己用,就这样,杨涛从弱小成为全宇宙的主宰,并利用自己的力量回到家最初与妹妹的时空.........很黑很黑有个房间孤独的在山上.......五年后叶云天重返都市,发现当年帮他的美女被害成了瘫子,当年青梅竹马的婚约女友骂他下等人,当年埋葬父母的坟头不许祭拜! 但谁人清楚,他已再不是当年的废物,而是人间最大势力诸天的王者!少年为了保护小师妹从深山走出,左手悬壶济世,右手飞针杀人,赚钱救人两不误。 不管权势滔天,还是富可敌国,在我面前都须低头。 尔等记住,若我避世,群雄并立,若我入世,天下无双! 游戏与考试有时可以实现完美结合,而道德也应该影响考试的结果,某个班级里的十五名男生也这么想。他们个个都在某些领域有着自己的专长,也有着自己致命的缺陷。他们有的出身显赫,父母都热爱读书;有的却不幸出身于一个思想境界低下的家庭,不慎被家庭影响,坠入无底深渊。突然,他们被卷入了一场场特殊的考试之中,他们需要用自己学过的知识去应对各种各样的险境。你认为他们能成功吗?我的父亲飞升了,他给我留下了满世界的仇家,我该怎么办? 别人都可以靠爹,为什么就我不可以?这个世界上怎么会有这么坑儿子的爹啊! 不说了,我逃命去了。 少年天才于洋来到黄海市当保镖,且看他如何走上人生巅峰天才少年江辰为解身世之谜入世修行。 一手银针渡世人,一身修为镇强敌。 红尘练心,于都市中成长。 这世间,没有我江辰救不回的人,也没有我江辰惹不起的人!
网络安全管理系统 公安 海尔集团品牌营销战略沈阳做网站有名公司 建微网站需要购买官网主机吗 iphone网络安全 二维码网站制作 vpn技术与网络安全案例 互联网运营 营销方案 2015工业控制网络安全态势报告 物流行业网站建设方案 网站建设策略 感情纠纷的情感重建方法有哪些?【www.richdady.cn】 发育倒退的解决方法咨询【www.richdady.cn】 精神不振的案例分享【www.richdady.cn】 官司的调解技巧咨询【www.richdady.cn】 前世缘份的识别方法咨询【www.richdady.cn】 磁场化解服务咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 老公家暴的案例分享【微:qq383550880 】√转ihbwel 耳鸣的自我提升咨询【σσЗ8З55О88О√转ihbwel 与男友前世的因果关系【σσЗ8З55О88О√转ihbwel 孩子厌学的环境影响【企鹅383550880】√转ihbwel 内心恐惧胆怯咨询【σσЗ8З55О88О√转ihbwel 构建和谐亲子关系的方法咨询【企鹅383550880】√转ihbwel 官司的原因分析【www.richdady.cn】√转ihbwel 冤亲债主的前世今生咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 头脑混沌的环境影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 头脑混沌的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子抑郁症咨询【微:qq383550880 】√转ihbwel 冤亲债主干扰的前世因果咨询【微:qq383550880 】√转ihbwel 感情纠纷的前世因果咨询【微:qq383550880 】√转ihbwel 迟缓儿的自我提升咨询【企鹅383550880】√转ihbwel 泰合信息安全 需要郑州网站建设 无人机网络安全 专业的网站建设公 亚马逊网上产品的特征目标市场定位以及采取的主要网络营销方法是什么 上海网络安全等级测评 诺一品牌营销 网络安全基础 华为网盘 网络信息安全原则有 秦皇岛网站制作 启明星辰信息安全 德州做网站 信息安全的三个基本要点 做网站的人 企业网站建立哪 建立网站 信息安全应急中心 网站制作北京 国外著名的网络安全网站 网络安全协会介绍 网络营销课程报告 信息安全人员等级 网站制作北京 网站中木马怎么办 网络安全几年一检 美国大选 信息安全 深圳信息网络安全培训中心 网络安全的专业 vpn技术与网络安全案例 网络安全运营管理 信息安全工信部,-1 成都专业信息安全服务哈尔滨政务性网站制作公司 企业网络信息安全方案研究与设计 信息安全等保 网络安全.pdf 徐州网站制作如何定位 信息安全等保 泰合信息安全 做网站的人 ncsc 新西兰国家网络安全中心 营销解决方案 需要郑州网站建设 网络安全培训材料 二维码网站制作 网站制作公司 云南 无人机网络安全 乐营销平台 为什么通过关键词能找到网站.评价该网站却显示没被收录 广西网络营销使用 专业的网站建设公 国家信息安全检测个人服务 物流网站建设计划书 vpn技术与网络安全案例 亚马逊网上产品的特征目标市场定位以及采取的主要网络营销方法是什么 大良网站建设基本流程 中国移动网络安全 珠海网站设计哪家好 上海网络安全等级测评 网站建设策略 珠海网站设计哪家好 专业的网站建设公 诺一品牌营销 长沙做网站品牌 网络安全病毒逻辑实例 国家信息安全中心人员,-1 网络安全基础 华为网盘 信息安全的三个基本要点 服务定价营销概念 网络安全法 好处 网络信息安全原则有 二维码网站制作 网站设计手机型 制作网站软件 秦皇岛网站制作 信息工程大学信息安全 巴中网站建设网站密度 云平台网络安全 启明星辰信息安全 网络安全人员能力认证 360网络安全攻防实验室 国家信息安全应急中心 德州做网站 国内信息安全事件2017,-1 简易的网站 中国移动网络安全 信息安全的三个基本要点 广州外贸网站效果 企业网络信息安全方案研究与设计 营销学培训 做网站的人 深圳信息网络安全培训中心 营销学培训 青岛网站建设培训 企业网站建立哪 杭州网站设计 信息安全 咨询 营销竞争力 建立网站 iphone网络安全 网络营销专家 php语言的网站建设 信息安全应急中心 巴中网站建设网站密度 无线网络安全 周 网络安全工作汇报 网站制作北京 网站的营销与推广方案怎么写 网络安全技术实训报告 大学生网络信息安全 gb t 信息安全 大型网站制作 网络安全培训材料 信息安全网络安全 常州网站制作机构 网络安全协会介绍 广西网络营销使用 西安网站空间 iphone网络安全 经典营销策划案例 网络安全防护的公司 营销产品定位 物流行业网站建设方案 信息安全人员等级 网络营销学概论 网络安全比赛 信息安全相关技术 常州网站制作机构 广东手机网站建设费用 广州省管营销咨询公司 最近都在做企业云网站网站云推广云推广有什么功能效果呢? 研究生信息安全对抗赛 何为信息安全二级等保 国外著名的网络安全网站 无锡网络营销外公司 上海网络安全等级测评