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

<a class="close" href="https://yenf.zhenchan.com.cn/">&times;</a>
营销试听微信大营销信息安全知识竞赛深圳企业网站建设公司排名网络营销从事工作西安 网站搭建营销邮件具体案例网络营销哪里学好一点网络安全谷免费建设网站平台什么叫网站优化修仙好容易结成金丹,你们居然说是结石,一位姑娘年纪轻轻就结成了元婴,你们居然去医院把她的元婴打碎,更可气的是你们居然把一位身外化身的化神期大神,拉进了精神病院囚禁了起来……面对追求科技文明的仙魔世界,修真与科技两种文明又会碰撞出什么样的火花呢?敬请期待!【传统玄幻无系统+高武超燃+稳定更新】 你是否想过,今世的你,不是真实的你。 你是否在不经意间,见到似乎见到过的场景。 天道有轮回,人道亦有轮回。 曾经,我们都试图找寻过那个曾经的自己。 一人一剑站世颠,何惧再入轮回间!(传统玄幻、搞笑风、无后宫、三人组+兄弟带我修仙) 杨夯生在蛮荒从小对仙人充满了向往,有一天见到了真的仙人,那颗向往仙的心再也无法控制,于是他抓住机会溜了出去…… 君曾见,一代威名赫赫的人王只不过是个善于种菜搭理农家小院的归隐居士。 君可见过一代剑仙也只不过是个在街市码头赤膊耍刀弄剑的杂耍艺人。 君又可曾见一界主宰厚脸相求借宿农舍, 只为了偷人家树上的果儿解解馋。 都说龙潜深渊,蜕皮重生势必不凡,又说凤翔九天,浴火涅槃贵不可言。 可实际上却是龙困浅滩遭虾戏,凤羽飘零,受鸟欺。他们也都是身陷这世间大泥潭苦苦争渡,以求找机会涅槃重生,重掌前日辉煌,再创今朝不朽传说。祖星灵力复苏,陆风意外开启传送阵,至此开启异界之旅。冯景行穿越到妖魔鬼怪横行,仙人满地走的西游世界,成为花果山上的唯一人类。 原本打算苟起来,但在美猴王出海寻仙之前,委托代管花果山的猴群,成为代大王。 金手指随之而来,获得最强培育系统,能够培养无数强者。 不只是人类,就连猴子照样能够培育,还能其发掘天赋,专项培养。 有剑道天赋的猴子,学习无上剑法,化身剑仙,一剑开天。 有肉体天赋的猴子,学习强化肉身之术,化身魔神,徒手撕龙。 有锻造天赋的猴子,学习神锻之术,制造神兵利器,坚硬神甲。 有大智慧的猴子,学习未来科技,在西游搞科技,小到手机机器人,大到机甲航母。 美猴王学成归来之后,看到花果山猴猴如龙,遍地先进科技,直接傻眼,失声道:“让你代管花果山,怎么都成强者了?”吴聊穿越宗门林立的武道世界 本为圣宗附属,前途无量 却得罪权贵,师门被灭 侥幸逃得一命的吴聊加入六扇门 从此镇压天下 “圣宗犯法,与庶民同罪。” “凡违背人道,犯我大乾律法者,虽远必诛!” 这是一个名为源气大陆的超级大陆;人们经参悟了源气的修炼方法,以修炼源气为主。产生了一些等级分别为凝气境,化源境,源丹境,源灵境,地化境,天象境,源皇境,尊者境,圣者境,至尊境,圣至尊,仙至尊,一个境界又分为九重天。在这里强者为尊,实力就是话语权。沉眠三载,不知岁月流江。 废材?不是,是天才! 帝脉天赐,指天斥神张扬。 废体?不是,是神体!天下为敌,为伊孤战八方。 男人的尊严,需自己找回!武逆修神,古今天地至上。 神体开启,不生即死!一朝成神,纵横万载无双! 以异晶淬气,以精魄炼体!天笑我,我笑天! 神体大成,碎灭乾坤!武徒--武者--武师--大武师--武灵--武宗--武尊--武王--武皇--武圣--武帝---------------------------------------【轻松爽文,热血,扮猪吃虎。】虾米个人微信公众号有免费番外可以阅读,zhishixiaoxiami,只是小虾米拼音。为还债漂泊海外,机缘巧合得到基因改进的机会,从此拥有不死之身,不老之躯,又得到宇宙至宝,往返于宇宙的任意角落,从此开始了奇迹的无界之旅!
信息安全专家,-1 易营销官网 网站空间租 湖南的商城网站建设 网络营销和广告的区别和联系 重庆免费网络营销 网络安全大赛致辞 营销邮件具体案例 广州外贸营销型网站建设公司 建网站主机 前世缘份的咨询技巧【www.richdady.cn】 迟缓儿咨询【www.richdady.cn】 交通意外的常见原因咨询【www.richdady.cn】 失业的前世因果咨询【www.richdady.cn】 不爱读书的前世记忆【www.richdady.cn】 孩子厌学的自我提升【σσЗ8З55О88О√转ihbwel 亲子关系的改运方法咨询【微:qq383550880 】√转ihbwel 财运不佳的咨询技巧【www.richdady.cn】√转ihbwel 与男友前世的识别方法【企鹅383550880】√转ihbwel 前世缘份的前世故事【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 忧郁症的改运方法【www.richdady.cn】√转ihbwel 阴间生活的描述与传说【σσЗ8З55О88О√转ihbwel 发育倒退的前世因果咨询【σσЗ8З55О88О√转ihbwel 老公家暴的应对方法咨询【www.richdady.cn】√转ihbwel 莫名其妙感伤的解决方法咨询【企鹅383550880】√转ihbwel 莫名其妙感伤咨询【微:qq383550880 】√转ihbwel 儿子不读书的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 与女友前世的识别方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 为什么过世【www.richdady.cn】√转ihbwel 如何改善财运不佳的情况?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 办公室信息安全工作职责,-1 网站设计风格化 edm营销平台的费用 北京市网络安全局电话 亚马逊网营销策略 网络安全应急响应时间 邮件营销外包 网站中如何嵌入支付宝 优化营销 网站添加百度地图 微信大营销 审计网络安全 四川网站制作哪家好 营销网站建设企划案例 网络营销直播 郑州网站建设的公司 网络营销策划经理 已备案网站 衡水专业网站建设公司 北京网站制作公司 信息安全与企业 信息安全 数据分类 建网站主机 广州营销 亚马逊网营销策略 全屏网站 网站单子 网站如何制作 江苏网站建设网络公司 展示型网站制作公司 黑色网站 英文网站推广 广州外贸营销型网站建设公司 视频营销培训 公司互联网站全面改版 信息安全资产 edm营销平台的费用 网站修改标题有影响吗 网站单子 国内十大信息安全事件 长沙市营销工作室 西安网站开发 2014中国网络安全攻防大赛 信息安全技术包括哪些主要技术2. 网络时代中的企业特别是中小企业应该如何有效地实施网络营销? 网络安全加密算法 郑州网站建设的公司 河北网站设计制作 成都做网站 制作自己的网站 企业信息安全介绍 换网站公司 网络营销行为有哪些特点 行业网络营销分析报告 2015年6月 网络安全法 实战网络安全免费阅读 湖南的商城网站建设 石家庄医院网站建设 北京网站制作公司 信息安全知识竞赛 保定php网站制作 网络营销是啥 重庆专业网站建设费用 国家网络安全宣传周活动名称 河南网站优化 审计网络安全 国家网络安全基地建设方案2015信息安全竞赛题目 汕头建网站 专注武汉手机网站建设 成都做网站 网络安全技术研究所 信息安全资产 顺德手机网站设计价位 信息安全与企业 大学生网络安全实例 郑州网站推广公司 龙岗网站制作讯息 北京网站制作公司 专业设计网站 网站上传文件功能实现 网站设计流程 网站备案不通过怎么解决 微信大营销 景安网站 信息安全密码设置要求 办公室信息安全工作职责,-1 信息安全与企业 网络营销外包 中国网络安全归谁管理 营销试听 营销调研的过程 2017国家网络安全大会 北京展览馆 网络安全日 网络安全应急响应时间 汕头建网站 网络营销和广告的区别和联系 网络营销未来趋势 建网站都要什么费用 儿童节网络营销 网络营销整体运营方案 中国国家信息安全测评中心 信息安全产品 营销号的公司 网络营销 的概念 视频营销培训 福州做网站 衡水网站制作报价 国内十大信息安全事件 微网站需 营销调研的过程 暖色调网站 什么叫网站优化 营销邮件具体案例 晋城网站建设 网站空间租 网络营销从事工作 网络营销环境包括哪些 亚马逊网营销策略 福州做网站 信息安全公益课程 网站换域名 2017年429网络安全日 杭州网站建设开发 网站添加百度地图 中山网站建设找丁生 公司互联网站全面改版 网络营销整体运营方案 杭州网站建设开发 南宁做网站找哪家公司 网络营销发展课完整版 北京信息安全测评中心 深圳企业网站建设公司排名 重庆免费网络营销 国家网络安全宣传周活动名称 网站制作优化济南北京启明星信息安全技术有限公司 成都网站编辑