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

<a class="close" href="https://i9o.888866.com.cn/">&times;</a>
网络信息安全月报四叶草 信息安全企业网站建设目标美国网络和信息安全组织体系透视石家庄公司网站建设移动营销优缺点网络安全关注的方面网络营销平台图片网站制作方案国家网络安全信息中心招聘 这篇文章是我对现实生活中一些事情的深省,并以这篇小说表达出自己的一些见解。读者在浏览时可以思考关于某些事物的了解我们是否相同。风涌、浪起、神脉开;屠神、弑仙、踏九天。 术创世,术者,万物之本源也。创者,万物之载源也,世非术创,而为术与创。术创化一,术创化二。术之天地,创之时空。何为术创?探索,从第一篇起,末日,一。 一股叫术的能量横空出世,引发了一场末日危机,是灾难,还是新生。神秘学校的背台究竟是谁,这一切究竟是有人策划,还是一起起的意外,又或者说这就是命?七千年前,被选拔出的勇者我被冠予为最强人类的盛名,最后还获得了史今第一勇者的称呼,以一己之力击败了魔王军,在与魔王最后的战斗中,无可救药的爱上了哪位粉发绝美的少女魔王,后在我的追求下,成功娶得了魔王,就这样魔王与勇者的爱情持续了七千年至今。妖魔乱世,鬼怪猖獗,大离皇朝动荡不安。 张韬一觉醒来,发现自己成为一名命不保夕的捉妖人。 妖魔图鉴,万物可辨。 凡是入手经过的妖魔鬼怪,都是不可多得的财富! 张韬惊喜发现,他竟然可以通过点亮妖魔图鉴,获取各种奖励... 阴冥之眼,九幽之瞳,换头术,赤霄真经,御神宝决,浮屠魔塔,九碑妖石,法相天地,长生不灭......【本书又名:《灵气复苏:异生入侵!我,永护世界!》】 灵气复苏时代的开启,使人类觉醒了血脉获得了各式各样的异能。 伴随着灵气复苏开启,异生物接踵而至,人类奋勇抵抗暂获和平。人类通过对灵气复苏的理解,使得这个世界产生了两种职业--武师与御灵师。 凌岚轩,一个刚刚成年的觉醒者,因为天赋等级太低,被各种人嘲笑和侮辱,就在被别人踩在脚下辱骂时,却阴差阳错的觉醒了系统。 情绪收集系统开启!!! “啥?情绪收集?只要产生系统所需要的情绪,就能获得超高奖励?” “啥?我重新觉醒的异能竟然是双异能?太不可思议了。“ “我的双异能,其一竟然是......这不是挂?那是什么呢?” 父母神秘失踪,只留下四样东西: 1封信、1万块钱、1个扳指,1瓶老酒。 “小烨:18岁前,不许喝酒,不许找我们。” 今晚过后,苏烨就满18岁了。 喝不喝那瓶酒呢? 喝了之后将会发生什么? 这是苏烨面临的两个问题!不追求CP结合,架空历史的一部帮派穿越小说! 道上老大白楚阳,在一次斗殴中被人刺杀,结果直接穿越到数百年前的白氏家族。 为了能让自己存活下去,同名同姓的白楚阳,使出自己在现代混迹的所有本领,让这个古代的白氏家族,逐渐成为一方霸主! 堂屋正中的灵牌贴上自己的照片,荒村后山的墓碑刻上自己的名字,卧室房灯挂上晃动的麻绳,自来水管里面塞上带着头皮的头发....   去住个凶宅,挖个坟,抱个纸人,撞个鬼,作为有一个上进心的恐怖片龙套,这不都是应该做的吗?徐弘文本是一个工地包工头,后来世人称他披肩客之神,一个可以影响全球物价走势的神级大佬。 为了接工程,他小小年纪熟悉各路潜规则; 为了拿项目,他只身一人手持板砖大战钢管队; 为了签合同,他带领兄弟干翻亚丁湾南岸索马里海盗; 为搏,,,红颜一笑,他改变世界时尚风向。。。。。。
网络安全培训目标 网站备案与域名关系 昆明企业网站建设公司 网络安全的相关知识 合肥网站优化公司 俱乐部的推广营销 联合国 信息安全 信息技术与信息安全 防范系统攻击的措施包括 营销问答 济南外贸网站建设 官司的自我保护【www.richdady.cn】 如何应对突然失业的情况【www.richdady.cn】 外灵咨询【www.richdady.cn】 升迁障碍的职场转型技巧有哪些?咨询【www.richdady.cn】 如何应对冤亲债主的干扰【www.richdady.cn】 冤亲债主干扰的前世记忆【微:qq383550880 】√转ihbwel 亲子关系的案例分享【www.richdady.cn】√转ihbwel 冤亲债主化解威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 精神不振的案例分享【企鹅383550880】√转ihbwel 家宅磁场的检测工具咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老婆的前世缘分【www.richdady.cn】√转ihbwel 迟缓儿的自我提升咨询【微:qq383550880 】√转ihbwel 改善脑部不清晰的方法咨询【微:qq383550880 】√转ihbwel 大龄剩女的真实案例有哪些?【σσЗ8З55О88О√转ihbwel 存不住钱的解决方法【σσЗ8З55О88О√转ihbwel 存不住钱【企鹅383550880】√转ihbwel 意外的前世故事咨询【企鹅383550880】√转ihbwel 大龄剩女的婚恋经验【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 祖灵对家族的影响【www.richdady.cn】√转ihbwel 特殊学校威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 温州微网站制作公司推荐 地产饥饿营销案例分析 兰州网站推广 数据库数据 网络安全审计 第4届国家网络安全片 建网站程序 网络营销培训机构 基本营销 信息安全工培训中心 江苏网络安全 深圳品牌网站推广 网站建设心得 公众号营销策划 阳春网站建设 广东在线网站建设 东台网站建设 网络安全 政府 连云港网站建设 国家网络安全宣传周活动方案东莞 网站设计 信息安全工培训中心 国家信息安全技术水平考试,-1 网络安全的四梁八柱 信息网络安全风险评估是以 营销商务处 网络信息安全标准证书 中国信息安全测评中 昆明企业网站建设公司 网络安全的四梁八柱 石家庄公司网站建设 网站日ip 网络安全的四梁八柱 网络营销基础南京 信息安全公司 国家网络信息安全中心,-1 网络安全 内容 广州淘宝网站建设 网络安全法 数据公司 川大网络安全学院 沈阳教做网站 神话信息安全 上海科技 信息安全,-1 北京网络营销顾问网站设计一般会遇到哪些问题 注册信息安全员怎么样,-1 营销具绵阳 网站 建设 金盾网络安全软件公司 信息安全工培训中心 厦门app网站设计 营销商务处 平台化营销 注册信息安全员怎么样,-1 信息安全应急响应中心 健康起源秉承怎样的营销理念. 中国信息安全测评中 白帽子-高端信息安全培训 网络安全认证方式 信息安全等级保护官网 上海网络营销平台排名 合肥网站优化公司 信息安全集成 有哪些 青岛城阳网站设计 信息安全攻防竞赛 基本营销 外贸模板网站深圳 营销培训平台 微营销有哪些功能 信息安全保障体系概述 国家网络信息安全中心,-1 信息安全应急响应中心 工控网络安全事件 建设网站的流程 京东网络营销手段分析 tsrc网络安全精英卡 厦门app网站设计 网站简单化 网络安全 政府 招远建网站 广州网站开发 信息安全 课堂 信息安全风险控制 视频网站制作 神话信息安全 网站设计模板 合肥网站优化公司 高端企业网站信息 连云港网站建设 网站背景色 网站备案时间 网络安全关注的方面 网站备案与域名关系 石家庄公司网站建设 第4届国家网络安全片 如皋网站制作 烟台软件优化网站建设 集团 信息安全检查 川大网络安全学院 中国网络安全谷 信息安全等级保护官网 首都网络安全日完整日程看这里 建网站程序 合肥网站优化公司 福州专业做网站的公司有哪些 集团网站建设哪家好 网络安全关注的方面 杭州网络营销咨询 中国网络安全谷 网站网络安全制度内容 网络信息安全标准证书 信息安全集成 有哪些 企业网站建设目标 信息安全的五大特性 白帽子-高端信息安全培训 中国网络安全公司排名 达内培训 网络营销 网络信息安全标准证书 营销型集团网站建设 济南外贸网站建设 招远建网站 网络与信息安全优秀员工 信息安全攻防竞赛 南昌的网站推广公司 保定网站制作推广公司 上海网络营销平台排名 网站推广排名 友情链接式营销 健康起源秉承怎样的营销理念. 双语网站建设方案 网络信息安全实施意见,-1 医疗网络安全 佛山新网站制作市场 信息安全产品评测价格,-1 网站多少个关键词 营销型集团网站建设 联合国 信息安全 重庆网站建设 优化 网络营销培训机构 南澳做网站