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

<a class="close" href="https://3fe.saqin.cn/">&times;</a>
互联网营销书籍全国信息安全等级保护技术大会,-1信息安全标委会信息安全审计 市场发展霸屏营销推广公司建设网站重要性台湾网站建设网络安全数据分析网络安全 csdn网络安全法官网东营网站优化每天一个,别嫌多、也别嫌少 在异能流行的世界中,源明空明明觉醒了异能,成为了1/500的存在,却根本无法使用异能。 直到异能觉醒的5年后,赴约路上的源明空遭遇了一场“主角专供”车祸,并获得了痛苦烙印。从此,他开始使用异能,并和一位总是与他吵吵闹闹的少女一起解决种种问题。 在一片大陆上,一位神灵四处游荡,它走过之处都生出了无限生机。神灵的身上四散出灵,这些灵跟着神灵游荡,不同的旅程使灵不断变化,逐渐化为各种形态,形成了灵族和妖族… 一处灵在游历的时候不慎相互融合,亦为吞噬。吞噬后,幸存下来的灵成长速度异常加快,吞噬灵也渐渐痴迷上了这种成长方式。大量的吞噬灵不断吞噬,不断变化,逐渐形成了魔族、血族与鬼族。三族都需吞噬其它灵才能成长,若不愿再吞噬,轻则灵能枯竭,消逝加快;重则耗尽,在痛苦中死去…… 那位神灵总结了旅途中的所见所闻,被自然选择成为了自然之神。与此同时,它看见了人间的自然愈发恶劣,无奈无法干涉,它借梦的方式让部分人类来到了芸灵大陆,学习如何保护自然界的方法。芸灵大陆中的灵也感受到了人形的便利之处,渐渐都化为了人形。一些人在这里诞下子嗣,这些人类与灵或妖之子,集合组成了人族,而这一变化也被魔、血、鬼三族窥视着。在种种原因的促使下,第一次灵魔大战开始了……神圣再现,风云再起,旧时代未葬下的魔,就由我来终结。(作者是个小白,文笔不好!)一代修者熊宇穿入木星大陆的崛起历程......血腥残酷的修真世界,实力为尊,崇尚武力,凡人皆为蝼蚁。想要站到世界的最巅峰,孤儿院长大的他,如何做到?卖力苦修?拜入修真大派?还是寻得名师?统统都不是,偶得万界供应系统统加身,开挂人生由此开始,修炼、金钱、宝物、丹药诸多资源随手可得。从此开始了火箭般的成长之路,从一介凡人蜕变为修真巨贾,不过弹指间。 诸子百家,以身正道。入众生以正道,出红尘已修心。贵以身为天下,乃可寄天下;爱以身为天下,乃可托天下。从学生到农民再到医生,阅尽世间酸甜悲苦。 不是医学世家,没有高学历。治病救人,战瘟疫救苍生凭的是永不言败的坚定信念,誓愿普救含灵之苦的悯世之心。 一部伤寒论,半部移身幻形分筋错骨术,演绎出一幕幕世间善恶人生,一曲曲俊男靓女爱情纠葛,一段段上下求索风雨人生路。一代圣魂降临,凭废躯重返巅峰,修五逆破障称神喜欢一个人可以持续多久 一年 十年 还是一万年 这个世界只有黑色 这个世界只有地狱 我们只不过是,寻找那微不足道的光点 可笑的是,根本就没有光点 鸿蒙世界共有十重天,传说进入三重天后,便可长生不死,他们毕生都在追求长生之道,但若想要长生,谈何容易,得到多少?又会失去多少?
重庆綦江网站制作公司电话 亿阳信息安全部门咋样 闸北区网站建设 国内信息安全法律法规 长春网站优化公司 朝阳企业网站建设 霸屏营销推广 注册网站郑州网站建设最独特 网络信息安全专题 学字体网站 通灵与心理学结合咨询【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 性压抑的前世影响咨询【微:qq383550880 】√转ihbwel 财运不佳的风水布局咨询【企鹅383550880】√转ihbwel 婴灵的安抚与超度咨询【企鹅383550880】√转ihbwel 维护良好家庭关系的秘诀有哪些?咨询【微:qq383550880 】√转ihbwel 人际关系不好的环境影响咨询【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 无形干扰的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的故事如何改变命运?咨询【微:qq383550880 】√转ihbwel 信息安全 职业资格 江苏信息安全等级保护 小红书网络营销推广 湖南长沙网站建 企业网站管理系统 如何免费创建网站 安全等级保护配置指南 - 公安部信息安全等级保护评估中心 昆明微信营销公司 东营网站优化 网络营销热点事件2014 互联网营销书籍 广州微信营销 网络安全周 2017 公司网站设 共建网络安全 共享网络文明 学字体网站 专注合肥网站建设 专业网络整合营销公司 网络安全监测平台 东营网站优化 网络安全 csdn 网站url 如何利用网站来提升企业形象 微博与微博营销的概念 营销的组成要素 互联网营销就业优势和劣势 信息安全cnas认证 淘宝营销图 网络营销理论知识 石家庄网站建设 朝阳企业网站建设 网络营销有法律吗 企业网站管理系统 中型网站 厦门微网站建设 网站url 近年来网络安全大事件 杭州市网络安全 湖南长沙网站建 第一级信息安全等级 杭州网络安全公司 地址 上海网站设计开 苏州企业网站建 公司建设网站重要性台湾网站建设 网络信息安全专题 中国网络安全有限公司五级网络安全状况 危 网络安全 期刊 信息安全审计 市场发展 电子商务营销方案 高校网络安全小组 北邮信息安全实验室 网站图片大小 淘宝营销图 营销话术 网络安全国际研讨会 思考式体验营销 安徽信息安全测评中心 网络安全宣传周新华网 共建网络安全 共享网络文明 网络安全法与网络直播 互联网营销书籍 销售群发营销信息 广州微信营销 上海网站建设联 小红书网络营销推广 中国 信息安全等级保护 潜艇的信息安全 电子商务营销方案 长沙专业做网站 郑州的数据营销公司怎么样 注册信息安全管理人员 2016中国网络安全技术对抗赛 国内欣赏电商设计的网站 全国信息安全等级保护技术大会,-1 网络营销干什么的 网络安全周 2017 上海网站建设联 网站建设与应用 cisp信息安全专家认证 企业网站管理系统 南山网站制作 网络游戏中营销植入 东营网站建设 2014中国信息安全报告 漳州做网站 南山网站制作 网站行销 免费建站网站有哪些 上海营销平台网站建设 网站推广页 网络营销工程师报考 注册信息安全管理人员 网络安全评估报告 网络安全的最新技术 长春网站优化公司 西安网站建设公 国内信息安全法律法规 团购网营销 网络安全领域的领头羊 想开一家网络营销公司 通信网络安全服务能力评定证书 安全设计与集成 信息安全清华 公安部网络安全局官网 信息安全cnas认证 网络安全法与网络直播 网络营销之黑客技术 西安网站建设公 石家庄网站制作 常用的信息安全防护方法 微汇通微信营销软件 小红书网络营销推广 高校网络安全小组 免费建站网站有哪些 微博与微博营销的概念 如何做全网营销方案 超链接营销 公安部网络安全局官网 近年来网络安全大事件 东营网站优化 网络安全国际研讨会 亿阳信息安全部门咋样 国内欣赏电商设计的网站 高校网络安全小组 网络营销工程师报考 内网信息安全 常用的信息安全防护方法 南山网站制作 中国 信息安全等级保护 北邮信息安全实验室 网站url 安徽省公安厅网络安全 成都 企业 网站建设 保护网络信息安全 谷歌营销 上海营销平台网站建设