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

<a class="close" href="https://thun96x.genha.cn/">&times;</a>
问答营销的平台选择信息安全售后服务方案昆明企业网站建设公司影楼网络营销案例朝阳网站建设产品微营销信息安全及其解决方案网络推广微信营销公司通州网站建设影楼网络营销案例村医李小山,遭人陷害,机缘巧合之下大难不死,获得仙女湖四位仙女传承 ,获得医术丹术法术,妙手回春,带领乡亲们发家致富奔小康,同时,令桃花村成为了远近闻名的美人村,各方美女纷纷踏来,请求将自己变得更美……回忆过去,对自己有一个交代,就是这么一步步过来的 空间站机器人和地面站失联,生产这种机器人以及支持机器人运行的公司也发现自己的加拿大服务器同时失联,更发现正在国外度假的董事长一家在几个小时以前也失联。与此同时,市内发生一起未遂谋杀案。四件看似毫不关联的事情其实起因于同一件事,一个在日本的古老家族正在完成一件2000年来徐福交给该家族祖先的任务,进入喜马拉雅山山脉下的悬空之地,获得大地之心,从而掌控穿梭于不同时间维度的方法。 穿越于不同的时间维度,相当于获得长生;但如何穿越于不同时间维度是个问题,穿越后会发生什么事又是另外一个问题。 这是一个挂着科幻和推理羊头,写着人性的故事。因为, 人不能随心所欲支配行为,所以人,都是傀儡一样的存在。操吴戈兮被犀甲,车错毂兮短兵接!个人奋斗史诗!这是一部通过讲述男主人公千万富豪李四,从离婚前发生的婚外情和婚外恋,到再也无法忍受家中的河东狮吼而选择离婚,再到离婚后追寻理想化爱情、不断相亲,再到历经一番又一番的波折后,再次走向婚姻这一过程中发生的系列不可思议得、啼笑皆非的无厘头婚恋故事。从而借此反思当代人极其扭曲的爱情观及婚恋观,是一部语言流畅优美,可读性极强的现实题材小说。上至神界,下落黄泉,我有一剑,屠神戮仙! 万界之中,种族无数,强者为尊,在帝劫中身殒的剑神苏平,转生成大夏青风城苏家弟子。阴谋诡计、魑魅魍魉,我以手中剑,斩尽眼中不平事!待我重临巅峰之日,但问一句:此剑锋利否?在不久的将来,地球上武侠风鹊起,在平静繁荣的社会表象下,实则暗流涌动。随着某些势力的实力和科技的日渐成熟,很多在暗处的庞然大物也渐渐浮出水面,搅起风云变动。超出所有人想象的事物的出现,打开了另一扇世界的大门!漫漫长夜之下,危机四伏,在你看不到的地方,恶鬼互相吞噬,妖魔血战于天地,人族强者提刀斩神,冥冥中,这世间如同修罗场一般,纷争不断,血光四溅。      这是一个有异能的世界,常人得仙人点化成为异者,异者得到异能后杀掉在大陆作乱的妖魔鬼怪。异能有金,木,水,火,土五种,一般人一生只能使用一种。 吴晨!A市第一初中的普通初中生,意外得仙人点化身怀异技,这在常人都会以为从此走上了人生巅峰,但吴晨却拒绝了仙人,这在旁人拒绝了这种非人能力的机会仙人是看都不看一眼的,吴晨被仙人选中也跟他的身世家族有莫大的关联,他祖上就是干这一行的,他自然也要继承衣钵。他这种情况在他身边有很多却不能让常人知道,所以有秘密的组织会,特定的人被仙人点化的异能都大不相同却都在五行之中,金,木,水,火,土。而吴晨跟他们不同他可以操控这五行之中任何一种并随意切换。这也是仙人必须点化他的原因之一。仙人点化常人成为异者,异者则用仙人点化的异能收拾在和平大陆作乱的妖魔鬼怪。才有了和平大陆Z国。你也可以说他们是这片大陆的守护者![温馨提示!故事乃虚构,切勿当真,三克油]和平只是世界的面子,里子却是杀机四伏。 人类历经几千年的文明进程,由愚昧走向聪慧。 他们自以为了解这个世界。 他们不信神,不拜佛。 他们不知,永夜将至!
整合营销的必要性 网站无备案 企业网站建设技 在线网站制作 门户网站的特点 网络营销目标包括哪些 客服营销方案 陕西信息安全等级保护网 网络安全协议:原理、结构与应用 在线网站制作 前世今生的缘分再续【www.richdady.cn】 邪灵【www.richdady.cn】 与公婆前世的前世缘分咨询【www.richdady.cn】 儿子不读书的环境影响【www.richdady.cn】 人际关系不好的前世因果【www.richdady.cn】 公司破产的环境影响【σσЗ8З55О88О√转ihbwel 人际关系不好的环境影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的轮回续缘【微:qq383550880 】√转ihbwel 财运不佳的风水调整咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家宅磁场的优化技巧咨询【σσЗ8З55О88О√转ihbwel 如何判断被冤亲债主干扰?咨询【www.richdady.cn】√转ihbwel 孩子学习不好的解决方法【σσЗ8З55О88О√转ihbwel 邪灵的防范方法【σσЗ8З55О88О√转ihbwel 不爱读书的咨询技巧咨询【企鹅383550880】√转ihbwel 孩子不爱读书的心理分析【微:qq383550880 】√转ihbwel 孩子不爱读书的家庭教育方法有哪些?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与公婆前世的前世缘分【微:qq383550880 】√转ihbwel 官司的预防措施咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 投资项目的咨询技巧【www.richdady.cn】√转ihbwel 心慌胸闷头晕的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 网络营销客户跟进系统 柳州网站设计 国内网络安全50强 广州营销型网站优化 苏州市信息安全等级保护网 昆明企业网站建设公司 网站建设排版规定 微博营销的效果数据分析网络安全学院 清华大学 中国国家信息安全产业 信息安全专业企业 微博与微信的各自的特点是什么?企业如何运用它们来开展营销活动? 自己做网站 信息安全及其解决方案 南昌网站优化 如何设计公司官网站 本地网站建设 中华人民共和国网络安全法读后感 网络营销目标包括哪些 易建筑友科技有限公司网站 桌面信息安全管理 国家信息安全管理机构 深圳网站开发 局域网管理与信息安全 池州网站设计 网站设计的论坛 为什么说信息安全是一项系统工程 美国 信息安全公司 海淀 有关互联网营销的点子 网站 网站建设定制 问答营销的平台选择 jsp网站地图生成器 信息安全院校 陕西营销型网站建设公司 网站推广服务 引擎营销案例 2014 信息安全专项 南海做网站 通州网站建设 直复营销的优势 网站开发平台 柳州网站设计 网络营销的建议. 2014年 网络安全 石家庄网站制作找谁 牡丹江网站建设 信息安全审计师 注册信息安全员有用吗 互联网与网络安全 青岛开发区制作网站公司 建设手机网站费用 信息安全 泄密 北京企业网站建设方 苏州市信息安全等级保护网 数据网网络安全 网络营销目标包括哪些 佛山新网站制作市场 网络与信息安全技术 昆明企业网站建设公司 网络安全评估:从漏... 国家工业信息安全研究中心,-1 西安网站建设案例 株洲网站设计 网络安全的博士 茅台软文营销成功案例 微博营销的效果数据分析网络安全学院 清华大学 微博与微信的各自的特点是什么?企业如何运用它们来开展营销活动? 门户网站的特点 长沙做网站的 网站开发平台 中国国家信息安全产业 html5网站欣赏 中华人民共和国网络安全法读后感 网络营销的作用意义 机关网络安全视频 成都 网站建设 网络营销的作用意义 微博与微信的各自的特点是什么?企业如何运用它们来开展营销活动? 有关网络安全的电影 中国移动4g网络安全 网络推广微信营销公司 阜阳网站设计 信息安全服务高级工程师 联通信息安全部 建设公司网站的重要意义 产品微营销 工具型网站 一流的成都 网站建设 桌面信息安全管理 杭州十大营销策划公司 网站推广服务 淄博网站建设 网络营销培训哪家机构好 默网络营销 有关互联网营销的点子 信息安全服务高级工程师 深圳网站开发 信息安全员培训 赣州网站制作 直销网站建设 网络安全的博士 自己做网站 美国 信息安全公司 海淀 网络安全 准则 直销网站建设 重庆网站建设 优化 苏州市信息安全等级保护网 营销型网站建设页面 如皋网站制作 成都网站建制作 福田建网站 中国风配色网站 陕西信息安全等级保护网 如何设计公司官网站 tcp/ip协议族加密术和网络安全 贵州网站推广优化 整合营销的必要性 广州营销型网站优化 网站无备案 网络营销的建议. 网站设计的论坛 网络安全百度网盘 深圳网站建设价格 整合性营销 无线网络安全现状分析 注册信息安全 佛山新网站制作市场 tcp/ip协议族加密术和网络安全 宣传营销 成都 网站建设 国家信息安全管理办法 信息安全售后服务方案 科汛 kesioncms v8.05 企业网站建设入门视频教程 跟信息安全相关的 茅台软文营销成功案例 中国国家信息安全产业