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

<a class="close" href="https://hqrw.3406.com.cn/">&times;</a>
小米内容营销分析黑龙江网络安全中心网络营销行为有哪些特点是什么网络安全法律网络安全的上市公司网络安全体系构成要素中恢复asp.net 网站连接sql server2012商丘做网站网站怎么制作中国网络安全年会2017西电2015 信息安全就业是我DIO啦穿越到修仙世界,希望能活下去。时空错乱,整个蓝星穿越到一个高玄世界之中。 初来乍到,对于陌生环境完全不熟悉,以至于蓝星被打了个猝不及防。 星球文明毁于一旦,土地被霸占,人民被奴役。 主角横空出世,开启万物进度系统! “灵草要一株一株种?” 不好意思!看我一键种植! “灵果还要百年才能成熟?” 不好意思!我一键加速! “大阵还要数年才能布成?” 搞笑!我一键拉满进度! 掌控进度的我吊打一切!风动衣衫雨动帘,楼外青山人未还,烟波江影及时休,月照清水满河畔。本是天之骄子,却被下毒陷害,险些命丧黄泉,流落江湖,纳兰枫烬,势要杀回九重天阙,夺回属于自己的一切,从此之后,皇城江湖,唯我独尊。传说秦始皇统一六国之后,用和氏璧做成传国玉玺,又用千年寒冰铁铸成九州鼎,这两件无价之宝刚一问世,就引得天地变色,风云骤起,有人告诉秦始皇:这两件无价之宝,都跟九州气运有关,只要把九州鼎埋在昆仑山,就可保大秦万世长存。谁也没想到,当晚九州鼎就被盗了,虽然秦始皇极力寻找,也再没见过九州鼎,转眼已过千年,九州鼎突然问世,顿时九州大地上,就是一阵血雨腥风。重生战国末年,白仲成为秦国攻打赵国战场上的一个新兵。 正值嬴政横扫六合,统一天下之时,战乱频起。 白仲获得战神系统,杀敌就能变强,杀敌就能立功封爵,走上人生巅峰。 依靠秦国的军功爵位制度,白仲从一个新兵,通过不断杀敌,立下无数军功,成为大秦百万锐士的统帅,兵锋所过,六国俯首。 王翦:白将军一人,可抵千军万马。 蒙恬:白将军却匈奴七百余里,胡人不敢南下而牧马。 王绾:白将军,血手人屠,嗜杀如狂,每战必血流成河,尸横遍野,有伤天和。 六国贵族:秦有白仲,我等复国无望! 嬴政:白仲,寡人之武安君白起。 白仲:我比白起还要凶残!李天命做梦都要笑醒了。他家的宠物,竟然都是传说中的太古混沌巨兽! 他的家鸡,是以太阳为食的‘永恒炼狱凤凰’。 他的黑猫,是以雷霆炼化万界的‘太初混沌雷魔’。 连他家的小强,都是拥有万亿不死分身的‘万界永生兽’…… 从此,他驾驭十头太古混沌巨兽,化身万古第一混沌神灵,周游诸天万界,镇守无尽神域。万物魔灵,诸天邪魔,连爬带滚,哀呼颤抖! 一代魔君萧逸枫被迫重生回到过去, 开局喜提战力天花板老婆,我于人间已无敌? 屁!当他说出,仙子,我真是你夫君时,堂堂一代魔君差点没被妻子掐死。 他发誓要重新征服这冷艳美人! 他腹黑,不舔狗,人狠话又多,为达目的不择手段。 对朋友他是完美的化身,对敌人他比魔教还魔教! 一人分饰两角,将幕后黑手的活全抢了! 表面上他是正道天才,背地里他化身魔教新秀搅动天下风云。人生无常,大肠包小肠。 孟飞穿越到漫威世界,成为中城高中的一名高中生。 并且绑定签到系统,开局签到终极帝皇铠甲。 在哥伦比亚研究院签到,获得三星奖励,兔符咒。 在复仇者联盟大厦签到,获得四星奖励,镭射眼。 在联合国总部大楼签到,获得五星奖励,暗影军团。 …… 两年后,当灭霸带着他的紫薯兵团入侵地球时。 只见地平线上亮起一道耀眼的光芒……重生而来后,找了个当红的高冷大明星当女朋友,但自己的这个大明星女友,似乎并没有那么令人省心……
2014 信息安全 信息技术 营销平台的 青岛网站推 服饰网站建设 网站设计模块 空间信息安全 深圳官方网站制作 营销技术 供应链 信息安全,-1 营销证书 学习成绩差的自我提升【www.richdady.cn】 老公家暴的法律咨询咨询【www.richdady.cn】 冤亲债主化解【www.richdady.cn】 家宅磁场【www.richdady.cn】 意外的前世记忆【www.richdady.cn】 灵魂化解的步骤【www.richdady.cn】√转ihbwel 脑部不清晰的原因分析咨询【www.richdady.cn】√转ihbwel 婴灵的超度过程【σσЗ8З55О88О√转ihbwel 无形干扰【www.richdady.cn】√转ihbwel 冤亲债主化解咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 忧郁症的案例分享咨询【微:qq383550880 】√转ihbwel 存不住钱的前世因果【企鹅383550880】√转ihbwel “缺心眼”对人际交往的影响咨询【σσЗ8З55О88О√转ihbwel 与老公前世的记忆解析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份如何影响今生?咨询【微:qq383550880 】√转ihbwel 孩子不爱读书的家长引导咨询【企鹅383550880】√转ihbwel 婴灵的超度仪式如何进行?咨询【www.richdady.cn】√转ihbwel 与男友前世的识别方法咨询【www.richdady.cn】√转ihbwel 去世的父亲的前世缘分咨询【www.richdady.cn】√转ihbwel 事业不顺的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 网络营销期刊有哪些 网络安全行业公司排名 公安部网络安全保卫局 备案 承德网站制作公司 远程营销策划 h5 展示 营销方案 天津高端网站建设中国网络安全产业联盟 网站美工人员主要做什么的 网站主播 德阳网站建设 美国 互联网金融 信息安全 国家计算机与网络安全中心主任 公司营销网站制作请公司建网站 维护网络安全语句 商丘做网站 网络安全周启动一 注册信息安全员 cism 网站建设整合营销 linux网络安全技术与实现 第2版 pdf 长沙微信营销推广平台 地方门户网站建设 信息安全服务资质认证分几级 2017年信息安全案例 sem活动营销方案 网络安全编程技术与实 网络营销机会分析 小学学校网站设计模板网络安全检测包含哪些 信息安全等保必要性 信息网络安全2017 滴滴出行营销案例 信息安全等级保护规范 asp.net 网站连接sql server2012 网络营销行为有哪些特点是什么 酒店网上营销 网络安全的上市公司 信息安全等保必要性 公安局网络与信息安全,-1 cps营销 国家信息安全专项介绍 网络营销期刊有哪些 饿了么网络营销策划书 成功英语网站 k网站建设 网络安全体系构成要素中恢复 成都网络营销策划 网站怎么制作 远程营销策划 公安部网络安全保卫局 备案 深圳官方网站制作 深圳建网站公司 无锡建设网站制作 营销电商 大学生公众号 营销 国家信息安全专项介绍 网络营销的竞争分析 远程营销策划 2014 信息安全 信息技术 天津高端网站建设中国网络安全产业联盟 简约大气网站设计欣赏 2016中国信息安全大会 h5 展示 营销方案 营销平台的 网站建设的后台登录 政府网络信息安全 天津高端网站建设中国网络安全产业联盟 h5营销策略 昆明网站制作 病毒营销互联网案例分析 网站美工人员主要做什么的 微博营销的效果预期 网站设计模块 北京响应式的网站 网站主播 天猫的营销推广是什么 中国网络安全认证中心 信息安全 大数据 德阳网站建设 长沙微信营销推广平台 网站营销推广 小学学校网站设计模板网络安全检测包含哪些 网络安全资讯APP有哪些 网络信息安全教材,-1 信息安全技术 网络安全等级保护基本要求 海淀网站建设 酒店网上营销 医疗网络安全解决方案 东南大学信息安全竞赛 国家计算机与网络安全中心主任 昆明网站制作 人员使用网络安全防范 网站托管 sem活动营销方案 云南专科 信息安全 杭州做网站 网络安全检测软件 小榄网站设计 人员使用网络安全防范 江西医疗网站建设 上海网站优化公司 东莞网站优化 如何建造自己的网站 政府网络信息安全 注册信息安全员 cism 阿里负责网络安全 营销型网站哪家好? 深圳企业网站建设报价 大学生公众号 营销 邢台建一个网站多少钱 医院自营销 北京响应式的网站 美国 互联网金融 信息安全 建网站咨询 信息安全事件通报预警标准规范樟木头的建网站公司 德阳网站建设 h5 展示 营销方案 深圳官方网站制作 信息安全等级保护规范 供应链 信息安全,-1 信息安全工程师 培训班 昆明网站制作 idc信息安全管理系统架构 cu eu 网站后台更新 前台不显示 深圳营销公司策划方案 中国网络安全年会2017 微博营销案例 怎么搭建自己的网站 h5营销策略 网络安全法的主管部门 小榄网站设计 服饰网站建设 北京海淀区网站开发 信息安全服务包括 营销技术 2017年信息安全案例 服装营销网