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

<a class="close" href="https://ta9eilc.locha.cn/">&times;</a>
整合营销成功的案例分析公关营销电子商务网站建设资讯专业的网络营销首选公司北京信息安全企业排名什么是整合营销理念网站备案要多久长安微网站建设武汉网站设计公司排名升级美国的网络安全防护网站选项卡 叶凡,一个普通的上班族,偶然穿越到大雍修仙世界,成为师门里唯一的男人。 原本天上人间的生活却因系统的奖励让叶凡十分头疼。 “十世元阳之体?!” “童子功?!” “系统,你特喵玩我呢!” 【叮,宿主顶住了四师姐诱惑,道心稳固,童子功等级上升。修为上升!】 【叮,宿主顶住了宗主的诱惑,道心稳固,童子功等级大幅度上升,修为大幅度上升!】 …… 四师姐绿蔓儿:“小师弟求求你了,跟师姐双修吧!” 宗主冷清玄:“乖徒儿,你与为师双修才可振兴宗门,请你务必做出亿点牺牲!” 叶凡:“呔,妖精,休想乱我道心!” 身为挂逼,叶凡身在花丛中,片叶不沾身,一路带领师门成为世上最强! 有关太阳系帝国時代英雄及惡魔的恩仇。陈御芝醒来,发现自己穿越到了自己曾经玩过的游戏《域外仙魔》中,而随之而来的除了系统面板,还有绑定的太祖长拳。 你有法术,&amp;quot;看我太祖火球拳。”一拳击出,举火烧天 你是剑仙,&amp;quot;看我拳剑相杀。”一拳击出,万剑横空 任你万法齐出,我自一拳破之。 检测到宿主濒临死亡,启动最强反转系统,治疗宿主伤势,“警告,警告,宿主伤势太重,系统能量不够,转移伤势。”陈明头上身上的伤正在慢慢复原,全部伤势慢慢的转入陈明的特殊部位。“考虑到伤势太重,系统帮你自动保存起来。” 豪车豪宅,香车美女,看神豪精彩人生。林辰用短短三百年时间,成为仙界最年轻的仙帝,却遭三大老牌仙帝联手围攻,同归于尽。 未曾想重生回到少年时的蓝星,这一世他将不再留有遗憾,有怨报怨,有仇报仇! 修仙之路也将更加势不可挡!烈烈风中,米罗慷慨陈述。也许有人会笑我愚蠢、鲁莽,但我要告诉大家,人类慢慢千年的历史中,就是那些旁人眼里的愤怒匹夫,不管兵甲漫天、屠刀如林,也死守尊严和底线,才有了冰山大陆的盛世百年。我选择做那个莽夫,因为我不愿在死后成为埋葬在黄土之下的冢中枯骨,放弃换来的苟活一命,买不走苍天大地上男儿的万丈豪情,我就要用今天的一战,在后世危难时刻放出照耀青史的一寸豪光。主人公,的传奇一生一户人家二百年的风风雨雨因为一场意外,林浸转生了,还选择了最不可能是主角的出身和条件,没想到事事不如意每个人都有属于他的气运,而这股气运会在冥冥之中影响着他的道路与未来。 命中注定你是个主角,那么你就会走上属于主角的道路,哪怕你不愿意,也无法拒绝。 你唯一能选的,是决定这条路该怎么走。 喜剧型男主角,逗逼型男主角,热血王道男主角,在或者是悲剧型男主角? 他们有的选,但秦宇没有,因为他的气运不是什么主角,而是一个反派!纯粹的反派! 大哥!以前我没得选!现在我想当个好人啊!
手机端网站开发 域名和网站 二级域名网站权重 蘑菇街微博营销 微信群营销教程 网络营销的介绍 工控网络安全重要性 佛山企业网站建设咨询 设计好的网站 双语网站建设 精神不振咨询【www.richdady.cn】 财运问题在线咨询咨询【www.richdady.cn】 强迫症的治疗方法【www.richdady.cn】 如何识别冤亲债主干扰咨询【www.richdady.cn】 官司的心理调适【www.richdady.cn】 学习成绩差的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的职场建议咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的改命方法【σσЗ8З55О88О√转ihbwel 事业不顺的应对策略咨询【微:qq383550880 】√转ihbwel 家庭关系的沟通技巧有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 磁场化解服务咨询【www.richdady.cn】√转ihbwel 存不住钱的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何克服“缺心眼”的问题咨询【微:qq383550880 】√转ihbwel 灵魂化解的意义【微:qq383550880 】√转ihbwel 头脑混沌的解决方法【微:qq383550880 】√转ihbwel 化解咨询【www.richdady.cn】√转ihbwel 大龄剩女的婚恋建议有哪些?【微:qq383550880 】√转ihbwel 前世今生的奇妙经历咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何解决孩子不爱读书的问题?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的案例分享咨询【www.richdady.cn】√转ihbwel 网站seo优化公司 武汉互联网整合营销 网贷网络营销 新国际网络安全吗 google提交网站 个人新浪微博营销技巧 网站超链接 怎么买网站 网站建设规划书 佛山电商网站制作团队 珠海营销网站建设 升级美国的网络安全防护 京东网络营销特点 ctf 网络安全 西安营销公司排名 搜索营销 电子商务网站建设资讯 武汉互联网整合营销 网络营销宣传方案 在公司里面有一个网站其他但能都能打开但是就有一台电脑打不开 珠海营销网站建设 济南网站制作 广州制片公司网站 网络安全 销售公司 网站建设公司武汉 微信群营销教程 网站建设免费 中国信息安全等级 人口健康网络与信息安全风险评估 网站转微信小程序开发 上海信息安全监测中心 网络安全相关电视剧 铜仁网站建设 深圳购物网站建设 中国中央网络安全 网络营销服务包括什么区别 网络安全专委会信息安全都有哪些大学 浙江做网站 京东网络营销特点 佛山电商网站制作团队 自主免费建站网站 面膜的产品营销模式 在公司里面有一个网站其他但能都能打开但是就有一台电脑打不开 青岛制作网站哪家公司好 信息安全的实现有哪些主要技术措施,-1 信息安全的实现有哪些主要技术措施,-1 双语网站建设 便利的龙岗网站设计 南宁会制作网站的技术人员 网站设计公司北京 长安微网站建设 网络营销宣传方案 影楼高端营销方案研发 什么是网络病毒营销方案 网站制作公司哪家专业 网络安全技术实验报告 太原做网站 铜仁网站建设 河源做网站 在公司里面有一个网站其他但能都能打开但是就有一台电脑打不开 采用邮件营销企业 信息网络安全公安部 域名和网站 网站建设规划书 网络安全环境3部分 部门信息安全如何处理 企业网络营销战略 专业网站设计 网络安全相关电视剧 上海网站制作公司 升级美国的网络安全防护 ctf 网络安全 网站后台 网站建设免费 网络营销的性质 天猫营销词 北京信息安全企业排名什么是整合营销理念 北京信息安全企业排名什么是整合营销理念 什么是网络病毒营销方案 网络安全的目标是什么?通过哪些技术手段可以促进安全目标实现? 佛山网站建设怎么做 信息安全的认证,-1 整合营销成功的案例分析 辽宁企业网站建设公司 网络安全的防范方法 网络安全电影主播 个人新浪微博营销技巧 深圳网站 上海网站建设企 段子 网络营销 昆明网站建设多少钱 双十一营销手段有哪些 网络营销的介绍 西安营销公司排名 深圳企业做网站公司有哪些 网站主色调简介怎么说 三明做网站 广而告之微信营销平台 开商城网站 蘑菇街微博营销 网络安全技术趋势 企业网络信息安全方案研究与设计 网站被黑 网站制作公司哪家专业 东莞企业网站建设 开商城网站 深圳网络安全专业 网络安全研究步骤 专业网站设计 武汉专业网站做网页 网络安全电影主播 太原做网站 上海信息安全监测中心 深圳购物网站建设 装饰网络营销的职责 网络营销案例产品 东莞做网站it s 佛山企业网站建设咨询 深圳品牌建网站宁波信息安全公司排名 陌陌营销 网站验收 型云网站建设 部门信息安全如何处理 网络安全技术趋势 发改委信息安全专项 网贷网络营销 网站超链接 电子商务网站建设资讯 广而告之微信营销平台 企业做网站 如何网站客户案例 人口健康网络与信息安全风险评估 成都网站建设 北京网络安全需求 新国际网络安全吗