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

<a class="close" href="https://pyc.se5g.cn/">&times;</a>
长沙做营销型网站公司余额宝营销简易的网站商城购物网站有哪些模块网络安全技术好学吗asp网站默认打开index.html不是index.asp泰州网站建设企业网站的一、二级栏目名称网络安全和信息办公室外贸网站制作喜欢山旅的哥俩穿越到原始社会新石器时代的东北,引领东北山林草莽野人的进步发展,勾连各个不同地域原始文明,重建华夏。见证世界同时期不同文明进展,考证那些传说。传说如果有人能提出一个足以受到宇宙意志青睐的想法时便会获得名为“刻印”的神赐。自16世纪麦哲伦证明了地球是球形之后,人类正式跻身为可“自我观测”文明之列,文明的发展瓶颈期也开始进入倒计时,有不可名状的存在对这个世界施加了规则:一些过了追溯时效无法证伪的世界未解之谜会结合众生念力诞生出一些对文明发展造成阻滞或破坏的神秘意志或是规则,后世把他们称之为灾厄。或是受制于“平衡”规则的束缚,为中和灾厄带来的影响,人类中第一次出现了获得刻印的个体。血腥残酷的修真世界,实力为尊,崇尚武力,凡人皆为蝼蚁。想要站到世界的最巅峰,孤儿院长大的他,如何做到?卖力苦修?拜入修真大派?还是寻得名师?统统都不是,偶得万界供应系统统加身,开挂人生由此开始,修炼、金钱、宝物、丹药诸多资源随手可得。从此开始了火箭般的成长之路,从一介凡人蜕变为修真巨贾,不过弹指间。以另一个视角(陶南)面对生活的世界的巨大变化麟羽意外穿越到了三界混乱时期,还获得了系统,关于麟羽如何一统三界就只能看他自己的了,开局一个系统装备全靠买。穿越到玄幻世界的周成感觉欲哭无泪,他筑基整整十五年,还是没办法突破到金丹境界,这是何等的悲催! 连系统都对他无语了———说周成没有修仙的资质吧,他是真的没有资质,身体吸收不了天地灵气,根本就没办法突破到金丹境界,但是他在十五年吃系统给的数不尽的筑基丹堆积下愣是把筑基筑到了九百九十九层,就很离谱好吧! 不仅如此,他还成功地肉身成圣了,并且学会了像缩地成寸、无视万毒、一拳把人轰得灰飞烟灭等等诸多牛气哄哄的法门。 周成:“别的我都还能理解,系统你能告诉我为什么你给我的筑基丹是芥末味的吗?天知道我是怎么过这十五年的!整整十五年! 万幸在作者大大的安排下我终于要结束这十五年隐居山林的苦日子,遨游玄幻世界了,感谢作者,感谢读者大大,至于系统你,那就算了吧,尽不干人事。” 系统:“我本来也不是人,啦啦啦~”怀揣着复仇的决心,凤源走上了一条未知的道路,在黑暗侵袭的各个宇宙,成为了他人的希望,而凤源自己的光又在哪里呢?陈树和大学死党顾清两个人玩游戏喝酒。 输了一轮游戏,死党竟然整活把女总裁拉进了陈树的家庭群。 第二天醒酒之后,陈树才发现女总裁在群里聊嗨了! 本来以为自己被即将被炒鱿鱼了,却发现女总裁的要求一个比一个离谱。 陈树,到我办公室来。 陈树,跟我回家见父母。 陈树,我们同居吧。 面对女总裁的要求,陈树无法拒绝。 直到有一天,女总裁含情脉脉地向陈树求婚。 陈树:不是假扮情侣吗?你怎么玩真的? 一个系统可以多无耻,开局无敌天赋被刷走,炼武天才变为废材… 所有还只是他为了取乐而开的玩笑 真想给他两大嘴巴子! 哎,算了,谁叫它是系统呢… 就算如此,我也要通过努力,修道成仙!击败大boss!迎娶白富美!走向人生巅峰!哈哈哈哈……嗝,哎呀妈呀差点没被呛死……作者bananana,12岁,爱创作的猫头鹰
信息安全类认证建设企业网站公司 但是网站相关内容和程序并没有建设完其次网站公司给我公司的 网络营销降低成本 网络安全运维面试题 忻州网络营销 国家网络安全宣传活动 提供常州网站建设公司 做网站行业 京东目标市场营销策略 余额宝市场营销策略 不爱读书的改运方法咨询【www.richdady.cn】 孩子厌学的原因分析【www.richdady.cn】 改善脑部不清晰的方法【www.richdady.cn】 精神不振的环境影响【www.richdady.cn】 感情纠纷的前世记忆咨询【www.richdady.cn】 祖灵的超度仪式【微:qq383550880 】√转ihbwel 如何缓解耳鸣症状【www.richdady.cn】√转ihbwel 化解祖灵的仪式流程咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 不爱读书【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何识别冤亲债主威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 纠纷的法律援助咨询【σσЗ8З55О88О√转ihbwel 财运不佳的财富积累方法有哪些?咨询【企鹅383550880】√转ihbwel 孩子学习不好的解决方法【www.richdady.cn】√转ihbwel 解梦的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的情感维护方法有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 耳鸣的心理调适【σσЗ8З55О88О√转ihbwel 去世的母亲的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老公的前世影响咨询【σσЗ8З55О88О√转ihbwel 内心恐惧胆怯的心理调适咨询【σσЗ8З55О88О√转ihbwel 投资项目的财务规划咨询【www.richdady.cn】√转ihbwel 信息安全防范技术 运营商网络安全 浙江做网站 网站的区别 网络营销平台调研 网络信息安全 案例 kerberos 福州专业做网站的公司 网站建设三合一 什么是网络事件营销 信息安全等级保护项目计划书 东莞做网站it s 网站整合营销信息安全报 大良网站设计价格 信息安全大数据公司排名 ipad网络安全 网站建设素材 问答营销的成功案例 长安微网站建设 大良网站设计价格 长沙网络营销 网站防复制 上海网络营销外包 福州seo营销 玄武盾网络安全 免费网站 亚马逊营销方式是什么意思 注册网站域名 徐州网站制作如何定位网络营销课程教学内容 做网站 深圳 福州建网站 做网页 买已备案域名是不是用了别人的信息注册影响自己网站吗 flash个人网站 网络安全工作思路 西安网站建设制作价格 网站主色调简介怎么说 票务网站建设 湖南企业网站建设 亚太地区信息安全问题 网络营销专业培训学校 营销策划推广执行 网络信息安全 案例 kerberos 网络安全工作思路 营销策划推广执行 微信辅助网站制作 网络安全和信息办公室 福州专业做网站的公司 深圳高端网站设计 广州微网站建设机构 信息安全类认证建设企业网站公司 域名和网站 网站建设三合一 如何利用饥饿营销 怎么把代码添加到网站内所有页面 的</body>标签之前 网站推广方案 什么是网络事件营销 信息安全相关认证证书 常州网站制作机构 铜仁网站建设 东华大学 信息安全 实行信息安全等级保护重点保护基础信息网络和关系国家安全 网络营销实训课程ppt 珠海医疗网站建设公司 中国信息安全认证中心在职人员 东莞做网站it s 网络安全名单 南昌网站制作 网络安全 管理 网络营销专业培训学校 浙江做网站 京东目标市场营销策略 南昌网站制作 如何免费建网站 深圳网络营销资讯 信息安全职业生涯 如何免费建网站 网络安全新趋势 国家信息安全漏洞库(cnnvd)承办的"后xp时代"安全技术研讨会 网络安全政策解读 网络安全密钥怎么破解 湖南企业网站建设 网络安全审计原理 成都网站建设v 郑州商城网站建设 专业的搜索引擎营销企业 玄武盾网络安全 参加营销活动的好处 石家庄网站建设找哪家好 凡客 营销 大良网站设计价格 网站建设陕icp 资源营销站 模板建站影响网站的优化排名 合肥网站优化费用 长沙手机网站设计 深圳外贸网络营销 呼和浩特做网站的公司 外部营销 怎么创立网站 珠海医疗网站建设公司 南昌网站建设公司渠道 泰州网站建设 移动互联网营销师考试 怎么创立网站 余额宝市场营销策略 如何利用饥饿营销 郑州营销网站托管 余额宝市场营销策略 电脑信息安全文件,-1 凡客 营销 福州seo营销 信息安全等级保护定级备案 青岛建网站公司 网络安全协议是为保护网络和信息 提供常州网站建设公司 北邮 网络安全研究信息安全竞赛证书 网站的需求 深圳高端网站设计 网站的总体架构 网站建设公司 南京 网站整合营销信息安全报 淄博做网站推广哪家好 信息安全大数据公司排名 产品网络营销分析报告 网络安全运维面试题 什么是网络事件营销 国际认证网络安全专家 上海有名的做网站的公司 信息安全等级保护项目计划书 网站防复制 flash个人网站 网站主色调简介怎么说 网络营销时时彩 企业可以申报的信息安全证书 浙江做网站 flash个人网站