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

<a class="close" href="https://tb3b.6098.com.cn/">&times;</a>
小型企业网站设计与制作网络安全进企业信息安全风险评估网络营销战略特点营销品牌类公众号wap网站开发传媒公司互联网营销方案中国大学信息安全网站建设售前说明书搜素引擎营销营销软件站免费下载在这个世界,人族,妖族,魔族,三足鼎立不知多少万年,无数个年头来,多少惊才绝艳之辈,而今天要讲的,则是一个人族少年的故事。 乱世之土,命如蝼蚁。 杀人放火,唯见真我。 仙道茫茫,无数修士如同过江之鲫,都想登天一途,炼气、筑基、结丹、元婴..... 尘世间的一叶浮萍,不甘就此飘零浮沉! 苟凡尘,争修行,踏仙路!从上个世纪八十年代到本世纪二十年的,四十年的半州,已经经过了风风雨雨。四十年河东,四十年河西。人,只有慈悲心,感恩心,恭敬心,才能善终。 讲述主人公在一次历险中发现了自己拥有超能力,从此过上了开挂的人生。魔蛋传说之拳王大赛,是“想买跑车/想买跑车v10”的原创作品当家族中人与救命恩人都死在自己的面前,我第一次发觉自己的无能 我不是圣人,做不到善良;我也不是恶人,做不到杀戮。 但我明白一个词,杀人偿命。 君子报仇,十年不晚,你们做好被复仇的准备了吗? 一个震撼万界之物沦落凡尘转化为人。将亿万年来平静的暗流,掀起一股惊天骇浪!! 一个千古难得一见的废物体质,却拥有万古无人能及的惊天悟性。且看,他在这被人觊觎的世界里艰难的开辟一条新的觅道之路……尘寰外,碧海中,桃花之间桃花岛。秋风起,海波兴,几度潮来听玉箫。且看东邪黄药师传人,如何纵横都市。满天神佛朝我跪拜,天下美女唯我独揽!已完本,放心阅读。随着时间的流逝,到了洪武元年。传言鬼人谷不是一个地名,而是一个人名。 鬼人谷能文能武,选择隐于世外,没有徒弟,却将天下尽收眼底。 随着时间的推动,到了洪武二十一年。鬼人谷收下两个徒弟,一个名字叫王雄吠,另一个名字叫太司懿。 鬼人谷能屈能伸,选择世俗之见,没有怨言,却将两个徒弟教成一文一武的怪物。 《神探太司懿》系列小说的第一部!国之将亡,必有乱世妖孽,国之将亡,必有济世真人...... 恭喜绑定育儿成长系统 本系统因不可描述原因 受损程度78%,无法主动提供任何帮助 如遇危险请用爱感化对方 谢谢合作 简介?什么简介 作者已经被整疯了 哈哈哈 假的 假的 全是假的 去你的育儿系统啊啊啊啊!
关于的网络营销文章 网络营销网 使用微博营销工具应该注意哪些问题 中国研究所 信息安全 海底捞服务营销数据 英国信息安全 什么是网站推广 网站建设维护 成都建网站 网站后台开发 亲子关系的教育建议咨询【www.richdady.cn】 自闭症的家庭支持【www.richdady.cn】 财运不佳的财运改善【www.richdady.cn】 冤亲债主的前世今生咨询【www.richdady.cn】 公司破产后的员工安置问题咨询【www.richdady.cn】 有官司咨询【微:qq383550880 】√转ihbwel 如何判断自己是否被冤亲债主干扰?【企鹅383550880】√转ihbwel 与男友前世的记忆解析咨询【微:qq383550880 】√转ihbwel 迟缓儿的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的情感生活【企鹅383550880】√转ihbwel 亲子关系的教育策略有哪些?咨询【σσЗ8З55О88О√转ihbwel 去世的父亲的咨询技巧【企鹅383550880】√转ihbwel 心慌胸闷头晕的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的咨询方式咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的原因有哪些?咨询【σσЗ8З55О88О√转ihbwel 人际关系不好的前世记忆【www.richdady.cn】√转ihbwel 与老公前世的识别方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的改运方法咨询【企鹅383550880】√转ihbwel 个人个案网站 类型 信息安全评估级别表 商城网站都有哪 些功能 美国信息安全 4g网络安全 网络营销 建站公司排名 俄罗斯 网络安全wifi开放网络安全吗 西宁网站建设 win2003 asp.net网站服务器被恶意占据宽带 网络安全 比赛 深圳网站设计工作室 seo优化网站建设公司 末加密的网络安全吗 外链营销的发展趋势 网站建设售前说明书搜素引擎营销 为了保证用户电脑的信息安全在重装系统前应该 杭州8月8日网络营销会 南京网站推广 祥云网站建设 信息安全评估级别表 网络安全座谈会网络营销技术巨头 网站建设维护 网站建设流程图 企业数据信息安全 软件 医疗行业网络安全现状分析 网络营销运营思路 中国大学信息安全 长沙网络营销策划 网络安全保卫局郭 可信赖的响应式网站 什么是搜索引擎营销策划 个人个案网站 类型 网络营销战略特点 中央信息安全管理中心待遇,-1 体验营销案例 网站建设售前说明书搜素引擎营销 网站理念 服装页面设计的网站 南通网站怎么推广 信息安全风险评估 信息科技有限公司网站建设 中软网络安全考试 国家网络安全与信息化领导小组 什么是网站推广 济南建网站 广西信息网络安全报警网站 番禺网站建设怎么样 冲突点营销 网络内容营销案例 杭州网络安全公司 网站排版 网络安全技术概论 营销品牌类公众号 近几年网络营销关键词 信息安全专业全国哪些 主流网站 微信网站模板 使用微博营销工具应该注意哪些问题 服务营销产品定价策略 网络安全的防御 中国网络安全公司 服务营销产品定价策略 网络安全技术概论 南京网站推广 国家信息安全等级保护网 网站建设首页突出什么 相宜本草口碑营销 网站建设流程图 为了保证用户电脑的信息安全在重装系统前应该 怎样注意网络安全 网络安全主要威胁 五点 长沙网络营销策划 手机版免费申请微网站 国家信息安全中心评级 乌鲁木齐网站制作 网络安全应急响应 郑州网站开发 网站后台开发 网站域名权 小型企业网站设计与制作 点击asp网站里的外链却自动在外链前面增加自己的域名了? 信息安全三级保护备案 国网公司信息安全月,-1 西宁网站建设 邢台网站建设服务周到 网站营销 使用微博营销工具应该注意哪些问题 为了保证用户电脑的信息安全在重装系统前应该 外链营销的发展趋势 邢台网站建设服务周到 恩施做网站 信息科技有限公司网站建设 社会化媒体营销 恩施做网站 中国研究所 信息安全 信息安全的通知 深圳网站设计工作室 传媒公司互联网营销方案 主流网站 末加密的网络安全吗 浙江网站建设企业 中国信息安全标准体系建设规划 营销型平台网站 做网站的机构 信息安全和计算机安全 浙江网站建设企业 南京网络营销推广外包公司哪家好 信息安全三级保护备案 杭州网络安全公司 网络营销的的概念 中国网络安全形势2016 有哪些公司是营销公司 信息安全评估级别表 北京高端网站定制公司 微博营销是一项系统工程微博营销的操作模式包含以下哪些? 网站后台修改内容看不见了 国家网络安全与信息化领导小组 网络安全保卫局郭 怎么做网站 企业数据信息安全 软件 网站建设维护 国家应对网络安全 网络安全协议探讨 手机版免费申请微网站 提高网站排名 英国网络安全管理局 网站后台修改内容看不见了 关于的网络营销文章 一、一个甜品网站建设目标 微信营销总结主题 湖南信息安全公司 网络营销店铺推广问题 wap网站开发 网络营销代表 社会化媒体营销