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

<a class="close" href="https://hx22.se5g.cn/">&times;</a>
网络安全前修课程信息安全管理培训佛山h5网站公司我国网络营销现状分析佛山个人网站建设东南亚 网络安全公司网站设网络营销产品缺点营销必修课网络安全信息安全实验室末世就那么来了,来的毫无征兆,作为“普通人”来说,我甚至不知道它是为什么到来的,整个世界,发生了奇怪的变化,怪物横行,丧尸惊现,我该怎么活下去?杀猪匠不杀五指之猪,守村人不守有庙之村,风水师不点血龙宝地,接生婆的手必须用公鸡血清洗,世间360行,行行有行规这是一位名为罗格的少年,为了拯救大陆的生灵,而向神明宣战的故事。 “高高在上的神明啊,我在此代表着大陆上所有祈求和平的生灵向你宣战!” “我们将通过这一战,向你证明我们拥有能够威胁神明的力量!” 这是一段充满痛苦与救赎的旅程,是一个名为罗格的一生。平平无奇的法师,不一样的冒险之旅。在港岛的乡下有一个九叔,收了两个徒弟,替人驱邪伏魔。 在济州岛有一个风叔,虽然是警员,但是却擅长利用道术破案。 还有在郊区一处人迹罕至的地方,有一个和尚和一个道士,传说身居神通,能驱邪灭鬼。 还有一个茅山弟子名曰傲天龙,在港岛各处游历,无数厉鬼僵尸死于他的剑下。 还有所谓的南毛北马,毛小方和马小玲,那更是灵幻界的扛把子,类似于前世武林盟主一样的人物。 一个鬼怪横行的世界,还有这么多大佬的存在,让李峰想要混吃等死的愿望彻底落空。 既济虽济,济犹未济,济之再济,此即未济,虽不圆满,却生生不息。 那是一把剑引发的纷争,从一个城,逐渐扩大到整个世界…… 23岁生日那天,从宿醉中醒来的宁致远发现自己身边突然多出了一个幽灵,从此以后他原本平静的生活一去不复返。为了让自己的生活再次回归原样,宁致远开始找寻除去这个幽灵的方法,于此同时,由这个幽灵引起的各种啼笑皆非的故事也在不断地继续着。一个残疾人靠着幽默在现实直播中实现自身价值。 一个粉丝心中的无冕之王。 老婆多,是他的第一个标签。灵魂歌手,尿床是他的家常便饭。购物返家的途中,清许空被不知名的「某种物体」紧追在后。熟悉又似乎陌生的街道,三轮猩红的月亮,空气中牙酸的味道,无人应答的求救,跨越不过去的高墙和死胡同,这种超值组合让他想哭....绝望中,拯救他的是一名白发少女?!?!生如蝼蚁当有鸿鹄之志,命薄似纸应有不屈之心! 大商末年,天下大乱,群雄逐鹿。 一代天骄叶青林横空出世,平四方,定天下,统一乱局,建立了不朽王朝——大屹帝国。 数十年后,江湖上风云再起,朝堂中波诡云谲。 一个偏远小镇走出来的少年,谱写了一段可歌可泣的传奇故事。
邮件营销获取目标用户 湘潭网站seo 企业品牌宣传型网站 东软网络安全工作室 网络安全基础应用与标准 pdf 上海网站改版 网络安全与经济发展 工信部网络安全局 网络安全整改 信息安全测评等级划分 家庭关系的幸福指南有哪些?【www.richdady.cn】 阴间生活的前世因果咨询【www.richdady.cn】 前世今生的轮回理论【www.richdady.cn】 大龄剩女的婚恋建议【www.richdady.cn】 人际关系不好的表现及原因咨询【www.richdady.cn】 家庭关系的幸福指南有哪些?咨询【σσЗ8З55О88О√转ihbwel 感情纠纷的解决方法【σσЗ8З55О88О√转ihbwel 为什么过世的前世缘分咨询【企鹅383550880】√转ihbwel 老公家暴的自我保护咨询【σσЗ8З55О88О√转ihbwel 缺心眼的表现及成因咨询【σσЗ8З55О88О√转ihbwel 冤亲债主的前世今生咨询【σσЗ8З55О88О√转ihbwel 婚姻生活不顺的前世记忆【www.richdady.cn】√转ihbwel 心特别累的环境影响【微:qq383550880 】√转ihbwel 去世的母亲的前世因果【企鹅383550880】√转ihbwel 灵性提升课程咨询【微:qq383550880 】√转ihbwel 如何维护良好的家庭关系?咨询【企鹅383550880】√转ihbwel 婴灵的形成原因咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的前世记忆【www.richdady.cn】√转ihbwel 孩子不爱读书的原因有哪些?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子压力大的改运方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 网络营销专题页 本地郑州网站建设 信息安全漏洞 云南 山东网络推广网络营销软件公司 设计师网站 国家网络安全平台 营销必修课 东莞网站优化公司 开源sdn网络安全 如果做到信息安全 邢台做网站公司 网络安全对抗实训及操作仿真平台 优秀设计作品网站 网络安全防护评测报告 信息安全 排名 教育部 湘潭网站seo 茶叶网站建设 大学信息安全例子 杭州伙伴营销策划 新媒体营销效果 网络安全信息安全实验室 外国黄网站色网址 优秀设计作品网站 网络营销专业介绍ppt 论国际网络营销的作用 网络安全整改 信息安全工程定义 网络安全前修课程 信息安全五个等级 重庆企业口碑营销 顺德网站建设基本流程 安徽网站推广 网络安全与经济发展 cdn网络安全 360公司信息安全大会 网络安全前修课程 康师傅网络营销方案 公司网站建设总结 金融网络安全案例 珠海网站制作 公司网站建设总结 伪静态网站 网站建设小技巧 俏江南营销 网络安全去哪里学 网络营销专业介绍ppt 苏州企业网站制作 锦州做网站 如果做到信息安全 网络推广微信营销 qq营销结果分析 信息安全 排名 教育部 保定做公司网站的 浙江网站设计公司电话 网络及信息安全综合实验教程 美国国家网络安全联盟 设计师网站 徐州建立网站 营销型平台网站 苏州企业网站制作 网络营销实验二 信息安全管理培训 信息安全措施可分为 网络科技网站设计 吉林网站建设 irs网络安全战略目标网站备案与域名关系 信息安全 政策法? 网站页面设计稿 网络科技网站设计 常用的网络安全措施 深圳网站推广 大连营销外包公司 常用的网络安全措施 中央信息安全学院,-1 浙江网站设计公司电话 河北省网络安全协会 伪静态网站 佛山个人网站建设 网络信息安全硬件设备 网络安全整改 延边网站建设 珠海网站制作 顺德网站建设基本流程 安徽网站推广 2015年我国互联网网络安全态势报告 福州网站设计 建手机网站的平台 信息安全管理与相关技术 端午节微博营销 信息安全漏洞 云南 网络营销专题页 网站建设评判 石狮做网站 品牌营销网 重庆网站开发设计公司 山东网络推广网络营销软件公司 网络安全警示 哈尔滨网站设计公司 河南信息安全专业吗 网络安全基础应用与标准 pdf 网络信息安全管理经理,-1 北邮的信息安全 信息安全 排名 教育部 滑动网站 北京网站空间 重庆网站开发设计公司 手机网站免费 本地郑州网站建设 医疗网站建设案例 山东网站优化 章丘做网站 优秀设计作品网站 房地产的网络营销方案 金融网络安全案例 社会营销观念的优缺点 网络营销顾问的职责 营销型平台网站 陕西省网络安全大赛 郑州网站建设定制开发 网络安全与经济发展 2016网络安全热点问题 常州网站设计制作 北邮的信息安全 手机网站建设哪个 信息安全 政策法? 茶叶网站建设 东南亚 网络安全 信息安全分析 网站建设评判 网络信息安全管理经理,-1 优秀设计作品网站 网站设计作品 广州做手机网站信息 我国网络营销现状分析 安徽网站推广