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

<a class="close" href="https://9ob5.voxe.cn/">&times;</a>
2014年第二届信息与网络安全国际会议网站推广优化张店网络安全工程师考试要求网络与信息安全监测专家营销二网络安全工作情况&国家互联网信息安全阳江网站建设2012到2013中国信息安全状态及发展趋势门户网站建设方案【历史种田+江湖八门+富可敌国+复仇】 秦书铭穿越到燕赤国,成为八门祖师爷之子,江湖人尊他为少帅。 开篇背负血海深仇,少年和小妹相互扶持,亲情成为这冰冷的世界唯一的温度。 穿过刀林阵,喝过鸡头血;一拜天为父,二拜地为母,从此少帅入江湖。 这是一个充满骗局的世界,风水局,老千局,扎飞局,鲁班局,层出不穷。 上一世身为百亿富豪的秦书铭表示,不好意思,在下擅长局中局。 小妹问:哥,为什么那些坏人都在替你做事? 秦书铭:傻妹子,因为你哥我是坏人头子! 小妹问:那为什么皇子和军机大臣都对你弯腰? 秦书铭:因为哥有钱啊,富可敌国的那种。 小妹问:那为啥女土匪也对你弯腰? 秦书铭:你还小。“但得妖娆能举动,取回长乐侍君王......” 我竟穿越到了气运即将耗尽的商纣? 而且我还就是那个最昏庸无道的纣王帝辛? 骂我好色?忍了! 骂我嗜酒?也忍了! 骂我昏君?绝对不行! 拉龙族灭灾患抗天庭,维护人皇权威! 盈国库普教育得民心,重振大商雄风! 天庭西方阐教,我都不服 人族神族妖族,我全都要 我就是人皇帝辛!史上第一明君!三生三世终不见,一怒而断忘川河。穿越到诡异的世界,我的金手指是青蛙军团? 你且看我怎么打穿这个世界。 “宝宝呱,你怎么埋人的手法那么熟练?” “呱~(唯手熟尔。)” “法海呱,总有刁民要害寡人,寡人怕怕。” “呱,呱呱~(施主莫怕,大威天龙,大罗法咒……)” “灰太呱,我饿了。” “呱~(老大,我给您做了满汉全羊……)” …… 唉,我也想当个普通人,可是我手底下的呱他不允许啊。 获得影视女主签到系统,在综合影视世界与各色女主展开不一样的感情纠葛。20世纪三好青年穿越到洪荒大陆,与三清结拜,与十二祖巫结拜,复活盘古,征服其他神话。这里没有无尽的斗气,没有瑰丽的魂环,有的只是无尽的诗词和读书人为尊的世界。 浩然正气孕忠魂,文华之气惊诸圣。 拳打诸子百家,脚踏天妖南蛮。 无数读书人长叹,天不生孟飞,儒道万古如长夜!相传,在大陆的一角,有一个名为神仙宗的门派。这里,有强到不可思议的导师;这里,有数之不尽的修炼资源;这里,体质、血脉一条龙服务,包你成神!那个宗门,只有你想象不到的,没有不会出现的奇迹! 无数强者帝皇云集前往,想要拜入神仙宗,却也只能老老实实跪在山门前,等候召见!崎岖不平的前世,造就了璀璨如星空般的今生,人生如梦亦如幻。“谢邀,人在末世,刚刚穿越。” “什么?这里竟然实行007?根本不是人待的地方!” “算了,敌我势力悬殊过大,先忍了。” “什么?敢动我妹妹!不行!我要造反!”
互联网+网络安全 兰州网站推广 网络安全 的段子 网络安全 开源 网络安全公司50强 网络安全预警防御技术 经典营销策划案例 信息安全保护管理办法 商城网站包括哪些模块 网站建设论坛 性压抑的咨询技巧【www.richdady.cn】 缺心眼咨询【www.richdady.cn】 大龄剩女的改运方法咨询【www.richdady.cn】 前世今生的缘分如何解读?咨询【www.richdady.cn】 解梦的前世记忆【www.richdady.cn】 前世记忆恢复技巧咨询【σσЗ8З55О88О√转ihbwel 冤亲债主干扰的根源是什么?咨询【企鹅383550880】√转ihbwel 婴灵、邪灵、祖灵咨询【σσЗ8З55О88О√转ihbwel 外灵的干扰特征咨询【企鹅383550880】√转ihbwel 个人专属前世因果分析咨询【微:qq383550880 】√转ihbwel 婴灵的化解仪式咨询【微:qq383550880 】√转ihbwel 公司破产的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的问题分析【企鹅383550880】√转ihbwel 长期精神不振的原因【σσЗ8З55О88О√转ihbwel 为什么过世【σσЗ8З55О88О√转ihbwel 如何知道自己有前世缘份?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 头脑混沌的生活习惯咨询【企鹅383550880】√转ihbwel 缺心眼的解决方法【微:qq383550880 】√转ihbwel 老公家暴的前世记忆【微:qq383550880 】√转ihbwel 阴间生活的前世因果【企鹅383550880】√转ihbwel 河北网站建设 信息安全人员等级划分 小米成功营销案例 网络安全等级保护规定 兰州网站建设公司排名 微网站和微信 网络安全 的段子 2012到2013中国信息安全状态及发展趋势 网站建设咨询公 博客营销有哪些优势 西安做搭建网站 天津网站优化公司 网络安全合格证变更 信息网络安全风险评估是以 网络安全应急中心 信息安全工程师技能我国网络安全情况汇报 中国网络安全领导小组 广州外贸网站信息 《信息安全服务资质》安全工程一级 营销建立信任的办法 简述网络营销的内涵 维护信息安全主要是保持其信息的保密性完整性可用性和( ).,-1 工业机器人 网络安全 关于网络安全的误解 网络安全日志 国家网络安全网易 网站运营模式 国家网络安全网易 南京网络安全厂商 邮件营销策划方案对营销专业的认识 危害网络安全次数 信息安全报告 2017 海淀区公安网络安全 沙井做网站 信息安全等级保护四级 如何制作网站 信息安全保护管理办法 江苏网络安全 国际网络安全论坛2017 email营销是什么 信息网络安全风险评估是以 沙井做网站 email营销是什么 网站设计一般会遇到哪些问题 广州淘宝网站建设 广州市网站网页制作公司 门户网站建设方案 关于网络安全的误解 营销危机 大学生维护网络自身信息安全 小红书 怎么做营销 网络安全测评资质 网络安全从入门到精通pdf 网络安全应急中心 公司开展信息安全培训 外贸模板网站深圳 2014年第二届信息与网络安全国际会议 企业手机网站建设信息 兰州网站建设公司排名 企业网站改版升级 网络营销软件代理 网络营销商 公安局网络安全解决方案 网站建设论坛 网络安全预警防御技术 信息安全领域的公司 信息安全周 国家信息安全联盟 博客营销有哪些优势 网络安全表格加密实验 信息安全领域的公司 网络安全网站有哪些 网络安全培训实施意见 信息安全等级分为几级 网络安全网站有哪些 网络安全培训会 网站备案与域名关系 重庆如何做整合营销 网站设计一般会遇到哪些问题 国家互联网信息安全 建网站需要多少钱 互联网饮料营销策划 广州淘宝网站建设 网络与信息安全监测 网站整合营销 网络信息安全意识 网络营销的基本工具有哪些 中国网络安全公司排名 专家营销 百度杯网络安全技术对抗赛 网络安全从入门到精通pdf 中国网站建设公司百强 合肥网站设计高端公司网络安全风险等级意义 建网站需要多少钱 论在线营销 南京网络安全厂商 信息安全管理政策 简述邮件营销的优点 建立个网站 红蓝攻防信息安全演练 合肥做网站的 信息安全保护管理办法 海尔集团品牌营销战略 网络信息安全特点有 密码信息安全测评中心 网络营销平台分析 迈克菲网络安全套装下载 腾讯信息安全运营中心 中国网络安全公司排名 无锡市网站设计 建网站程序 网络营销策划方案案例 企业网站获取信息和通过搜索引擎获取信息方式的区别和联系 网站建设价格标准信息 网络安全 的段子 网络营销的基本工具有哪些 简述邮件营销的优点 上海计算机信息网络安全协会 网络安全日志 信息安全领域的公司 国家网络安全通报中心 网站备案与域名关系 中国网络安全领导小组 合肥网站优化公司 《信息安全服务资质》安全工程一级 企业网站获取信息和通过搜索引擎获取信息方式的区别和联系 网站建设咨询公 上海武汉阳网站建设产品网络营销分析报告 建网站备案 旅游网站案例 河北网站建设 简述网络营销的内涵 多语言网站 迈克菲网络安全套装下载 维护信息安全主要是保持其信息的保密性完整性可用性和( ).,-1