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

<a class="close" href="https://vxh.voxe.cn/">&times;</a>
杭州网站建设旅社网站建设长春作网站深蓝 信息安全网络营销计划 案例分析莱芜网站建设平台营销能力分析报告国家网络安全中心 英文网络安全管理员培训网络营销案例评析我们穿越了?医理入武,自创玄虚魔体。 善恶一体,衍生七情六欲。 心火入刀,焚灭三毒四劫。 燹魔一叹,刀斩尘世百态。 描写主人公平子山修道的经历为主线,行侠仗义,打抱不平,与现实造成很多的冲突,最后成起正果的故事《大奉金店》简介,张忠臣穿越到奉天,本想开一家金店,发财过富裕的日子。没想到那时候兵荒马乱,土匪多如牛毛。不拿起枪杆子只有挨欺负的份。张忠臣被逼无奈,只得拿起枪杆子,跟随张大帅闯江湖,不知道他混得如何? 探子来报,报告张队长,有朝廷大官小老婆玉美人玉太太路过此地,我们抢不抢? 张队长回答,抢,不是抢来做压寨夫人,只是为巴结朝廷,为招安做准备。 不知道他们抢到玉美人玉太太没有? 请看《大奉金店》,更多精彩内容都在里面。 他不是想一个人孤单,只是想为了她孤单,她说今生无缘,那他就逆命改天…… 一个普通弟子。一路逆袭的故事。凌烟河的怪异传说:“”三月三的水!猛鬼张开的嘴”,谁都不能在这一天靠近这里。 谁知道就在某一天,一个襁褓就出现在凌烟河的岸边。 他是谁?来自于哪里? “我已经这么努力了!为什么神灵不给我力量?难道就是因为我不是这个世界上的人? 布里亚斯家族的养子,霍迪斯!大喊一声:“龙爷!求大腿!” 到底是谁安排了这一切,是那条孽龙?还是那个玉佩,又或者就是那个分身? 我说你小子,到底会几种猎技?咱们每晋升大阶段才增加一个元素属性吗?你打算都学会? 霍迪斯!武者的猎技多也就罢了,你连妖兽的术法也会? 为什么你竟然是“天眷者”?这是要碾压这个时代吗? 恭喜布利亚斯家族,今天被布莱顿亲王赐爵! 儿子!你做到了!家族的荣耀啊! 米娜,如果你活着,肯定能看到家族的又再次回归了贵族! 小尼雅咬着粉嫩的手指:“霍迪斯哥哥,你等着,我会超过你的哦” 一个个奇幻的世界等着霍迪斯来攻克,请众位读者跟随他的脚步慢满攀升到巅峰!掌管异界与世界的混沌,千万年来都一直存在, 不管是人类或什至神跟魔族都畏惧着它过。 如果你对奇幻、异世界战斗类小说有兴趣, 那么这部综合各种战斗因素的小说将给你前所未有的新的体验。 与异界的混沌势力合作,深渊跟诸神跟魔王及人与人的斗争,还有古龙跟转生者。 一场场的战斗,一生只有李白的&amp;quot;纵死侠骨香,不惭世上英。 我以剑为道,斩尽诸邪万恶。 响往那太白所写的侠客之道&amp;quot;十步杀一人, 千里不留行,事了拂衣去,深藏功与名。 以及&amp;quot;纵死侠骨香,不惭世上英。 万物诸神皆可斩,不公不义不能服。 斩异端、斩群魔、斩外挂。然而我有个系统,却叫做聊天系统...董见山夫妇捡到一个失忆少年,少年为保护家人,打残恶霸,带着家人逃到玄都,与各大势力争权夺利,拉开了魔仙争霸的序幕!界王命元将近,亟待传人接位,天下魔仙对界王之位虎视眈眈,远古魔神多番作恶,无上天国搅动风云,末武大乱,已成定局!看少年如何双拳两脚战天下,降尸伏魔登界王!林辰用短短三百年时间,成为仙界最年轻的仙帝,却遭三大老牌仙帝联手围攻,同归于尽。 未曾想重生回到少年时的蓝星,这一世他将不再留有遗憾,有怨报怨,有仇报仇! 修仙之路也将更加势不可挡!孤儿周肖敏,再一次捕猎中获得了一个神奇的玉佩,活得机缘,探寻圣迹,终成神明
ios开发 信息安全,-1 国网大营销 信息安全和管理办法 网站建设前置审批 深蓝 信息安全 青岛手机网站制作 江苏营销型网站 大连网站 微信支付 网站建设 微信网站制作 亲子关系的案例分享【www.richdady.cn】 家庭关系的沟通技巧有哪些?【www.richdady.cn】 财运不佳的财富积累方法有哪些?咨询【www.richdady.cn】 强迫症咨询【www.richdady.cn】 发育倒退的早期干预措施【www.richdady.cn】 孩子不爱读书的应对策略有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子不爱读书的阅读习惯咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 公司破产的心理调适【微:qq383550880 】√转ihbwel 前世今生的轮回真的存在吗?咨询【企鹅383550880】√转ihbwel 婴灵的形成原因咨询【www.richdady.cn】√转ihbwel 官司的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 意外的原因【微:qq383550880 】√转ihbwel 儿子抑郁症的康复训练咨询【微:qq383550880 】√转ihbwel 亲子关系的家庭氛围咨询【微:qq383550880 】√转ihbwel 亲子关系的心理建设方法有哪些?咨询【www.richdady.cn】√转ihbwel 学习成绩差的家庭教育【企鹅383550880】√转ihbwel 强迫症的环境影响【σσЗ8З55О88О√转ihbwel 冤亲债主的定义【σσЗ8З55О88О√转ihbwel 与男友前世的前世解析【企鹅383550880】√转ihbwel 性压抑【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel cnnvd(中国国家信息安全漏洞库)一级技术支撑单位 名单 梧州网站设计 E校园营销推广方案 莱芜网站建设 黑客风云vip教程 信息安全渗透测试课程 网络营销环境分析步骤 网站建设排版页面 无线网络安全测试 优秀网站制作 什么是网络营销员 信息安全专业分支 上海网络安全检测公司 杭州网站建设 网络新闻营销推广代理 个人信息安全读取彩信 一对一营销理解 响应式网站需要单独的网址吗 网站制作旅行社 网络营销的策略有哪些? 山东信息安全等级保护测评公司 网络营销学科论文 顺德网站设计 江苏营销型网站 广州网站优化 网站与维护饰品网站建设 中国信息安全公司 门户网站 ios开发 信息安全,-1 昆明网站开发 网络安全软件公司排名 潍坊网站建设 商城网站建站程序 国际网络安全组织 上海网络安全检测公司 cog信息安全专业委员会 有实力的网络营销公司 平台营销能力分析报告 重庆整合营销那家好 信息安全专业分支 可信网站验证高校网络安全评估报告 乔布斯式营销 信息安全专业分支 信息安全日 网络信息安全法 2016 网站顶部 网站制作旅行社 网络营销证书名称 潍坊网站建设 饿了么营销案例 苏州装修公司网站建设 信息安全logo 冰桶挑战网络营销分析 成都网站建设市场分析 网络营销能力秀软文 简述网络营销的特征 网络自由网络安全 景安建网站 营销体系内容 鹤壁网站优化 做网站设计服务商 沈阳做网站公司专业网站优化制作公司 网络安全的基本目标不包括 网络营销4p概念 漂亮的设计类图片网站 国网大营销 网站怎么弄 网络攻击对信息安全的主要影响 饿了么营销案例 信息安全设备厂家,-1 国网大营销 长沙微信网站公司 分类网营销 网络安全 课程 长沙微信网站公司 漂亮的设计类图片网站 山东网络安全 优衣库微博营销案例 广州网站优化 有实力的网络营销公司 网站方案策划书 互联网有什么营销资源 信息安全产品强制认证目录 乔布斯式营销 营销群发器 拍拍网营销 网站策划方案 电商营销课程培训 邮件营销策划 网站备案流程 营销公司 上海 哈尔滨手机网站制作 上海网络安全检测公司 一对一营销理解 如何开发手机网站 医院网络营销是什么意思 广州外贸网站信息 国家网络安全中心 英文 什么公司需要网路营销 昆明网站开发 cog信息安全专业委员会 长春作网站 网络安全条例的是 营销型网站建设案例分析 成都网站建设市场分析 长沙网站设计报价 梧州网站设计 国网大营销 生物网站建设 广东南方信息安全产业基地有限公司 数据安全保护系统 破解 冰桶挑战网络营销分析 假期网络安全分析 电商的网络营销 数据库营销 个人信息安全读取彩信 网络安全 课程 网络安全管理员培训 营销公司 上海 做网站设计服务商 衡水企业做网站推广 网站建设的 网络营销证书名称 云管端下一代网络安全架构 cog信息安全专业委员会 手绘风网站 优秀网站制作 饿了么营销案例 合肥微营销公司 营销策划品牌事件口碑 简述网络营销的特征 中国电信网络信息安全 信息安全和管理办法 信息安全专业分支 网站盈利 山东网络安全 网络营销学科论文