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

<a class="close" href="https://2e7.n8ez.cn/">&times;</a>
信息安全教学宁波网站设计软文营销策划书信息安全技术 web应用安全扫描产品安全技术要求信息安全相关政策法规网站建设案例怎么样营销策划类公众号宁波网站设计建立个网站北京时间网站建设等我编好了 在补充ing......上古时期,穷奇一族蒙冤困于羽山。万年之后,羽山穷奇族内乱,穷奇王将主角陈怀风送往八荒。 天光照海,星月从之;肝胆照心,妖灵契之;死生相从,以卫以征。契成!——妖灵契约可御兽; 天有白溪,云海可舒;地生白溪,江河不枯,青丘白溪有一枪,可擎天、可贯海!——妖族也热血; 日月昭昭,神血殇殇;天地之间,八荒之内,凡我族类,死守羽山,莫敢再犯!——族群万年使命如何抉择? 神族见死不救,人族背信弃义,八荒存亡之际,且看我陈怀风如何讨还公道!什么是咖啡?如果你在半年前问我,我就会说,咖啡是苦茶。80%的后悔,并不是你做了什么而后悔,而是因为你没有做什么而后悔天生至尊,为人族斩妖除魔!护人族万垂不朽!江宇泽前世遭兄弟的反水,亲朋的质疑,爱人的背叛,不幸陨落。烟消道散之时,竟发现在这大千世界之中,源灵大陆只不过是一粒尘埃。万年后得以重生,挖掘新的力量,开创新的规则,以源灵大陆为基础,向未知探索!天道之下的人,在追求着天道。只是,天道又是什么?人在追求什么?无聊的曾纪宣泄了所有不幸,来到一个荒山道观,无意间学习了里面所有的道术 武之一途,如无尽苍穹,遥无边际;如刀山火海,令人趋之若鹜;它是好是坏,是正是邪,无人分得清,但在一片武为尊的土地上,世人深知蝼蚁苦,心向武道转乾坤!九幽冥天,以血铸剑,镇鬼邪神,敕怪妖仙! 上一世,他乃九幽剑帝,登临万界,杀伐随心,却因功参造化,遭强敌围攻,肉身殒灭,记忆被封。 这一世,他乃叶家少主,一朝沦为废人,被天下嘲笑,又惨遭岳父和未婚妻剥骨夺魂,死于非命! 一柄夺天地造化的无上剑魂,解开了两世被尘封的记忆! 叶无踪猛然发现,体内剑魂,早已完成了华丽蜕变,晋为神阶,并在他的丹田之中,开辟出了一方神秘剑冢! 由此,叶无踪一人一剑,强势崛起,踏天而行! 吾之剑冢,乃万剑墓葬,可执天下之剑!也可统御,天下执剑之人! 传说,一具行尸走肉,逃离在莽荒宇宙里,从未停歇,仿若所有空间都是他的敌人,由此,想逃离所有星空笼罩的地方,无人知道为什么,直到永恒大唐贞观十六年。 在一处茶摊上,李辉穿越快一年有余。 此时与一个老人讲述着自己的计划。 老人意外之下发现了李辉的玉佩,有些暴怒。 就是他爹挖的安氏坟! 突然李二想到了什么,有些紧张的问道: “孩子你多大了?“ “大叔,你别看我今年才十六,和我做生意,你吃不了亏,也上不了当。” 李二瞬间泪奔。 “孩子,我是当今皇帝,你是我的儿子啊!” “去去去,少在这里攀亲戚。” “真是吹牛不打草稿!” 于是老人经常出现在李辉的身边,常常念叨着他才是最合适的继承人。 “军儿啊,想要这江山吗?“ “不想,打江山难,守江山更难!”
门户网站建设方案 上海网络营销外包 邢台网站推广 网站知名度 国家网络安全平台 重庆专业网站设计服务 传统市场的营销活动方案 美国网络营销成功案例 信息安全相关政策法规 甘肃营销型网站制作 亲子关系的问题分析咨询【www.richdady.cn】 孩子厌学的咨询技巧【www.richdady.cn】 与男友前世的前世案例咨询【www.richdady.cn】 公司破产的心理调适【www.richdady.cn】 大龄剩女的心理调适咨询【www.richdady.cn】 感觉整天没精神怎么办【微:qq383550880 】√转ihbwel 升迁障碍的职场晋升技巧有哪些?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的缘分再续咨询【企鹅383550880】√转ihbwel 家庭关系的前世记忆【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的故事解析咨询【σσЗ8З55О88О√转ihbwel 解梦的梦境解析咨询【σσЗ8З55О88О√转ihbwel 大龄剩女的婚恋心态如何调整?咨询【企鹅383550880】√转ihbwel 意外的前世修行咨询【企鹅383550880】√转ihbwel 与男友前世的故事分析咨询【σσЗ8З55О88О√转ihbwel 失业后如何快速找到新工作【σσЗ8З55О88О√转ihbwel 公司破产后如何重新创业【企鹅383550880】√转ihbwel 孩子不爱读书的阅读环境如何营造?咨询【www.richdady.cn】√转ihbwel 前世今生相关【微:qq383550880 】√转ihbwel 财运不佳的理财技巧咨询【微:qq383550880 】√转ihbwel 不爱读书的案例分享【企鹅383550880】√转ihbwel 网站不足 网站防采集 美国国家网络安全联盟 网络安全公司起名 429网络安全日2017 湖南长沙网站建 深圳网络营销资讯 建立个网站 网站知名度 陕西省网络安全大赛 邢台网站推广 北京大学信息安全实验室 网站制作北京 软文营销策划书 网站建设预览 美国网络营销成功案例 手机模板网站开发 营销式网站 网络营销指 南阳河南网站建设 2016网络安全热点问题 美国 信息安全风险评估 临沂网站推广 制作网站 房地产网站制作 网络汽车营销策划方案ppt 即时通讯工具营销 营销策划技巧 营销策划推广执行 线上网站制作 青浦网站建设 洛阳网站制作 传统市场的营销活动方案 杭州网站建设公司联系方式 无锡市网站设计 南京网站推广营销公司 手机网站免费 信息安全竞赛网络营销主要原因分析 湛江网站优化 如何黑网站 网络营销策划方案设计 xctf网络安全 建网站备案 昆明做企业网站多少钱 济南网站建设第六网建 信息安全职业生涯 重庆专业网站设计服务 上海网站维护 宣传营销科的重要性 web网络安全教程 2016网络安全热点问题 甘肃营销型网站制作 重庆网站布局信息公司 南京制作企业网站 计算机与网络安全 关于检查网络安全的app 我身边的信息安全200,-1 网站知名度 429网络安全日2017 网站权重低 如何黑网站 互联网营销的好处坏处 产品网络营销分析报告 网络信息安全法2017 亚马逊营销方式是什么意思 青浦网站建设 关于网站设计的价格 美国网络营销成功案例 美国国家网络安全联盟 制作网站软件 网站防采集 重庆南川网站制作公司电话 网络维护网站美工 网页设计分享网站 婚纱摄影网站模板 亚马逊营销方式是什么意思 网络安全实例分析 信息安全行业招聘 设计公司网站 营销策划类公众号 婚纱摄影网站模板 信息安全实验 pdf 济南网站建设第六网建 广东网络信息安全基地 qq邮箱营销方法及管理系统 信息安全技术 web应用安全扫描产品安全技术要求 邮件营销推广 上海著名营销公司 信息安全相关政策法规 陕西信息安全 重庆网站布局信息公司 外贸企业网站 ps制作网站过程 网站不足 微网站和微信 京东目标市场营销策略 企业网站改版升级 e脉通网站 上海网站设计开 网络安全协会文件编号 企业的信息安全管理水平 福州网站设计 网络安全去哪里学 网络营销环境 被通知公司网站域名到期 企业手机网站建设信息重庆网站建设优化 web网络安全教程 企业网站改版升级 网站营销是做什么的 广州知名营销策划公司 网络安全监测手段 海淀深圳网站建设公司 2016年网络安全大事件 网络营销思维 深圳网络营销资讯 e点营销 诸城网站建设 网站开发费用报价单 房地产网站制作 青浦网站建设 简约的网站 网络安全渗透技术培训班2015 手机模板网站开发 台州网站设计 解放路 网络营销课程培训 2016年网络安全大事件 网站知名度 全网营销推广如何做 北京时间网站建设 信息安全防范技术 网站不足 网络安全去哪里学 上海信息安全等级培训 国家推进网络安全()服务体系建设 中国信息安全应急中心