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

<a class="close" href="https://jee.5491.com.cn/">&times;</a>
河北公司网站制作设计国家应对网络安全赣州做网站互联网整合营销传播电信 网络安全信息安全测评与风险评估视觉营销网站牡丹江网站建设国际信息安全联盟网站建设金冯英健 内容营销第四届中国网络安全大会我就在你面前,你看我有几分像从前2121年,【神话世界】横空出世,这是一款掀起全民进化时代的虚拟网游! 在【神话世界】之内获得的一切能力,将100%同步到现实之内! 重生十年前,叶天回到【神话世界】开服前一刻,开局获得神级建村令! 这一世,他必将收名将美人,灭胡虏异国,鞭笞天下,统一寰宇! 带三国群雄举国飞升,征战万族,成就天帝独尊!这里有小说,也有散文、诗歌,汇聚成一部有复杂情感的365个夜晚故事,请您慢慢欣赏。特战精英深入敌后昆捣毁了敌人的雷达站,在敌人的导弹轰击下昏迷被俘,从此开启了为被俘士兵雪耻,捍卫华厦掘起的征程。冰冷的宇宙中,荒芜的大地上,一人可断万古,在这个无限世界。帝落时代的因果使无上帝成为虚无。苍天霸体,圣体,小世界,时空大帝。 一根草可斩星辰,在这个实力为尊的世界,诸王并起,危机四伏,但却机缘重重,无上帝究竟去了哪?死?活?封印?公元2293年,有着悲惨过去一直在逃避的墨沄白,因个人情感加入了一场盗墓,却因此被卷入了一场阴谋之中。七窍玉,鬼王,冥界,尸王,世界异幻事件应对调查局,多方势力混杂其中。他不是主角,他只是一个被卷入其中的受害者,但他势要成为复仇者……一个平平淡淡酷爱小说的人,不善与人交流。只有小说才是他的世界。姜凌天身处娘胎中,听到自己被人扰乱天命,出生会是个没长相,没资质的路人时,激活了无限修改系统! 系统只有一个功能,修改! 体质废柴?修改!叮!获得万古道体! 气运超垃圾?修改!叮!获得诸天万界永生庇护! 功法等级太低了,修改!叮!获得太上混沌道经! 颜值不行?修改!于是,世上多了一位亘古难遇,万古第一的帅哥…… 是除魔卫道?还是匡扶正义? 兄妹情深,却各有其道。 他:身背伏魔剑,但是从来没有人见过他用剑。因为……见过他用剑的人…除了她…都死了。 她:身负魔教妖女之名,一手暗刃,一手吞噬,万千妖魔消失在她的手掌中。 魔族见之闻风丧胆,妖族闻声逃之夭夭。 至尊?一拳打爆。大帝?见了就逃。 恭喜绑定育儿成长系统 本系统因不可描述原因 受损程度78%,无法主动提供任何帮助 如遇危险请用爱感化对方 谢谢合作 简介?什么简介 作者已经被整疯了 哈哈哈 假的 假的 全是假的 去你的育儿系统啊啊啊啊!
网络安全需要具备什么 互联网 网站建设 厦门app网站设计 深圳手机集团网站建设 中国信息安全测评中心 一个常见的网络安全体系主要包括哪些部分 网站图片尺寸商城建设网站 访问相关网站掌握定制定价使用定价免费定价的运用试举例说明 小型企业网站设计与制作 建国外网站 纠纷的前世因果咨询【www.richdady.cn】 人际关系不好的心理调适【www.richdady.cn】 交通意外的常见原因咨询【www.richdady.cn】 婴灵【www.richdady.cn】 发育倒退的解决方法咨询【www.richdady.cn】 头脑混沌的自我提升【企鹅383550880】√转ihbwel 婴灵的安抚有哪些技巧?咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的案例分享咨询【企鹅383550880】√转ihbwel 前世缘份如何影响今生?【www.richdady.cn】√转ihbwel 家庭关系的相处之道有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 意外的前世记忆咨询【企鹅383550880】√转ihbwel 去世的父亲的去向解析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 灵魂种子治疗咨询【σσЗ8З55О88О√转ihbwel 冤亲债主的干扰与因果【微:qq383550880 】√转ihbwel 无形干扰的解决方法咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的职场策略威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 人际关系不好对工作的影响咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的解决方法咨询【企鹅383550880】√转ihbwel 迟缓儿的康复训练咨询【微:qq383550880 】√转ihbwel 与女友前世的前世修行【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 网络安全信息化小组庄 网站建设前期资料提供 中国信息安全排名 石家庄微网站建设 大规模网络安全态势感知 国家应对网络安全赣州做网站 网站未收录 信息安全评审 外贸网站推广 互联网营销工作简历 保密网络安全检查 国际信息安全联盟 网络安全文明网络 亚马逊网站的营销策略 网站制作的困难和解决方案 中国信息安全测评中心 怎么做网站 网络带营销 郑州网站开发 兰州 网站 网络安全委员会 果园 深圳 信息安全 案例 一个常见的网络安全体系主要包括哪些部分 网站流程图 网站流程图 网络信息安全服务类型,-1 网站重做 解释网络营销服务 陕西省网络与信息安全测评中心怎么样 访问相关网站掌握定制定价使用定价免费定价的运用试举例说明 钦州网站建设 网站图片尺寸商城建设网站 济南建网站 杭州 信息安全培训 网站 模板 保密网络安全检查 许可email营销的功能 网络安全宣传周的内容 汽车网站策划书 石家庄微网站建设 网络安全文稿 信息安全创新创业 国际信息安全联盟 深圳手机集团网站建设 初级信息安全测评师 近几年网络营销关键词 厦门app网站设计 冯英健 内容营销 更新网站的图片加不上水印 许可email营销的功能 亚马逊网站的营销策略 国内信息安全的法律法主要有哪些 网络营销系统的建设 什么是搜索引擎营销策划 信息安全服务工具列表 荣耀信息安全信息安全与服务有限公司 2017 4.29网络安全 网站url 昆明建网站的公司 企业网站建设技 学校网站建设哪家好 网站建设首页突出什么 企业网站建设技 南京网络营销推广外包公司哪家好 冯英健 内容营销 关于的网络营销文章 解释网络营销服务 国际信息安全联盟 违反信息网络安全案例 陕西省信息网络安全协会声像资料司法鉴定中心 微博营销方法 大规模网络安全态势感知 乌克兰事件 信息安全 打开网站弹出窗口代码 深圳 信息安全 案例 网络营销 技术 兰州 网站 营销类的公众号名称 安徽省信息安全测评中心 阳春网站建设 全面的手机网站建设 企业网站建设技 网络安全信息化小组庄 陕西省网络与信息安全测评中心怎么样 近几年网络营销关键词 网络信息安全保险 建的网站打开很慢 网络安全 魔力象限 信息安全等级保护测评工作管理规范(试行) 国际信息安全联盟 中国信息安全排名 第十届网络安全大赛 禁忌网站 信息安全创新创业 2017 4.29网络安全 网络安全防护项目技术方案 全面的手机网站建设 制作一个网站步骤排版 网络安全信息化小组庄 陕西省网络与信息安全测评中心怎么样 近几年网络营销关键词 中国信息安全排名 建的网站打开很慢 网络安全 魔力象限 信息安全服务工具列表 国际信息安全联盟 中国信息安全排名 第十届网络安全大赛 网站流程图 2012信息安全事件 第十届网络安全大赛 网络安全防护项目技术方案 网络信息安全服务类型,-1 网络营销 技术 网络安全领域 证书 河北公司网站制作设计 互联网 网站建设 网站未收录 冯英健 内容营销 什么是搜索引擎营销策划 2012信息安全事件 网站搭建和网站开发 广东做网站策划 网站代运营方案 杭州网站优化 天津市信息安全测评中心 网站代运营方案 信息网络安全视频 卫龙辣条网络营销分析 第十届网络安全大赛 网络安全宣传周的内容 信息安全协议的机制 中国互联网协会网络安全 asp.net网站从数据库读取长文本到网页并保持原有格式 1号店营销旅游网站设计