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

<a class="close" href="https://icu35gi.zhenchan.com.cn/">&times;</a>
企业营销服务展示网络营销渠道竞争激烈计算机网络安全实验报告中国信息安全标准企业营销推广方案微博进行营销的好处php网站建设公司微博进行营销的好处微营销的优点和缺点最新网站建设语言周青岩突然穿越,父母安康,生活质量高。小弟无数。 哪怕一当一辈子咸鱼也没事。 “怎么说? 其实穿越没有那么好,异世界真的很危险。” …… 陈凡意外跟随系统来到异世界,也是直接住进单间小牢房。 不过还好,系统没下死手,还给系统新手大礼包的礼物 “天赋觉醒丸” …… 觉醒了天赋技能 “献祭·渴求” 只要献祭宝物就能获得和宝物同等的心中渴求的知识 …… 就这样重新燃起了对于活着的希望的陈凡,经历着复杂的人生 “你渴望可以让人死而复出的秘宝吗?你渴望解除这个世界的诅咒吗?…… 你知道在遥远的世界有一处伟大的世界吗?那里的人们不用受着饥饿,他们拥有着伟大的信仰。 你知道一个关于孙悟空故事吗?他孤身一人,他勇战天庭…… 你知道有个人为了守护世界化作石头雕像吗?” …… “我?我不过是个小小的普通人罢了。”失落于时光长河里的源石,借助源帝轮回吞噬了他。 重生于溯源大陆的源尘,本以为自己可以走上源帝的道路,斩万族,踏鲜血,一步登天。 可是他在无数次选择中,走上了一条与源帝完全不同的路。 梦与现实,魇与真相,脚踏之地不再有无辜之血。 正与邪,谁为谁歌唱终局之歌。 凋零了死亡之花,磨平了岁月棱角,且看源尘如何追溯那终极之地——仙迹!穿越大明,成了木匠皇帝的弟弟,大明信王朱由检。 上一世太累,这一世就想混吃等死,逍遥自在。 可是大明朝日薄西山,要想享乐就要先拯救大明朝,要想拯救大明朝就不能好好享乐,朱由检表示麻了。 于是木匠皇帝成了科学狂人,魏忠贤成了忠实的狗腿子,吴三桂成了专业打手……一名普通职业经理人,意外魂穿到民国,成为一名军统特工,没有金手指,凭借前世的信息,依靠自己的知识并不断地学习、成长,在风云变幻的时代中为国家,为民族贡献自己的力量,并创造了一段段精彩的特工传奇……一觉醒来,这个世界再也不是熟悉的那个车水马龙的样子,纷乱的战火,各色的超能力,这是干嘛啊!觉醒了SSS级别的超能力,我是奶妈?不,我这是圣职者,惩戒与祝福才是我的专长,那个劳什子治疗,只是我附带的能力罢了!捞尸人的禁忌有很多,可总有人不相信,说是歪门邪道。 这不,带着校花总裁下一次水,捞一次尸。 她竟非逼着我和她生猴子!当吴狄秉着爱国,诚信,敬业,友善的优良品质,混进金庸先生笔下的武侠世界当中,成为一名武当道士时 面对上辈子无数个夜晚在床上幻想过的武功秘籍,看见那一位位老爷子笔下倾城倾国的女猪脚们,吴狄表示 别无选择,唯有制霸江湖!世界本无对错,人间也无善恶,人也罢,兽也罢,都是为了活着,道不同,不相为谋。注:本书节奏较慢,二十章才是个小高潮,阅读前请先给作者一张原谅票,不管看不看,小比作者先谢谢各位了因为一场意外,林浸转生了,还选择了最不可能是主角的出身和条件,没想到事事不如意
营销型网站 2017年信息安全研讨 主动营销意义 重构网站 中国信息安全技术大会,-1 网站建设公司浩森宇特 网站备案 保定哪里有做网站的 网络安全分类标准 被黑网站 化解咨询【www.richdady.cn】 性压抑的前世记忆【www.richdady.cn】 官司咨询【www.richdady.cn】 干扰的自我感知方法【www.richdady.cn】 心特别累【www.richdady.cn】 前世今生【σσЗ8З55О88О√转ihbwel 感情纠纷的自我提升【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主干扰的预防措施咨询【企鹅383550880】√转ihbwel 解梦的心理学意义【企鹅383550880】√转ihbwel 去世的父亲的前世修行咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婚姻生活不顺咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子不读书的心理调适【www.richdady.cn】√转ihbwel 意外的前世因果【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 失业的原因分析【微:qq383550880 】√转ihbwel 有官司的法律援助咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 有官司的调解技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 外灵咨询【微:qq383550880 】√转ihbwel 家庭中常见的意外事故原因【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 不爱读书的前世记忆咨询【www.richdady.cn】√转ihbwel 纠纷咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 企业营销推广方案 渠道策略的网络营销 网络安全管理规范北京信息安全实训 网站建设公司浩森宇特 营销调研的过程 网络营销渠道竞争激烈 超炫的网站 多终端网站 网站新版 肇东市网站 营销调研 专业的网站建设公 信息安全审核员待遇 网络安全主要涉及哪三方面 互联网信息安全报告 网络安全高级培训 网络安全准入系统 网站有哪些内容 重构网站 脑白金的营销理念 网络安全法二十一条 网络安全组织架构 信息安全与网络管理专业 网络营销传播 案例 互联网信息安全报告 网站修改标题有影响吗传统营销的理论基础 唯品会营销理念 视频营销培训 设计网站平台风格 被黑网站 网络营销和广告的区别和联系 湖南的商城网站建设 网络信息安全法律法规 西安网站开发 互联网信息安全报告 武汉免费网站制作 网络安全案例演讲 国内信息安全软件厂商 网络营销信息源有 主动营销意义 网站制作 武汉 风险承受行为 网络安全 网络安全高级培训 网站添加百度地图 武汉做网站价格 福田的网站建设公司 信息安全的文案 目前网络安全市场 企业营销推广方案 南宁网站制作 福清网站建设 网络安全准入系统 营销型网站有哪些 操作系统信息安全 目前网络安全市场 经典网站设计 渠道策略的网络营销 大学生如何维护国家信息安全 国家工业信息安全中心乾冠信息安全研究院怎么样 济南网站制作公司报价 网站有哪些内容 台州做网站哪家好 中国信息安全技术大会,-1 2017年信息安全研讨 网络安全管理规范北京信息安全实训 网络安全魔鬼训练营 鹤壁网站制作 微营销的优点和缺点 重构网站 网络营销推广 优帮云 信息安全奖 致辞 顺德网站建设原创 经典网站设计 信息安全等级测评机构能力要求 武汉免费网站制作 网站有哪些内容 脑白金的营销理念 重构网站 沈阳做网站公司 信息安全 恶意代码 网络信息安全教育课件,-1 西安网站开发 网络营销传播 案例 大型网站制作 网络安全设备品牌 微博营销的特点是什么意思 操作系统信息安全 360 网络安全态势 公安部网络安全管理局 网络安全问题产生的原因包括( ). 网络安全与对抗研究 20个中国风网站设计欣赏 青岛网站建设迅优 信息安全规程 无锡微信手机网站制作 长春营销外包 营销供方 南京电商网站建设公司 营销电脑培训 长沙做网站品牌 中国国安局 网络安全 湖南的商城网站建设 营销调研的过程 保定哪里有做网站的 网站建设案例 全网营销云推广 全网营销云推广 凡客诚品网络营销评估 网站培训班 中国国安局 网络安全 .org网站开发 西安网站开发 成都大牌广告网络营销 营销号网文 北京网站建设有限公司 网络安全法二十一条 信息安全审核员待遇 营销优势和劣势分析 网络营销是啥 中国信息安全技术大会,-1 上海国家信息安全中心 济南网站制作公司报价 网络信息安全法律法规 手机店微信如何营销策略 最新网站建设语言 就百度系而言 哪些能够应用于营销导向 网站建设公司浩森宇特 网站怎么进入后台维护 南宁网站公司 设计网站多少费用多少 网络安全魔鬼训练营 国内信息安全软件厂商 东台网站设计 免费网站推广 常州制作网站信息