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

<a class="close" href="https://ctl.aiqingcao.cn/">&times;</a>
网络安全那所大学有武汉企业制作网站网络与信息安全最新动态网站搬家昆明做网站网络品牌网站建设什么是网络安全管理品牌营销对企业的意义病毒式营销要点图片深圳网络安全木马培训功成名就的李向东走上人生巅峰,可是大梦初醒,却被一脚揣回了90年代变成了一个人人嫌弃的烂赌鬼,不但输掉了家产,竟然连女儿都输掉了。 重活一回,赚钱都是小意思。 李向东不仅要登上财富巅峰,更要让妻女俩过上梦寐以求的好日子。安云凡身份成谜,师承玉青子,成为道门第一天师,一路斩妖除魔维护人间,在历劫后知道自己真实身份的他将会如何选择?是继续秉承自己的道心还是?他,虽是庶子,但却是王国八大贵族之一格林家族内定继承人,长相虽平凡,但他的心不甘于平凡。虽然被人陷害、不得不被流放追杀,但天降系统,助他成神。且看一个小领主如何借助系统和奇遇,一步步崛起,最终称霸大陆.....天选降临,蓝星各国分为不同文明,每个文明抽取一百人进入天选空间,以神话底蕴为力量源泉,展开竞争! 西方天使、希腊众神、克苏鲁神话、埃及法老、樱花国八百万神…… 唯独,没有炎黄神话! 蓝星之上,炎黄经历文明断层,举头三尺无神明。 直到云泽穿越而来。 云泽:“我炎黄乃上古文明!上有盘古开天辟地,下有仙神护国安民!” 蓝星诸国:“别搞笑了,炎黄无神,众所周知!” 半年后…… “这天选不公平!炎黄本就是高级文明,随便挑个神就能碾压我们,这还怎么玩!”穿越武侠,李纯竟成了统领江湖的天下盟盟主,顺便觉醒了“天下第一盟主”系统。 可是看着盟内一众大佬,李纯顿时傻眼了。 雄霸、帝释天、铁胆神侯、邀月、左冷禅... 全是鼎鼎大名的魔头、大反派! 你让我当他们老大? 盟内牛鬼蛇神,家里也是恐怖至极。 他爹竟是李逍遥! 杀穿全局的江玉燕竟是自己未婚妻! 打铁匠竟是不死不灭的尹仲! .... 老天爷,这个世界师没好人了是吧! 传奇特工的平凡一生,从高中到退役,或许并没有我们想的那么光鲜……入狱五年,再回都市。 叶昭只得感叹世事无常。 前脚遭受前女友背叛,后脚江氏大小姐主动追求。 大小姐的脾气不好怎么办?爷乐意,宠着! 兄弟们喜欢搞事情怎么办?爷惯得,忍着! 左手悬壶救世,右手银针杀人,左右逢源,天下无双!游戏俱现,五开玩家李长生,突然获得五个号的修为! 别人满级200,李长生:“我1000级什么鬼?” 别的玩家只能选一个职业,李长生:“你见过八块腹肌的法师吗?” 死亡之后,异界重生,完成夙愿,成就空古道尊之位,名震诸天。大褚,绍清十年。 妖邪诡祟肆虐人间,儒释道三教鼎立天下。 世间修者纵横,欲夺天地之气运,觅长生之无极。 陆宴清异界魂穿而来,却被告知仅有一天可活,后意外发现所谓的儒术竟是古诗! 侥幸活命的他本想悠闲的过上自己的小日子,却被不断卷入一个个风暴之中……
邮件营销是什么意思 深圳网站订制开发 万州做网站 重庆好的营销推广公司 广州外贸网站效果 信息安全事件通报预警标准规范 网络营销发展 请公司建网站 微信红人营销 现在手机网站设计 去世的母亲的影响分析【www.richdady.cn】 公司破产咨询【www.richdady.cn】 事业不顺的职场心态【www.richdady.cn】 感情纠纷的情感修复方法有哪些?【www.richdady.cn】 迟缓儿的自我提升咨询【www.richdady.cn】 前世老公的识别方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 灵魂化解的仪式威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的案例分享咨询【σσЗ8З55О88О√转ihbwel 忧郁症咨询【www.richdady.cn】√转ihbwel 为什么过世的前世解析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 失业的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 内心恐惧胆怯的原因分析咨询【σσЗ8З55О88О√转ihbwel 婴灵的超度过程咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 外灵干扰的前世记忆咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子不爱读书的心理分析【σσЗ8З55О88О√转ihbwel 婴灵的超度与化解威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 无形干扰的案例分享咨询【σσЗ8З55О88О√转ihbwel 人际关系不好的原因分析咨询【σσЗ8З55О88О√转ihbwel 迟缓儿的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 网站设计建设公司 网络安全助理 数据型网站 信息安全事件通报预警标准规范 信息安全通告服务 网络与信息安全最新动态 微信营销的特点有哪些 平安集团网络安全 国家网络和信息安全信息通报中心 中国网络安全认证中心 成都高端网站建设公司 信息安全服务资质咨询 武汉企业制作网站 中国网络安全网站 2016重大网络安全事件 计算机网络信息安全员 信息安全行业创业 信息安全服务有哪些 网络营销策划的基础 什么是网络安全管理 西安网站建设 随州网站建设 天蝎网站建设公司 工信委网络安全设备 网络营销策略包括哪些内容 网站搬家 东莞营销型网站建设 信息安全服务资质咨询 武汉企业制作网站 中国网络安全网站 营销推广理论 上网站乱码 移动互联网广告营销 网络安全事件 桂林网站建设 信息安全行业创业 倒卖信息安全罪 网站建设公司 中企动力公司 手机网站制作服务机构 成都高端网站建设公司 技术支持:淄博网站建设 网站设计建设公司 网络营销证 餐饮业的网络营销 国瑞公司 信息安全 营销推广方 网络安全具有很强的 第二届北京网络安全技术大赛 福州网站建设 国家网络信息安全技术研究所 数据型网站 网络营销策划的基础 网络信息安全演讲视频,-1 深圳网络安全木马培训 简约网站 产品设计优秀网站 网站策划厂佛山企业网站建设平台 济源做网站 app营销推广公司电话 什么是网络安全管理 信息安全行业创业 电商营销策略案例 深圳网络安全木马培训 国家信息安全技术部门 重庆好的营销推广公司 微信红人营销 深圳网站订制开发 西安网站建设 星巴克与微信营销策略分析 北京信息安全测评中心主任 请公司建网站 手机网站制作服务机构 方维制网站 数据型网站 网络与信息安全最新动态 创旗信息安全管理系统 参加网络营销的好处 郑州营销策划培训学校 网络安全产品的重要性企业网络安全问题 网络营销发展 昆明网站设计公司 网络营销策略包括哪些内容 山东省信息网络安全 网站设计费 网络安全与信息化 杂志 信息安全审计手册 如果做到信息安全 免费域名注册网站 启明星辰网络安全审计 哈尔滨政务性网站制作公司 创新网络营销 创新网络营销 郑州营销策划培训学校 工作室网站东莞网站设计制作 信息安全审计手册 中国网络安全认证中心 永久免费企业网站申请 网站制作素材 国家网络和信息安全信息通报中心 衡水企业网站设计报价 信息安全的要素有哪些内容 信息安全风险评估教程 信息安全专业最新消息 请公司建网站 网络安全模拟仿真 山东省信息网络安全 网络营销有证书嘛 小黄人微营销系统 武汉网站优化seo 织梦dedecms网站热门关键词hotwords标签 信息安全的基本属性 广州外贸网站效果 自己电脑做网站 带宽 什么是网络营销概念 北京公司网站建设报价 信息安全专业最新消息 广东信息安全专业大学 网站策划厂佛山企业网站建设平台 福州网站建设 营销策划培训班 建立网站的价格 西安网站建设 信息安全通告服务 信息安全通告服务 互联网信息安全中心 广告 "爬虫" 2014信息安全大事件,-1 网站策划厂佛山企业网站建设平台 工信委网络安全设备 昌都网站建设 倒卖信息安全罪 现在手机网站设计 论网店营销 招信息安全专业的公司 网络安全压力测试 零售网站建设