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

<a class="close" href="https://43z.zuocu.cn/">&times;</a>
信息安全能考研吗网站制作换下面友情连接常州制作网站信息信息安全应急响应时间网站的互动网络营销教科书网站信息安全扫描网络安全等级保护三级网络安全专家林伟网站建设基本流程北京网络信息安全公司排名我是一个老千,为了报仇,我坐上赌桌,以千术把仇人踢进赌博的深渊。老千生涯,靠赌为生。三教九流,江湖百态。 赌桌上,没有常胜将军,输一次,万劫不复。一场末世浩劫突然来临,蓝星炸了。 死亡,亦是新生。 然而,噩梦才刚刚开始。 一轮轮的末世危机,不断来袭。 想要活下去,运气、智慧、实力、勇气缺一不可。睁开眼,林浩强重生到和妻子离婚的当天。 上一世的他,五毒俱全,抛妻弃女。 弥留之际的他,得知老婆积劳成疾,早已亡故,女儿叛逆,十年牢狱之后,死于街头。 林浩强死不瞑目。 上天给了他一个重生的机会,还给了他一方小世界。 为了弥补上一世的罪孽,林浩强起早贪黑,拼命工作,把老婆和女儿宠上了天。武则天:“李余,真是朕的好孙子,我大唐的骄傲!” 狄仁杰:“李余是我见过最完美的人!” 李白:“看了李余的诗,我忽然发现自己不会了。” 李隆基:“李余是个坏人!” 李余:“你们不用夸我,我只是一不小心就造了盛世而已,很普通的啦!”少年李苏牧,自北地持剑而出。 为寻身世之谜,一人一剑,乱北荒,踏北洲,横渡冥海;闯东洲,撼东荒,决战天幕山。尘寰外,碧海中,桃花之间桃花岛。秋风起,海波兴,几度潮来听玉箫。且看东邪黄药师传人,如何纵横都市。满天神佛朝我跪拜,天下美女唯我独揽!已完本,放心阅读。 人生几何,对酒当歌,道路长远,上下求索。 如果有一天,你不用再去考虑任何东西,只需要去做自己想要做的,那你会想要去做什么? 高骑大马的白衣少侠,手捧书卷的儒袍读书人,端着破碗的褴褛乞丐,身份贵重的华袍官员······ 如果有一天,你突然穿越之后,又发现了自己不会死,你又会想要做什么? 我叫李三四,木子李,不三不四的三四。 从现在开始,我宣布我是最大的,我宣布我是最自由的,我宣布,这个时代······它就叫李三四! 穿越玄幻大世界。 炮灰命运的江榆激活气运模板,能够随意查看并截胡他人机缘。 查看天命之子。 截胡天道造化,神兵功法,种种大自在加身。 查看天命之女。 截胡进境气运,百族臣服,将之收为自身红颜。 等等... 连终极大反派的机缘都能截胡?这可就有意思了! 多年以后。 当江榆立足诸天之巅,行首投足间,皆是造化手段时。 某宗门杂役:“说起来可能没人相信,当年那块至尊骨,其实我感觉是属于我的...”穿越大唐,意外成为李靖的第三个儿子。 因刚穿越的他按照系统指示逃婚,两年后,对突厥用兵的李靖与李世民发现了他的踪迹......然后他们就懵了,这是什么?没见过吧土鳖,这叫华子,可好抽了,老李,你今有口福了,来吹瓶啤酒。世间有两种人,男人跟女人!
企业网络营销调查心得 美橙互联旗下网站 青岛高端网站设计 营销型网站建设案例 云南信息安全测评中心 网站建设基本流程北京网络信息安全公司排名 计算机信息安全实验室 sem整合营销服务 最新营销推广软件站 国内信息安全管理标准,-1 暗恋的心理调适【www.richdady.cn】 头脑混沌的前世因果咨询【www.richdady.cn】 阴间生活的前世缘分【www.richdady.cn】 暗恋的原因分析咨询【www.richdady.cn】 家庭关系的矛盾化解方法有哪些?咨询【www.richdady.cn】 有官司的预防措施威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何预防冤亲债主的干扰?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的故事有哪些经典案例?【企鹅383550880】√转ihbwel 财运不佳的财运改善咨询【微:qq383550880 】√转ihbwel 家庭关系的心理调适方法有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 事业不顺的职场提升【企鹅383550880】√转ihbwel 迟缓儿的康复训练咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的缘分解读咨询【企鹅383550880】√转ihbwel 强迫症的症状与诊断威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 忧郁症的心理调适咨询【www.richdady.cn】√转ihbwel 忧郁症咨询【σσЗ8З55О88О√转ihbwel 婴灵、邪灵、祖灵咨询咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的和谐之道咨询【www.richdady.cn】√转ihbwel 前世缘份的重逢有何迹象?咨询【www.richdady.cn】√转ihbwel 公司破产对股东的影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 网站制作设计收费标准 2017信息安全展览会 网络事件营销特点 个人网站在那建设 重庆 网络安全 营销中心的功能 营销型网站建设案例 鹤壁做网站 网络营销师要学多久 电子邮件营销作用 开发网站需要哪些技术 我国信息安全管理 网络安全审核方案 信息安全计划 网站设计风格化 国内信息安全管理标准,-1 网络安全技术就业 上海网站制作设计公司 网站添加百度地图 网站设计工作室做静态网站 戴尔的营销理念 设计网站需要考虑哪些 营销方案班网络安全等级保护备案 网络安全的概述 解放军信息安全方案 网络安全攻击 青岛高端网站设计 网络安全攻击 重庆信息安全产业 网络营销体现什么营销理念 湖南网页设计培训网站建设 莱州网站建设 网络营销主要原因分析 网络营销主要原因分析 网络安全技术就业 深圳网站设计美工 泉州做网站 信息安全研究什么? joomla 2.5:你的网站建设使用与管理 pdf 建网站方法 鹤壁做网站 建设网站需要问的问题 网络营销推广策划公司 最新营销推广软件站 信息安全工程资质证书 安阳网站制作 cisp ppt 中国信息安全测评中心 网站怎么写 第五届网络安全会议 手机信息技术网络安全 属于网络安全服务潼南网站建设 智能电视信息安全 网络安全技术吧 第五届网络安全会议 微网站自助建站后台 信息安全计划 网络安全主要涉及信息存储安全信息传输安全网络应用安全等3个方面 微网站自助建站后台 虎门网站 青岛网站推广 杭州网站制作公司 sem整合营销服务 网络安全的概述 搜索引擎营销的功能 龙口建网站 戴尔的营销理念 网络安全的特殊性 omg网络安全团队是什么 网站设计风格化 怎么做网站优化 学网络安全技术到 青岛微网站 网络营销的职位要求 重庆 网络安全 上海网络营销推广 高端网站设计建站 网络营销渠道成本 病毒营销的三个特点是什么 营销系统有哪些 信息安全教学 中国网络安全协会 网站信息安全扫描 信息安全展 电子邮件营销作用 大学生信息安全知识 2017信息安全展览会 湛江网站制作 网络安全 会议主题 信任对营销的重要性 湛江网站制作 信息安全教学 个人上网确保网络安全 工信部 国家信息安全研究中心 胶州建网站 营销发展史 电气营销型网站方案 镇江企业网站建设 政府与机构类网站 湖南的商城网站建设 网络信息安全 杂志 常州制作网站信息 做网站创意 成都网站建设龙兵科技 青岛高端网站设计 安阳网站制作 信息安全的基本目标 上海公司网站制作价格 河北网站设计制作 搜索引擎营销的营销过程 网上银行系统信息安全保障评估准则 网络安全法 漏洞 国云科技 信息安全,-1 b北京网站建设 cisp ppt 中国信息安全测评中心 自己弄个网站 镇江企业网站建设 青岛网站 网站的作用 网站建设基本流程北京网络信息安全公司排名 网站设计风格化 滴滴出行网络营销策略 贵州 网站建设 云南信息安全测评中心 信息安全等级保护的原则是,-1 2017信息安全展览会 思维导图 网络安全 餐饮网站建设 中国最好网络安全公司排名 营销方案班网络安全等级保护备案 提升网络安全管理水平 个人信息安全的例子 网站建设 长春 网站设计公司 高端网站设计建站 网络营销相关证书