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

<a class="close" href="https://f6l.aidiu.cn/">&times;</a>
网络安全培训班信工所信息安全,-1广州域名企业网站建站哪家好公司网络安全负责人公司网站非响应式网络大学电力营销学院杜蕾斯微信营销案例企业应用 移动设备丢失 如何保证信息安全保护公司信息安全网站建设策划书ol张少锋被自己写的小说裹挟到异界,却因为能量不足被丢到了巨兽腹中跟食物混在一起,为了不被消化成翔,为了活下去,更为了找个老婆,他爆发与生俱来的最大潜力…… 地球少了谁,一样外转动,异界多了他,从此是非多!带你看不一样的玉皇大帝 这是一个人的成长赵影一觉醒来就莫名其妙的来到了一个墓室内,原本以为必死无疑时,耳边传来一道声音……这是一部浸透着战火硝烟的热血之作。民夫吴顶牛的无心之举,让两辆日军坦克陷入死地。二十九军某部连长任广正,正打算消灭来犯之敌,却接到帮日军推坦克的荒唐命令。坦克事件,成为任广正、邢百里和吴顶牛多年恩怨的导火线。 家国沦亡,吴顶牛和任广正先后加入到邢百里成立的救国军中去。救国军是一支最不被看好的弱小武装。吴顶牛的奇招怪招,任广正的奋勇厮杀,让救国军一步步走向辉煌的胜利。胜利带来的却是内部的分裂和敌视。任广正暗杀吴顶牛未遂,于是率部分裂叛逃,投奔国军。吴顶牛和救国军则接受了八路军的改编 1943年,新海惨案发生,黄骅被杀,谁是幕后真凶听老人讲民间故事奇闻杂谈惊悚传说还有最终结果 三无吊丝史晓峰生俱“九格桃花命”,本无意沾惹红尘却左拥右抱,与林楚虹、周笑依、姜薇、池敏、钱玉萍、蔡小慧、吴非儿、桑小媚、山下杏奈、妮娜、迪亚娜、俞漫等诸多御姐、萝莉们,因缘相识,爱欲痴缠。 “桃花命”同时也给他带来了意想不到的陷阱和杀机,身陷绝境之时,一位神秘喇嘛赠予的神奇“天珠”给予了他第二次生命。 他能否终极逆天,最终扭转命运? 他能否携众美纵横四海,归隐桃源? 法斯特从霍格沃兹毕业后与自己的好友鲍克斯、兰一起探险魔法世界。当一行三人探索魔法古墓时,兰受到了护陵诅咒。这种诅咒非常残忍,当被诅咒人三十岁时就会自燃化为灰烬。鲍克斯和法斯特走遍大街小巷,黑林深处却都无功而返,唯有求助魔法部的帮助,故事便从这里开始……百年江山,风云荟萃。江祯帝年间,江湖儿女各展所长,共营大计,而一切的江湖纵横、快意恩仇,都指向了一个震铄古今的惊天密藏——江上月!活在这个动乱的年代,身为江湖大佬的许锐锋已经很疲惫了,当他准备相亲过点小日子时,没想到竟然相亲相回来一个间谍…… 她,深入敌营窃取情报; 她,组建底下情报网络向中央传递信息; 她,在敌后无孔不入,备受嘉奖。 当全世界都以为这个女人是王牌特工时,她,却矮下了身子正在给许锐锋洗脚。 因为她知道,没有这个男人,自己早死了成千上万回,而整个北满的日本人都在以抓到这个男人为荣。 他,就是北满第一杀手,左手枪王,北满地下秩序的统帅,大老许。
网络安全试点示范工作 2015全国信息安全大赛 手机实体营销新策略 网络营销特点包括什么区别 2016网络安全大会视频 上海高端网站建设 网络管理和网络安全 YY上的匿名网络安全维护是干嘛的 如何为公司做网站 南京制作企业网站 事业不顺的改运方法【www.richdady.cn】 与老公前世的识别方法咨询【www.richdady.cn】 什么原因意外的心理调适咨询【www.richdady.cn】 学习成绩差的家庭教育【www.richdady.cn】 事业不顺的职场心态【www.richdady.cn】 缺心眼的原因分析咨询【企鹅383550880】√转ihbwel 儿子不读书的环境影响咨询【企鹅383550880】√转ihbwel 感情纠纷的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 头脑混沌的心理调适咨询【微:qq383550880 】√转ihbwel 耳鸣的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 头脑混沌咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的教育策略有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 特殊学校的教学方法【企鹅383550880】√转ihbwel 升迁障碍的前世因果【σσЗ8З55О88О√转ihbwel 婴灵对家庭的影响【σσЗ8З55О88О√转ihbwel 婴灵的存在有哪些科学依据?【企鹅383550880】√转ihbwel 孩子学习不好的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老婆的前世案例【www.richdady.cn】√转ihbwel 特殊学校的师资力量【www.richdady.cn】√转ihbwel 公司破产后的员工安置问题【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 新疆网站制作 信息安全拓扑图 福州专业做网站的公司有哪些 网站建设案例怎么样 网站建设的后台登录 珠海营销型网站建设 网络安全对企业 信息安全相关设计 福州网站设计 6p营销案例 网站设计的优点和缺点 响应国家网络安全 张新 网络安全管理局 漏洞扫描与网络安全 南京电商网站建设公司排名杭州集团公司网站制作 国际网络安全问题事件 信息安全产品软件厂商 网站主色调 滁州做网站 重庆南岸营销型网站建设公司推荐 网络营销新方式有哪些 网络安全技术开放引进 张新 网络安全管理局 国家对信息安全性 网络和信息安全通报实行7 24,-1 网站设计建设公司 网络安全防护手段 万州做网站 天津 网站设计公司 全网整合营销推广公司 工业信息安全 网络安全法规定 网络运营者应当制定 学习网络安全技术最好的地方 2017国际网络安全 是企业信息安全的核心 网络安全技术开放引进 上海高端网站建设 互联网营销思想 网站的设计流程 北京时间网站建设 网络信息安全演讲 集团网站开发 互联网出口 网络安全 网络安全密匙破解 使用同一路由器个人信息安全吗 上海企业网站优化 手机实体营销新策略 代运营网站 信息安全专业大二课程 360wifi网络安全密钥 网络安全试点示范工作 信息安全逆向 万州做网站 信息安全专业大二课程 网络营销策划方案营销型平台包括哪些 网络品牌网站建设 温州制作网站 信息安全审计计划 建国内外网站有什么区别 东莞网站建设报价 外链发原创文章那这原创文章是属于我网站原创还是外链网站原创? 珠海营销型网站建设 国家对信息安全性 棱镜门 信息安全 ppt 未将网络安全风险 6p营销案例 外贸企业网站 美国大学信息安全 南京电商网站建设公司排名杭州集团公司网站制作 江苏+网络安全+建设 北京响应式的网站 天津微网站 宽带发展营销措施 网站建设的后台登录 软件营销 工信部网站备案 棱镜门 信息安全 ppt 网络安全法第24条 湛江网站开发 学习网络安全技术最好的地方 信息安全在线教育 一站式营销 公共信息网络安全举报网站 营销型高端网站建设价格网站建设开源项目github 网络管理和网络安全 信息安全在线教育 洛阳网站制作 上网行为审计 信息安全 教育信息安全等级保护测评中心 云平台的运维与管理 ppt 洛阳网站制作 网络安全测评机构 辽宁 北京响应式的网站 国内顶级网络安全公司排名 建国内外网站有什么区别 翻墙后自己信息安全吗 病毒性营销推广方案 国家网络安全示范基地 商城网站建设 网站设计公司网站 营销整合平台 广州域名企业网站建站哪家好 2017上海网络安全周 信息安全相关设计 网络安全防护手段 东莞网站建设报价 YY上的匿名网络安全维护是干嘛的 网络营销以网络用户为中心 徐州建立网站 关于公司的网站设计 网络营销整合 2017年全国网络安全周 国家网络信息安全座谈 网络营销教程网站 营销学专家 信息安全拓扑图 保护公司信息安全 开源网站系统 网站漏扫 哈尔滨网站建设市场 南京电商网站建设公司排名杭州集团公司网站制作 微信营销成功 网站主域名 邮件营销的步骤有哪些信息安全系统等级二级 信息安全原理 质询与应答 信息安全拓扑图 2016网络安全大会视频 中国的网络安全防御水平 山科信息安全怎么样 张新 网络安全管理局 中国信息安全安华 网络品牌网站建设 重庆南川网站制作公司电话 信息安全需要关注网站 工信部网站备案 营销的基本要素包括哪些内容