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

<a class="close" href="https://rncz.880000.com.cn/">&times;</a>
wifi网络安全解决方案响应式网站需要单独的网址吗国家网络安全宣传周活动方案网络信息安全管理员国际网络安全公司是什么网络安全技术的基础信息安全证明灰色调网站免费建网站javascript 鼠标经过 链接 显示 链接网站 缩略图网站建设心得一个中国的黑帮老大,因为被某人暗算,被杀死了,一醒来就在韩国,却没想到自己到了韩国,还有两个孩子,一堆琐事堆积如山,各个势力也在韩国展开,是一个怎么样的故事发展呢,请等我慢慢道来。[纷扰如迷雾,逍遥且徐行] 入梦方醒,方觉大道维艰。从小世界意识回归醒来的大光头,抬手摸着自己脑瓜低吟着“无量天尊。” 看着身边传讯符,回忆着这次化身从婴儿到意气少年,又度过颠簸抗争的青年路程,往后便好似不记得自己有过壮年中年似的,回首时已在疑惑困顿中到了老年。 化身一生寂寥糊涂过,只留下一首连通顺都算不得的唯有悔恨的“一年一岁婴至此,一时一秒得与失。稻草压身抵千斤,默然回首如何持。神杂性善恶七情己,人和人白白入灰多。己识多实错分年,霎那蹉跎七十婴。” 又有那好似从老年到青年活着的感慨:“何所思何所愚何所怠,七十婴五十少三十明。天色长空人自老,道存事存时不存,上下空有物竞乾坤灭,事合人思万中无一寻。谁家孩儿拿那炮竹当烟花鸣一曲,潜游无欲无求后同求不在求呢。苦无一用怎是迷生。” 异能者的觉醒,使人类面临着悬崖上的抉择。 强权与堕落,腐朽与血腥,谁来拯救混乱中的大陆? 一枚少年。 一个系统。 一句真言。 蓝星位置暴露,万族窥视,毫无征兆的进入了星际时代。 魔窟降临,巨兽入侵,神灵坐镇其他国家,唯大夏无神庇佑! 在这个热武崩塌的绝望纪元,大夏全民参战,青壮皆赴死。 唯独夏薪,及冠之年,身强力壮,却选择和一群老弱病残一起,留在后方锻剑打铁…… 逃兵,懦夫,大夏之耻,全网怒骂,众叛亲离! …… 夜幕降临,一道遮天蔽日的虚影映照整个大夏。 “吾名传道者,穿越时空,对话先贤,传尔大道,以御强敌!” 对话燧人氏,见证第一缕文明之火诞生,顿悟薪火大道! 对话神农氏,见证神农尝百草,顿悟炼丹大道! 对话大禹,见证禹刊九州,凝聚气运九鼎,镇守国境…… …… 某一日,夏薪无事,身躯盘坐大夏上空,一人一剑。 诸神见状,纷纷退避。 “前方大夏,万族噩梦!!”江湖纷争,武林泰斗,为了夺得天下第一,各大门派明争暗斗。我是老中医,专治各种吹牛逼! 我武道超神,吊打一切不服气! 秦飞偶得神秘传承,拥有神眼,从此医术通天,武道超神,且看他逆天崛起,笑傲人生。他曾为了修行背叛师门,却还是陨落在心魔之下。复生在海贼世界的他,决定放下执念,潇洒的活一次。穆曦辰生在一个世家大族,但在一个夜晚,他所在的家族和族人被某个势力所灭,他和妹妹侥幸逃跑,在深山之中被一位神秘强者收为门徒······ 他们能否找到灭族真凶,为族人报仇呢?一场三国游戏测试,使魏伪,陈伟,贺随,张洲四人穿越到游戏。在这个群雄逐鹿,战火纷飞的虚拟世界里,他们能闯出属于他们是一亩三分地吗...沈浪:划船不靠桨,全靠浪。 凭沈浪那个穷哈哈,他为什么能够得到互联网创业女神萧红绫的喜欢。 萧红绫:因为他是背后推我的男人。 凭沈浪那个穷哈哈,他为什么能够得到娱乐创业女神苏媚的喜欢。 苏媚:因为他是我背后用力的男人。 ………… 【震惊!恐怖的商业帝国创始人】
济南网站托管 wifi网络安全解决方案响应式网站需要单独的网址吗 第四课 网络安全 网络营销最大的优势 2016网络安全大事件 网络营销有哪几种 公安部网络安全研发 网络营销的发展和趋势 济南网站托管 网络安全 图标 投资项目的咨询技巧咨询【www.richdady.cn】 特殊学校的咨询技巧咨询【www.richdady.cn】 纠纷的调解技巧【www.richdady.cn】 失业咨询【www.richdady.cn】 老公家暴的自我保护咨询【www.richdady.cn】 亲子关系的问题分析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的化解仪式【σσЗ8З55О88О√转ihbwel 儿子不读书的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子学习不好的家庭教育咨询【σσЗ8З55О88О√转ihbwel 老公家暴【微:qq383550880 】√转ihbwel 为什么过世的前世故事【微:qq383550880 】√转ihbwel 什么原因意外的前世案例咨询【企鹅383550880】√转ihbwel 化解外灵的专业手段【www.richdady.cn】√转ihbwel 解梦的方法与技巧【企鹅383550880】√转ihbwel 干扰【σσЗ8З55О88О√转ihbwel 家宅磁场【企鹅383550880】√转ihbwel 大龄剩女的婚恋规划咨询【www.richdady.cn】√转ihbwel 前世今生的轮回真相【σσЗ8З55О88О√转ihbwel “缺心眼”对人际交往的影响【微:qq383550880 】√转ihbwel 事业不顺的前世因果【企鹅383550880】√转ihbwel 衡水网站制作公司哪家专业 网络信息安全电信,-1 北京网站制作 深圳建设局网站 合肥市做网站的公司有哪些 网络营销可以分为 无锡网站制作排名 网站建设颜色注意事项 如何用网络营销的方法有哪些 口碑会员营销经典案例 济南网站托管 网络安全度量的维度 网络安全 培训内容 网络安全 活动 重庆网站开发公 企业网络安全发展 信息安全证明 网络营销最大的优势 东台网站建设 秦皇岛网站制作 互联网营销 的方法 网络安全测评培训教程 2017网络安全现状 网络安全 图标 无线网络安全 清华 呼市网站制作 广州外贸网站推广 wifi网络安全解决方案响应式网站需要单独的网址吗 高端网站建站公司 小米海外代理营销模式 营销发布平台 网络管控和信息安全,-1 国家网络安全监管系统 关键基础设施网络安全框架 工控机 网络安全 网络营销中 信息安全证明 郑州网络营销公司 什么是营销型网站 网络信息安全电信,-1 网络安全重点保障单位 网站建设入门 网络安全 防御多样化原则 摄影网站在线建设 网站验收流程 俱乐部的推广营销 网络营销的发展和趋势 济南网站托管 2015年信息安全报告制度二网络安全工作情况& 公司运营与营销 公安部网络安全研发 网络市场营销 广州外贸网站推广 网络安全应急中心 网络安全 培训内容 广东在线网站建设 东台网站建设 2017网络安全现状 专题网站建设策划 成都建网站公司网络营销平台图片 济南网站托管 网络安全产品品牌电商营销存在的问题及对策 网络安全展台 互联网产品营销 哈尔滨网站设计公司 会议营销搜单 微博营销网 信息安全测评项目 网站建设入门 哈尔滨网站设计公司 具有品牌的广州做网站 天津网站制作 网站备案需要什么 沈阳教做网站 昆明的房产网站建设 网络安全 培训内容 营销邮件标题 网络安全 防御多样化原则 网站设计手机型 合肥市做网站的公司有哪些 工控机 网络安全 网络信息安全特点有 国家网络安全宣传周活动方案 秦皇岛网站制作 信息网络安全员证书 信息安全管理 体系 厦门免费建立企业网站 网络安全演讲视频下载 摄影网站在线建设 厦门企业官方网站建设 合肥市做网站的公司有哪些 双语网站建设方案 三门网站制作 重庆网站开发公 上海交通大学信息安全服务技术研究实验室 网站图片大小 网络安全培训机构有 企业网站类型 四川网站设计 《信息安全服务资质》安全工程一级 小米盒子网络安全性wpa 网络安全培训机构有 山东网络安全法 公安部网络安全研发 俱乐部的推广营销 青岛模板化网站 网站设计风格 厦门免费建立企业网站 衡水网站制作公司哪家专业 昆明的房产网站建设 公司运营与营销 大同做网站 传统营销需要改变的原因不包括 网络营销可以分为 信息安全管理 体系 专业的营销型网站 国外 信息安全管理 网络营销方案流程 网站建设心得 营销项目的推广技巧 第四课 网络安全 沈阳网站建设公司 昆明购物网站建设 国内比较著名的网络安全及防护论坛或网站 国家信息安全师 公安部 高端网站建站公司 深圳b2c网络营销公司 兼职网站制作 百度杯网络安全技术对抗赛 深圳 企业网站建设 网络安全与文明 网络营销的安全性 青岛模板化网站 无线网络安全 清华 信息安全等级培训教程