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

<a class="close" href="https://mqu.niexun.cn/">&times;</a>
潍坊网站建设推广公司常州网站价格网络营销对全球影响招远做网站关于网络安全动态网络安全的评价标准网络与信息安全小组河北高端网站设计公司进入教育行业信息安全的企业2004年国家信息安全专项死亡也许只是开始 姜清为寻找失踪的父母,来到了这所诡异的博物馆,这里存放着凶案现场的物证,每一件都是一段痛苦的回忆,但也是让这些凶案真相大白的关键。而姜清越是深入越能发觉里面隐藏的秘密……一颗巨大的陨石改变了这个世界,改变全部原有生态环境,可怕高强度辐射之下,人类只能够依靠自己 建立起安全区生存,安全区之外便是可怕辐射。 曾经温和生物在恐怖辐射之下,产生了巨大变异,以杀戮为乐,以毁灭为荣。 可怕陨石不止带来了可怕辐射和生态改变,巨大陨石之内,还隐藏了另一只可怕生物,它们进化出属于自己社会等级团体,拥有可怕数量军队。 人类在灾难之后,面临无数挑战,是否还能够重建属于自己曾经 家园,强大科技是否能够再一次拯救人类。 在这个灾难大地上,人类、异化兽和辐射生物相互之间撕杀。 主角是众多穿越者中一员,这一次他将会携带着红警3内将士们,在一次在这一片灾难之地,重启属于他们自己家园,他们不会在认输,也不会在失败!!! 新坑续写红警系列,请各位看官老爷们,多多支持呀!本书的主人翁逍遥华,醉酒救人后穿越到异界。在绝色师尊们的抚养下,长成风流倜傥、玉树临风的翩翩少年。为振兴师门,下山入仕。逍遥华堪称修仙奇才和人生赢家,短短数十载登顶修炼之巅,爱恨情仇在那片华夏大地、纵横捭阖、开创自己不一样的开挂人生还有精灵么? 抱歉,你来晚了,精灵已分发完毕。 啊?能不能走个后门,给我个不听话的... 没等说完,管理员就“砰”的关上窗口。 西树:?? 联盟就这服务态度?我要去投诉! 随便,你投诉联盟,关我们火箭队啥事儿。 【无金手指,非正经精灵文。】赏心悦目的女生无端蒸发,娃娃脸变得深沉起来。 南郊出现UFO,火星兀地多了颗卫星。“别扯外星人来敷衍了事!” “你大脑里有了超级电脑,去研究这个方程吧。你还可以利用它成学霸,成富豪。” “尽情享受生活吧。好女婿,我家不差钱。” 小行星向地球飞来。“爸啊!好日子就到头啦?” “面对不可避免的灭顶之灾,我们尽量多活一个人。” 撞击倒计时两日,“我以联合国的名义命令你,离开地球!” 撞击倒计时三小时。“我向大家揭开这个秘密吧。” 出门在外,谨记必带一本《古真经》因为你不知,真(白发女鬼——新疆语)会在哪里,也许会在你的身边。重回十五年前,林毅站在十字路口重新拥抱未来。 叶平穿越到妖魔横行的世界,成为了斩妖除魔天玄靖安司的一名值夜者,身附伴生青囊,只要救人就能获得对方生命中最宝贵的东西。 灵丹妙药、绝世功法…… 妙手医百病,丹心斩妖魔,他是这人间的神,亦是诸天万族的劫核弹洗地后,科技倒退,神话映照进现实,灾难后的人类如何在这个面目疮痍的世界中生存下去……虚道宇宙觉醒,冥想师应运而生,脑域被不断开发,各种神奇的能力纷至沓来,一个奇异的世界逐渐被揭开神秘的面纱!一代圣魂降临,凭废躯重返巅峰,修五逆破障称神
合肥网站制作前3名的 中国网络安全年会 青岛 公用网络安全审计 深圳搜索引擎营销企业行业网络营销现状 上海信息安全招聘 中国网络安全年会 青岛 公司网络安全事件 门户网站网站制作 移动设备 信息安全 四川全网营销宣传 有官司的解决方法咨询【www.richdady.cn】 老公家暴的前世因果【www.richdady.cn】 什么原因意外的前世缘分咨询【www.richdady.cn】 财运不佳的风水布局咨询【www.richdady.cn】 公司破产的原因分析咨询【www.richdady.cn】 亲子关系咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的共同成长方法有哪些?【www.richdady.cn】√转ihbwel 缺心眼的表现及成因咨询【企鹅383550880】√转ihbwel 感情纠纷的情感和解【www.richdady.cn】√转ihbwel 外灵干扰的咨询技巧咨询【www.richdady.cn】√转ihbwel 冤亲债主的干扰与因果咨询【www.richdady.cn】√转ihbwel 大龄剩女的自我提升咨询【www.richdady.cn】√转ihbwel 发育倒退的环境影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 什么原因意外咨询【企鹅383550880】√转ihbwel 大龄剩女的前世记忆【企鹅383550880】√转ihbwel 查财运专业服务咨询【企鹅383550880】√转ihbwel 维护良好家庭关系的秘诀有哪些?【σσЗ8З55О88О√转ihbwel 失业的咨询技巧咨询【微:qq383550880 】√转ihbwel 发育倒退的解决方法咨询【微:qq383550880 】√转ihbwel 前世缘份如何影响情感生活?咨询【企鹅383550880】√转ihbwel 智能手机网络安全 公安部信息安全等级保护评估中心 原型图网站 网络安全缘起 河北高端网站设计公司 传统营销分析方法 深圳 信息安全培训课程 联想公司网络营销实施 杭州品牌网站 顺的网站建设咨询 服务好的微网站建设 公安网络安全监察 建的网站打开很慢 网络安全 专题 信息安全管理实用规划 高校网络安全采访问题 厚街网站建设公司 公司营销 公用网络安全审计 网络安全的评价标准 信息安全竞赛官方网站 国外的app设计网站 盐山做网站 合肥网站制作前3名的 营销资料网 网络营销产品的层次 广西信息网络安全报警网站 公司营销 做网站讯息 安徽省信息安全测评中心招聘 进入教育行业信息安全的企业 网络安全前景2017 网络与信息安全小组 2017全球华人网络安全 网站开发网站设计的标准 关于网络安全动态 国家网络安全与信息化领导小组 网络安全的评价标准 烟台做网站 scan扫描信息安全技术 关于耐克公司的营销案例分析 政府网络安全通报 营销者网站 2017全球华人网络安全 公司网络安全事件 长安网站建设 深圳 信息安全培训课程 莱芜网站制作 yes网络安全论坛 汕头网站制作 西安网站架设公司 联想公司网络营销实施 网站建设的搜索栏怎么设置 广西网信信息安全 招聘,-1 改密码为保障网络安全 无锡网站建设哪家专业 网站阴影 网络信息安全公众号 顺的网站建设咨询 张长河 网络安全 信息安全竞赛题 图片隐写题 湛江有那些网站制作公司 4p营销组合策略包括 服务好的微网站建设 gb/t 20984-2007 信息安全技术 信息安全风险评估规范 医院网站建设郑州网站开发 什么计算机网络安全 网站色调为绿色 模板网站最大缺点 网络营销产品的层次 唯品会邮件营销 中国网络安全年会 青岛 上海专业做网站公司地址 岳阳网站建设 网络安全产品介绍 网络与信息安全 网络信息安全面临的威胁丹东网站建 营销 老师 大数据网络安全测试题 网络安全技术包括什么 什么计算机网络安全 汽车有哪些信息安全 商业型网站 html5电影网站建设 郭启全 网络安全法 恩施做网站 谷歌英文网站 厚街网站建设公司 信息安全竞赛题 图片隐写题 郭启全 网络安全法 潍坊网站建设推广公司 个人信息安全 案例 信息安全课程设计报告,-1 潍坊网站建设推广公司 公用网络安全审计 安徽省信息安全测评中心招聘 动态小网站 营销型 改密码为保障网络安全 校园网站怎么建 线上营销 上海营销外包公司怎么样 信息安全竞赛官方网站 网络安全项目经理 小龙虾网络营销方案 企业网络营销活动方案 网络安全周展会 国外的app设计网站 4p营销组合策略包括 网络安全 大讨论 移动设备 信息安全 西安做北郊做网站 校园网站怎么建 我们国家网络安全吗 合肥网站制作前3名的 核心网络安全小组 淘宝网网络营销理论 网络信息安全教育培训网站的比较 营销资料网 福州网站制作 腾讯公司网络营销分析 淘宝网网络营销理论 深圳搜索引擎营销企业行业网络营销现状 网络营销产品的层次 网络安全威胁类型 深圳搜索引擎营销企业行业网络营销现状 深圳专业网站制作公司排名 网络安全周展会 信息安全课程设计报告,-1 智能手机网络安全 gb/t 20984-2007 信息安全技术 信息安全风险评估规范 政府网络安全通报 动态小网站 企业成功营销策略案例 上海营销外包公司怎么样 大数据网络安全测试题