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

<a class="close" href="https://apa.8kss.cn/">&times;</a>
信息安全售后服务方案制作房地产网站页面常用网络营销app网络安全学院 清华大学网络安全最新进展移动互联网营销和策划信息安全 863最强的网站建设电话教育网站设计案例网络安全宣传单内容讲述主人公在一次历险中发现了自己拥有超能力,从此过上了开挂的人生。魔蛋传说之拳王大赛,是“想买跑车/想买跑车v10”的原创作品 我们是生活在一个多维的空间,现在所处的三维空间只是其中很小的一部分,其他空间到底隐藏着什么奥秘需要我们不断地探索。现代人的大脑开发只有10%,就连爱因斯坦的大脑使用率也只有15%。而古时人类大脑使用率是100%。有些事情不是你解释不了就认为不存在,那是因为你的大脑使用率太低了。特异功能的修炼过程也是在逐渐提高人类的大脑使用率的过程,当你的能力达到一定水平之后很多问题将迎刃而解。来我的客栈,继续活下去吧。 在90年代初期,年轻的特种兵唐枫接到一次特殊的任务.....来到青城市,在这里邂逅纯真的爱情,真挚的友情,凭借他过人的睿智上演了一场酣畅淋漓的铁血柔情!仙界传闻:这世上唯有月老王尧不能招惹,得罪别人大不了一战,得罪月老,一不小心族谱的下版本就交代在这了! 穿越青年王尧被迫成了新晋月老,方才发现,月老这号神仙,听上去好像只是个鸡毛蒜皮的小官,竟然很吃香…… 特工小强凭借着矫健的身手,在一个又一个阴谋和漩涡中挣扎和自救,身怀着坚定的信念和国家的信仰,在异国它乡中惊险之旅刚穿越成蜀山剑派大师兄,就因为勾结邪魔教妖女,被废去修为,剥夺身份,羁押在锁妖塔! 好在绝望之际,楚风获得神级签到系统! 在锁妖塔前签到,奖励剑体之首,【无始剑体】! 在三皇殿签到,奖励【轩辕剑】! 在三清殿签到,奖励【紫金红葫芦】! …… 楚风本着不无敌,不轻易出山的想法,苟在蜀山默默签到! 但当三千年前的绝世邪魔,邪剑仙率众攻上蜀山剑派时! 楚风挺身而出,负手而立,横剑身前! “前方蜀山,妖魔禁行!” 我死了,我又活了,我要复仇道在何方,道在天涯。满堂花醉三千客,一剑霜寒十四州。 觉醒了【无上剑心】的落魄皇子段宗成为了天山剑派的观剑弟子,手握灵剑,他能看到剑中蕴藏着的人生大道。 手持千万灵剑,掌握千万剑意。 【白打流派,无双剑道,灵剑名曰‘开山’】 【 洞虚万法,诛杀奸邪,灵剑名曰‘诛邪’】 【长生不死,永存不灭,灵剑名曰‘不朽】 观剑百年,修行百年,一百年光阴,从无名小卒到不朽剑帝,段宗见过前来偷取灵剑的异国皇子,得到过段宗的指点,也见过重返天山剑派的妖女得到过段宗的赏赐,百年之后,天帝去世,天牢妖魔重现天下,剑派危在旦夕,千钧一发之际,段宗带着不朽剑走出剑阁。 “本帝在此,狼狈为奸者,谋权篡位者,倒行逆施者,妖言惑众者,都要死!”
信息安全框架示意图,-1 教育网站设计案例 网络营销的价值在于 2017 7月27信息安全 网站生成软件 视频营销推广公司 济宁网站制作 vc 网络安全编程范例 网上营销上海 网络信息安全月,-1网站域名权 事业不顺的应对策略【www.richdady.cn】 婴灵的超度仪式咨询【www.richdady.cn】 亲子关系的教育策略有哪些?【www.richdady.cn】 儿子抑郁症的环境影响咨询【www.richdady.cn】 前世因果咨询【www.richdady.cn】 家庭关系的幸福指南有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的母亲的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与男友前世的影响分析咨询【微:qq383550880 】√转ihbwel 意外的前世影响【微:qq383550880 】√转ihbwel 解梦的自我提升咨询【微:qq383550880 】√转ihbwel 婴灵的前世今生【σσЗ8З55О88О√转ihbwel 亲子关系的教育理念【企鹅383550880】√转ihbwel 脑部不清晰的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 存不住钱的环境影响【微:qq383550880 】√转ihbwel 灵魂化解咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情纠纷的情感重建方法有哪些?咨询【微:qq383550880 】√转ihbwel 事业不顺的职业规划如何制定?咨询【σσЗ8З55О88О√转ihbwel 儿子抑郁症咨询【σσЗ8З55О88О√转ihbwel 与公婆前世的前世修行咨询【σσЗ8З55О88О√转ihbwel 头脑混沌的原因分析咨询【www.richdady.cn】√转ihbwel 网站被降权 网络安全备案表 网上营销上海 数据库营销 4月29日网络安全日 商业网站模板 网络安全学院 清华大学 2014 信息安全 如需手机网站建设 途牛网络营销策划 淮北网站设计 昆明做网站公司 金融机构网络安全风险评估 网络信息安全月,-1网站域名权 库易网网站 制作房地产网站页面 网络安全最新进展 最强的网站建设电话 网站推广步骤 广州做手机网站咨询 价格营销 青岛服饰营销 金融机构网络安全风险评估 经典网络安全教材 信息安全教学实验室 2017年信息安全形势 网站制作预付款会计分录 2017 7月27信息安全 公安部网络安全规定 网站搭建公司官网 科站网站 网络营销的职位有什么区别 网络安全日展览 国务院负责统筹协调网络安全工作 python 3.5网络安全 青岛服饰营销 网络营销模式发展 信息安全应急处理服务一级资质 济南做网站的公司有哪些 信息安全 实践 北邮 信息安全 网站生成软件 信息安全售后服务方案 信息安全及其解决方案 阿里巴巴 信息安全,-1 权威的手机网站建设 信息安全框架示意图,-1 渭南网站建设网站定做 网络安全防护介绍 深圳企业网站建设哪家好 岳阳网站制作 信息安全有关的专业 2017 7月27信息安全 网络安全人才培养 论坛 网络营销的具体形式 广州信息安全机构 网络安全攻击和防御 快速营销法 模板型网站 电子商务烟台网站建设 遂宁网站建设 商业网站模板 绿盟科技网络安全顾问 网络营销平台调研 长春网络营销网站 途牛网络营销策划 国家注册信息安全 网络安全防护介绍 库易网网站 网络营销的外部环境 中国网络安全管理中心 无锡集团网站建设 电子科技公司网站网页设计 2017网络安全会议搜索 专业营销外包公司 整合营销策划公司 网络营销平台调研 网络安全协议:原理、结构与应用 网络营销打造品牌 网络安全日展览 校园网网络安全的动能 全球网络信息安全案例 网站做好了每年都要续费吗 视频营销推广公司 制作房地产网站页面 校园网网络安全的动能 忻州做网站 成都网络安全培训机构 美国 信息安全公司 海淀 网站语言那种好 网络安全进校园句子 中国网络安全管理中心 个人网站欣赏 广州做网站 移动营销 如何建购物网站 无锡知名网站制作 网站优化的图片 微网站后台 中国信息安全保护制度 温州网站建设公司 网络安全资料. 2014 信息安全 网站制作预付款会计分录 电子商务烟台网站建设 网站未收录 如何建购物网站 网站双域名 网络营销分为哪些特点 营销传播的概念 手机网站开发框架 互联网营销软件怎么样 国家网络与信息安全信息通报中心网站 网络营销行业数据唯品会营销在哪里找 网络安全备案表 企业网站设计需要多久 网络信息安全计划 数据库营销 网络安全项目验收 国家注册信息安全 商业网站模板 简述局域网中网络安全设计的原则 网络营销文章 2014 信息安全 美国信息安全专业排名 网络安全进校园句子 途牛网络营销策划 信息与’网络安全 信息安全教学实验室 昆明做网站公司 网络安全资料. 国家网络与信息安全信息通报中心网站 网络信息安全月,-1网站域名权 上海信息网络安全备案 网络营销的价值服务