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

<a class="close" href="https://a5q.3406.com.cn/">&times;</a>
静态营销网站代码信息安全工作面临的挑战从事信息安全人员必备2014年信息安全培训,-1国家信息安全集成,-1上海高端网站制作公司建设企业网站公司网络安全的威胁美国网络安全标准体系网站推广策划吕布戏貂蝉? 哥来了,没吕布什么事儿了,貂蝉是哥的暖床丫环! 卫仲道要娶蔡琰? 哥来了,没卫仲道什么事儿了,蔡琰是哥的红颜知己! …… 自古英雄出乱世。 现代苦逼青年刘战回到三国乱世,凭着一腔热血,收猛将,招贤士,纳美女,一步一步崛起,成为一方诸侯……本书是一个关于家庭与梦想的故事,描绘了农村生存百态,赞美了人性的善与美,同时展示了在城市化大潮流下个体追寻自我的迷惘、挣扎与无奈。 故事发生在豫东平原一个叫芦湾的村庄。孙家树是一个严重口吃的孩子,他的父亲孙福来对他感到失望与愤怒。有一天父亲对他一顿痛打,他竟然奇迹般的可以顺畅说话。一次偶然的机会,他跟养蜂人学习弹吉他,从此爱上唱歌,梦想着长大后成为民谣歌手。 一天晚上,孙家树发现父亲与郑敏幽会,他向母亲告密,导致父母关系破裂,他与父亲的关系跌入冰点。父亲的酒厂倒闭后几番折腾,均以失败告终,无奈之下重操旧业。随着时光流转,孙家树与父亲的隔膜越积越厚。他仍然热爱唱歌,带着梦想成长。“鄂州动而天下乱,鄂州安而天下定!”在中华上下五千年的历史车轮中,鄂州一直扮演着举足轻重的角色。 从上古时期黄帝与蚩尤之战中的九黎部落的站位,导致蚩尤战败身首异处;到禹分九洲的三苗族与夏王朝数百年的对峙,最终两个部落在相爱相杀中远走中原;再到商王朝勋贵之首的鄂候,为救九侯而犯颜强谏,结果遭到商纣王脯刑,商王朝也因此尽失天下;再到与西周硬刚三百余年的鄂侯驭方,其“振臂一呼,应者云集”,与淮夷东夷联军,一直打到东都成周(今洛阳市东白马寺一带)附近,然后两方互相消耗中磕死了对方,直到现在鄂地人们还有“不服周”一说。这是一个肉身横推一切的故事。 大业皇朝,黑暗降临,处处充满邪灵鬼怪,杀人无形。 面对妖异邪祟,普通人只能瑟瑟发抖,蜷缩角落,静待生命走到尽头。 江道穿越而来,携带武学修改系统,任何武学只要被他看一眼,就可以无限修改。 疯魔棍法、鹰爪铁布衫、毒砂掌、暴猿神功…统统修改到一千年后的境界。 面对妖异邪祟,江道身躯魁梧,浑身肌肉,目光如电,随手抓碎一只入侵的邪灵,语气低沉,万分恐怖。 “邪灵?谁说武学杀不死邪灵?” 看似平静的云生城与叶梦泽危机正在悄然酝酿。城主之子意外流落他乡,江湖故事,由此展开。跟着爷爷生活在青石巷的叶明,每天都坐在门口看着爷爷接收一批又一批的客人,但是当他问起他们是谁的时候,爷爷总是笑一笑便不再多说什么。叶明也不再问什么只是专心雕刻自己手中的木头,这样的日子没坚持多久,周围开始发生一些无由的命案,起初叶明只是觉得警察多了些便不以为然,直到后来他发现自己的作品总是莫名其妙的失踪?莫非是自己长腿跑了?当代毕业大学生在床上睡觉,窗外天雷滚滚,魂穿到一个充满元素的修真世界,修雷法,对强敌,结好友,泡妹子,揭开一个世界的隐秘,究竟是大梦一场,还是真实存在。 【大家好,说出来你们可能不信,我马上就要穿越了,如果可以,我需要准备些什么。】 【在线等,急......】 已经是2678年,地球资源即将枯竭……在一个极度内卷的时代,今天又该如何生存是一半人每天都在思考的问题。大部分人沉迷在虚拟的世界中,等着生命一点一点的逝去……文中的“我”只是一个学生,却不甘现实的虚无,在这个被资本支配着的,麻木的社会,寻找着书中提到的“乌托邦”。 京都农业大学研究生郭俊醒来发现自己穿越到了古代,茅草屋加破院子,再加几亩贫瘠土地,穷也就算了,居然还有老婆孩子要养。瞪眼看着操劳过度的媳妇和面黄肌瘦的女儿,再看看自己面色红润的脸,作为现代人的他心里有愧啊!于是整理整理几亩荒地,顺便做点小本生意养家糊口,赚钱不容易。奈何一不小心成了全国最大的粮食供应商和富商,皇帝跟他说话也得礼让三分。某天战事吃紧,随手甩给某王爷一本孙子兵法,从此某人成了常胜将军。而他则继续和老婆孩子过着逍遥自在的小日子。某人问起:为何不去京都发展?郭俊回答:京都?不,不,不!这儿比京都还繁荣,我为何要去?某帝:好吧,那朕把京都迁过去!
信息安全培训方案 学校网络安全信息 建设企业网站公司 上海高端网站制作公司 qq营销结果分析 如何用好营销成本 网络安全培训 费用 推广营销宣传方案 市场和市场营销的关系 病毒 网络安全检查 阴间生活的前世案例咨询【www.richdady.cn】 如何应对突然失业的情况【www.richdady.cn】 大龄剩女的真实案例有哪些?咨询【www.richdady.cn】 与老公前世的故事分析【www.richdady.cn】 特殊学校的教育理念【www.richdady.cn】 前世老公的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主的干扰解决方法【σσЗ8З55О88О√转ihbwel 为什么过世的前世影响【微:qq383550880 】√转ihbwel 老公家暴的案例分享【企鹅383550880】√转ihbwel 解梦的前世因果咨询【www.richdady.cn】√转ihbwel 事业不顺的原因有哪些?咨询【微:qq383550880 】√转ihbwel 与老公前世的前世解析【企鹅383550880】√转ihbwel 冤亲债主干扰有哪些案例?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的原因分析咨询【微:qq383550880 】√转ihbwel 缺心眼的咨询技巧【σσЗ8З55О88О√转ihbwel 发育倒退的原因分析【www.richdady.cn】√转ihbwel 内心恐惧胆怯的解决方法咨询【微:qq383550880 】√转ihbwel 事业不顺的职场瓶颈如何突破?咨询【微:qq383550880 】√转ihbwel 心特别累的原因分析【σσЗ8З55О88О√转ihbwel 如何判断自己是否被冤亲债主干扰?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 信息安全工作面临的挑战 信息安全产业&quot;十二五&quot;发展规划 重庆专业的网站建设公司 推广型网站制作哪家好 上网站乱码 网站开发与设计公司 精湛的佛山网站设计中国网络安全市场份额 网络信息安全实例 郑州网站优化 网络营销seo中级 互联网营销网站 网络营销博文案例 e春秋网络安全实训平台 厦大网络安全 网站制作 太原 网络安全防护设备部署 信息安全竞赛题库 义乌网站建设工作室 蔡晶晶 网络安全的春秋 信息安全管理理论 商品微商营销策划 2016中国信息安全服务年会 2016最新网络安全事件 2016最新网络安全事件 e春秋网络安全实训平台 网络安全 调查报告 工作室网站 免费网络安全培训课程 品牌营销网 商品微商营销策划 联想信息安全服务资质 信息安全工作面临的挑战 康师傅网络营销方案 网络营销博文案例 小米手机网络营销战略 安全等级是国家信息安全监督管理部门对计算机信息系统( )的确认. 单页网站设计 合肥网站建设 互联网营销网站 投资网站维护 佛山个人网站建设 互联网营销网站 网络营销专业介绍ppt 吉林网站建设 互动网站建设 义乌网站建设工作室 高端广告公司网站建设 信息安全分析 企业存在网络安全介绍 株洲网站制作 天蝎网站建设公司 蔡晶晶 网络安全的春秋 网站开发与设计公司 推广营销宣传方案 信息安全攻击策划口碑营销的关键 云定制网站 重庆网站开发设计公司 2014年信息安全培训,-1 网络营销博文案例 网络营销专业介绍ppt 网站设计分析 logo网站推介 合肥网站建设 信息安全对抗比赛 天?h网络安全审计系统v6.0 整合营销策略 上网站乱码 网络营销功能表 精湛的佛山网站设计中国网络安全市场份额 厦大网络安全 石狮做网站 网络安全 调查报告 深圳高端网站设计 佛山个人网站建设 网站内容管理系统 电商类网站 信息安全管理人员 公司 信息安全 案例 网络安全法 等级保护 湖南金盾信息安全 自己电脑做网站 带宽 病毒 网络安全检查 网络信息安全保护小组 网站建设 天津 信息安全等级保护是指,-1 网络营销seo中级 信息安全工作面临的挑战 营销主题? 塘厦网络营销外包 蔡晶晶 网络安全的春秋 网络信息安全实例 青岛 网络安全法 佛山个人网站建设 产品设计优秀网站 网络信息安全保护小组 武汉企业制作网站 金坛做网站 信息网络安全 法规 邢台做网站哪儿好 信息安全专业规范 佛山做网站建设 金坛做网站 网络营销功能表 网站设计分析 上海高端网站制作公司 绿盟信息安全实训平台 重庆专业的网站建设公司 上网站乱码 品牌营销网 国家信息安全与战略 网站建设主页 信息安全产业&quot;十二五&quot;发展规划 澳洲 信息安全专业就业前景 电商类网站 单位网络安全等级保护工作的组织领导情况 互动网站建设 网络安全是什么战略 国家信息安全集成,-1 广东省信息安全认证中心 安全等级是国家信息安全监督管理部门对计算机信息系统( )的确认. 静态营销网站代码 网站建设 天津 信息安全服务资质证书 级别 投资网站维护 自己的qq群营销方案 重庆网站开发设计公司 北京交通大学网络与信息安全事件处理流程,-1 吉林网站建设 新闻营销 网络安全事故盘点 信息安全竞赛题库 信息安全分析 红帽杯网络安全 联想信息安全服务资质 上海高端网站制作公司