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

<a class="close" href="https://tcvzctg.duqo.cn/">&times;</a>
上海网络公司网站云定制网站网络营销知识传播文章全网营销系统 深圳建个什么网站好网络营销用不用考研网络安全 闭环网络信息安全入门中国亚马逊营销的特点常州网站制作绝对控制的力量……时间。 罗克死后,当一块三角形的岩石与他的灵魂融为一体时,他神秘地重生在了舜龙几近死去的身体里,顿时一股信息涌入了他的脑海。 他现在发现自己置身于一个神秘的世界,这里到处都是拳毁高山,剑劈大海的异常强大的修真者! 这就是舜龙在修真界的磅礴征程,他与天才斗智斗勇,成就炼丹与武道的巅峰!就由我来改写这世界一切不美好的事,就由我来承受所有的一切,既然她们是为了一切的美好而战,那么我就是为了她们而战。三十岁落魄大叔无意间觉醒神力,从此人生开挂,走上修炼之路,探索未知世界,在这科学的时代重新开启了修炼之门,开启地狱,走进无穷无尽宇宙一个人、妖、魔共存的世界。平静的外表下危机四伏,各方势力蠢蠢欲动。中土、远东、极北、蛮荒、地下城等各方势力暗自角逐。整个世界即将破碎… 王星澜一个平平无奇的游侠儿,因他的到来加速了世界的破碎。但物极必反,他的到来也让即将破碎的世界萌生出来一次愈合的力量。 一次又一次的冒险中,王星澜加入了一个神秘的组织,结识了志同道合的朋友,同时也逐渐明白自己来到这个世界的目的,他所承载的使命…… 聪慧的游侠、内秀的术士和古怪的女盗贼。奇葩的伏妖小队终将成长为一方巨擎!主人公是天生黑白瞳,曾有道士说她活不了,可是她奇迹般活到18岁,并且遇到一个“道”的化身,改变了她的一生,可五弊三缺让她在爱情中不断受挫!又为爱下地府!等发生的一系列事某社畜穿越武侠世界,重生成为少年时代的林平之,觉醒签到系统。 只要在特殊场景中进行签到,就能得到逆天奖励! 青城派围攻福威镖局的场景中——“是否进行超级签到?” “是!” “签到成功!恭喜获得昆仑三圣何足道之绝学《迅雷剑法》!” 凭借着系统金手指,他打破命运,成功改变原来的悲惨人生。 从此,美人入怀,仗剑而行,探寻武道之巅,只为逍遥九天! 原本是各个不同世界和地方的九位勇士,却因一次的使命而是他们走到了一起;今后的路,虽然漫长而艰巨,但他们之间的友谊与羁绊却不会因为任何原因而被斩断,不论在何方,都会把彼此深深地记在心里!!简介:本该人生平平无为的主角,从一个性格柔弱到脱变成刚毅的成长故事,后来主角从这跌宕起伏的生涯中成就无上荣耀。万年前,天都之主凭借一己之力,化解了人类所面临的绝顶危机。使得人类才能得以有机会发展至今。 而万年后的今天,危机再次悄无声息的出现。身负血海深仇的少年被一路追杀至崖边,坠崖后,被冥神所选……
中软国际信息安全 cmmi 网络安全 核心机房的安全规划物理安全链路安全网络安全系统安全信息安全强化信息安全 宣城网站建设 信息安全 壁纸 营销运营推广服务内容 信息安全产品测评认证管理办法 企业网络安全策略 汽车营销案 大连模板网站制作公司电话 内心恐惧胆怯的案例分享【www.richdady.cn】 无形干扰如何影响心理健康咨询【www.richdady.cn】 缺心眼的沟通技巧咨询【www.richdady.cn】 前世缘份的案例分享【www.richdady.cn】 升迁障碍【www.richdady.cn】 “缺心眼”对人际交往的影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 强迫症的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的化解方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的问题分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 精神不振的前世记忆【σσЗ8З55О88О√转ihbwel 意外的原因分析咨询【www.richdady.cn】√转ihbwel 家庭中常见的意外事故原因咨询【www.richdady.cn】√转ihbwel 特殊学校【企鹅383550880】√转ihbwel 提高情商的方法咨询【www.richdady.cn】√转ihbwel 暗恋的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 升迁障碍咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何避免无形干扰因素咨询【企鹅383550880】√转ihbwel 事业不顺的职场提升【σσЗ8З55О88О√转ihbwel 心特别累的解决方法咨询【www.richdady.cn】√转ihbwel 强迫症的咨询技巧【微:qq383550880 】√转ihbwel 营销平台 营销方案网 北京设计公司网站 代制作网站 郑州网站设计专家 深圳手机集团网站建设 中国亚马逊营销的特点 网站制作中心 连云港网站建设 湛江有帮公司做网站 营销促销案例分析 网络安全学啥 信息安全专业岗位 大连做网站的公司有哪些 苏州网站建设logo 企业信息安全事故案例 建英语网站 网站顾客评价 华企立方网站 北京设计公司网站 大连模板网站制作公司电话 国家信息安全日 php网站管理系统 如何防范信息安全风险 信息安全专业岗位 机电营销软件 上海网络公司网站 全网营销系统 深圳 网络安全 闭环 常州网站制作 国内ui网站 汽车营销案 郑州建网站 郑州营销外包 李老师谈营销 全网营销系统 深圳 企业网络安全策略 厦门app网站设计 网站套餐 无缺陷营销 全面的手机网站建设 网站推广策划 投资网站维护网络信息安全研究所 江苏 网站视频主持人 网站采用哪种开发语言为什么信息安全学费高 企业信息安全事故案例 网络营销内容是什么 网络安全审计设备报价 无锡制作网站 网站红蓝色配色分析 内蒙古网站设计网络安全培训可见 网络营销策划书结构 核心机房的安全规划物理安全链路安全网络安全系统安全信息安全强化信息安全 搜索引擎营销怎么做 学网络营销学费多少钱 上海信息安全管理中心,-1 b2b网络营销过程 网站制造 深圳手机集团网站建设 网络营销内容是什么 网络安全防护方案 网站的盈利模式 网络安全 敏感数据 国内ui网站 网络与信息安全期刊 金融网站开发方案 济南外贸网站建设公司 长沙o2o网站制作公司 桃城区网站制作公司 营销平台 移动网站建设 陕西网络营销公司哪家好 网站营销公司 不属于网络安全技术 搜索引擎营销怎么做 网络营销 公众号 云定制网站 线上营销必备 网站开发与设计公司 网站建设开发公司 网站视频主持人 商务网站制作公司 电力行业信息安全等级保护 郑州网站设计专家 学校网站的作用 福田网站设计 上海网络公司网站 信息安全工程师注册 保定市网站制作公司 网站开发与设计公司 娃哈哈营销市场分析 网站建设规范 南宁网站建设 网络营销首先要干什么 厦门中信网站 厦门网站设计 网络营销是企业整体营销的组成部分 营销网站手机站 信息图营销 网站背景色 中华人民网络安全协会 武汉信息安全网,-1 苏州网站建设logo 网站采用哪种开发语言为什么信息安全学费高 贵阳网站设计 做网站是三网合一有什么优势 福田网站设计 营销方案网 网络安全 闭环 无锡制作网站 网站顾客评价 信息安全专业岗位 网络营销 公众号 学校网站的作用 厦门网站设计 宣城网站建设 企模网站 视频网站制作 长沙o2o网站制作公司 cmmi 网络安全 视频网站制作 网站顾客评价 信息安全等级保护测评中心 全球网络安全会议 北京设计公司网站 信息安全 培训考试,-1 上海网站优化 国家信息安全日 网站运营案例 网络安全战略合作协议 如何防范信息安全风险 贵阳网站设计 长沙做最好网站 机电营销软件 商务网站制作公司