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

<a class="close" href="https://1zsf.550022.cn/">&times;</a>
成都网络安全法免费个人网站邮件列表营销论文许可email营销的工具国家网络安全管理做网站推广对网络营销课程的认识信息安全介绍网络营销案例工具市场营销能力秀 侦察班长王珂,纯朴灿烈。平凡军旅中屡有拍案叫绝的奇遇;天道酬勤更有无数惊险之幻奇。报国军中,与老排长胡志军、战士谷茂林、梁小龙等战友结下生死情谊,再现当代战士血染的风采。从军路上,先后结识女兵吴湘豫、大学青年老师叶偏偏和抗震救灾救下的小姑娘李雪影,演绎跌宕起伏的情感故事。 西山驻训、草原备战、抗震救灾、抗洪抢险、战备值班、南疆杀敌……军旅生涯一部部传奇,作者努力描绘一个忠诚、勇敢、可爱的战士形象,以及他成长的心路历程。成长于斯倜,心悦于君侧。 全书约120万字,大部分取材于真实的的人物与事件,敬请欣赏。明朝末年吏治败坏,山西、陕西、河南等地重大自然灾害不断,民大饥不能活,关外女真崛起,多次入关劫掠。 大明境内狼烟四起,明失其鹿,天下共擒之,一个医生穿越到明末成为庶子,庶子也风流,张景开始他精彩的擒鹿之旅。 天界至宝天神之怒碎裂成两半,从此消失不见,天界由此陷入混乱。要想天界恢复秩序,必须寻回天神之怒。在天界遍寻无果之下,众天神不由束手无策。 穿越到古代,家中一穷二白! 不怕,运用21世纪的知识,随便搞点发明创造,改善家中生活! 一不留神富甲一方,漂亮老婆天天催着纳妾,小日子不要太幸福! 蛮族入侵,那就组建骑兵,制造火炮,打他丫的! 影响我平静的生活,敌寇虽远必诛!被迫害的李只能带着一对B去打NBA, 本来只想混两年就买只球队当老板, 没想到阴差阳错, 居然混到了总冠军。前世今生,同样的经历,就该同样的命运吗? 看他如何逆天改命。一觉醒来,这个世界再也不是熟悉的那个车水马龙的样子,纷乱的战火,各色的超能力,这是干嘛啊!觉醒了SSS级别的超能力,我是奶妈?不,我这是圣职者,惩戒与祝福才是我的专长,那个劳什子治疗,只是我附带的能力罢了!某一天,一个神秘人的到来打破了徐世乔的平静生活。命运的齿轮开始旋转,在知道了自己父母双亲的死亡后,毅然前往中东,去消灭那已经变成食尸鬼的曾祖父。他的奇妙的冒险,开始了。现代都市和平生活并未持续多久。当平行的世界被人们挖掘到信息,位面重叠,世界重启。这里变成了修行者的世界。无尽的尸海,广阔的荒漠,万族林立,百家争霸,无情的杀戮将一切虚幻斩断,而何处才是人类栖息之地?简介:红孩儿桀骜不驯,屡次不听教诲,被观音罚下人间,沦落成稀有动物。历经磨难,终于明白以强欺弱的严重后果。在奄奄一息之际得到观音的点化,可以重新为人,开始人间一个接一个的奇缘……
全网营销四大系统 电商营销课程培训 邢台网站优化 网络营销案例工具 信息安全月报 上海高端建站网站 网络安全面临的主要威胁及解决措施 成都网站建设市场分析 上海平台网站建设公司排名 信息安全介绍 意外的原因咨询【www.richdady.cn】 前世今生的轮回理论【www.richdady.cn】 前世缘份的咨询技巧咨询【www.richdady.cn】 意外事故的预防措施【www.richdady.cn】 与男友前世的咨询技巧【www.richdady.cn】 冤亲债主咨询【微:qq383550880 】√转ihbwel 前世缘份的再次相遇咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的和谐共建【σσЗ8З55О88О√转ihbwel 前世因果咨询【企鹅383550880】√转ihbwel 孩子压力大的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场策略有哪些?咨询【www.richdady.cn】√转ihbwel 学习成绩差的前世因果【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世老公的前世影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子不爱读书的家长引导咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子不爱读书的家庭教育咨询【www.richdady.cn】√转ihbwel 婴灵的超度过程咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 官司的案例分享【www.richdady.cn】√转ihbwel 前世缘份的识别方法【www.richdady.cn】√转ihbwel 老公家暴的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 网络营销学科论文 网络安全技术研究所 微信支付 网站建设 信息网络安全与管理 网络安全处理 国际 网络安全攻防竞赛 网络安全(二级) 国家信息安全文章 信息安全月报 E校园营销推广方案 许可email营销的工具 企业网络安全工程师 男女网络安全意识 企业网站系统 云营销 网络安全管理的内容 国家网络安全基地建设方案 企业网络安全平台 石家庄医院网站建设 电商营销课程培训 大庆做网站 网络安全道哥 网络营销一般学多久信息安全等级保护... 上海平台网站建设公司排名 不属于营销战略4p的 E校园营销推广方案 许可email营销的工具 鹤壁网站优化 模式营销 做网站设计服务商 重庆企业网站推广 app购物营销 武汉新公司做网站 网络安全设备 厂商 重庆九龙坡营销型网站建设公司推荐 网络安全屏保 东莞 网站设计 网络营销公司利润 论坛营销 成功案例 email 营销 实战网络安全免费阅读 什么是信息安全事态 信息安全标准wg 优秀网站的颜色搭配 官网营销 专注武汉手机网站建设 网络安全处理 俄罗斯 信息安全 2016 企业网络安全工程师 云管端 网络安全 营销跟促销的区别 网站建设的 计算机安全与信息安全 微网站后台 邢台网站优化 网站制作帐户设置 信息安全月报 太原网站改版 清华信息安全网络安全达内培训 营销营销 国家网络安全基地建设方案 长沙微信网站公司 信息安全标准wg 网络安全就是信息安全 关于信息安全的图片 网络安全谷地址 网络信息安全防护措施 网站设计样式 网络安全道哥 太原网站改版 遂宁网站优化 建网站怎么上线 百度xml网站地图 中小企业网络营销顾问 深圳网站建设公司排名 全网营销四大系统 大学对网络营销的认识 网站信息安全管理办法 最新网络安全技术 网站建设的 微信网站制作 武汉网络安全培训 做网站设计服务商 网络安全技术规范 中国计算机网络安全大会 重庆企业网站推广 最大的网络营销公司 做购物网站 网站建设业务前景 企业手机网站建设策划 信息安全内审员 全网整合营销公司 大庆做网站 关于信息安全的图片 全网营销四大系统 武汉新公司做网站 nike传统营销的案例 营销公司 上海 我国的网络安全发展趋势 网站双域名 E校园营销推广方案 昆明网站优化 创新的手机网站建设 信息安全内审员 网络安全 未公开接口 网络营销一般学多久信息安全等级保护... app购物营销 成都网站建设市场分析 信息网络安全与管理 凯里网站建设 重庆企业口碑营销 中国计算机网络安全大会 2016中国网络安全年会 丹东网站建设 成都网络安全法 企业网站系统 昆明响应式网站制作 网络大学网络安全法 2017最新网络安全事件 营销计划短链接 营销跟促销的区别 企业网络安全平台 成都网站建设电话咨询 信息安全协会 信息安全月报 云管端 网络安全 成都网站建设市场分析 什么是网络营销员 关于网络营销的论文 杭州网络科技网站 南通网站建设 网站icp备案 南通网站怎么推广 营销的误点 网站建设周期 成都网站建设电话咨询