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

<a class="close" href="https://ummg.voxe.cn/">&times;</a>
互联网品牌营销是什么蘑菇街营销手段国家网络安全相关规定网络信息安全攻防大赛关于开展信息安全等级保护安全建设整改工作的指导意见,-1免费的企业网站利用网站营销的目标形象类网站网络安全内容大全网络安全网络探测实验室车辚辚,马萧萧,行人猎枪各在腰; 村镇灯火不再现,黔首飘曳迦南遥。天地之间灵气复苏人们纷纷觉醒了超凡力量,但是萧阳直到初中毕业之前都没有觉醒力量。直到他考上了高中他才发现了他真正的能力——考试,通过的考试越多就会变得越强。 ……一个只有七岁的小男孩,没有任何修为。。。 一个凡人就敢叫板修炼者、最后差点死掉。。。 不被亲戚以及任何人待见的王无尘,晕倒在路边,被七彩宏光救醒。。。 撞见小姑被辱 激发无名怒火,唤醒七彩红光,使七彩发生变异,从此身高定格在一米六五。。。 被人侮辱、辱骂、各种各样的嘲笑都不在乎,就是不能触碰底线。否则,让你知道花儿为什么那样红。。。 宇宙掌控者阻挡我,我就撑破你的宇宙,把你的宇宙挤压成一团。 王无尘一步一步的建立门派,带领兄弟,踏着纨绔子弟、自以为是、狗仗人势的肩膀踏上修真界,踩着修真界、仙界、神界、圣界、虚无界、甚至宇宙掌控者的尸体,走上哪个高度,成为无上主宰穿越灵界修仙十几年,林天登基成为天衍圣主之日。 【灵界将与蓝星进行位面融合,成为新的世界!】 两界融合后,灵界与地球文明迅速碰撞,蓝星各国震惊。 “灵界人是变种人?空手接火炮,肉身揍坦克?” “米国企业号被击沉,灵界处于原始时代?” “一人横扫米国,她是天衍圣主的弟子!” 隔岸观火,林天暗地里保护着华夏,同时底蕴飙升。 “覆灭米国,修为提升至登峰造极境!” “华夏成功进入灵气复苏时代,奖励百劫神丹一枚!” “覆灭轮回圣地,修为突破至界王境,额外奖励三位圣女鼎炉。”走在回家的路上,一片漆黑的深渊裂隙,将他吞没,当他醒来时,他发现自己来到另一片陌生的世界,这里有恐怖的荒兽,强大的修士,绝世倾城的美女。 看我们主角,如何在另一陌生的世界,一步步成长为,让人谈之色变的存在。人家穿越都是直接氪金加点,装逼打脸,一步登天。 马致远却只能靠着一块简陋到极致的面板,在华山上努力的修炼着。天生早衰体的绝世术师,地宗传人,为续命而寻找昆仑龙脉,恰逢古尸妖变,为全天地正道,接地脉龙气斩妖。 ”没吃饭吗?不想死就给老子快点。“ 噗,黑暗的大寒矿洞中,瘦骨嶙峋的王长安及族人正双眼失神,麻木的被压迫着。 是揭竿而起? 举族祭祀,掩埋于地下的青铜图腾,消逝的远古,揭示着血淋淋的真相.......天选降临,蓝星各国分为不同文明,每个文明抽取一百人进入天选空间,以神话底蕴为力量源泉,展开竞争! 西方天使、希腊众神、克苏鲁神话、埃及法老、樱花国八百万神…… 唯独,没有炎黄神话! 蓝星之上,炎黄经历文明断层,举头三尺无神明。 直到云泽穿越而来。 云泽:“我炎黄乃上古文明!上有盘古开天辟地,下有仙神护国安民!” 蓝星诸国:“别搞笑了,炎黄无神,众所周知!” 半年后…… “这天选不公平!炎黄本就是高级文明,随便挑个神就能碾压我们,这还怎么玩!”唐朝末年,侠盗并出,风云四起,天下大乱。 天山深处,冰雪沉封万物。 一个阳光明媚的早晨,雷天穹走出山洞,望望冷光四射的冰雪,猛然间抽出腰间那把鬼神胆寒的千魂刀,一声大喊,将丈外的一根冰柱拦腰斩断。然后,他飞身过去,舞动那把刀,在冰柱上剜、削、拔、点,不大一会儿,一个冰晶玉洁的“她”便展现在他眼前。 千魂刀,八年前,雷天穹是用来杀人的,而今天,雷天穹却用它做了雕刻的工具,刀锋过处,不但见不到一点杀气,反而令人为之动情。 世间的事就是这么奇怪,杀人的刀也会生出情来。 ……穿越到《特种兵三》世界,得到签到系统辅助。 他是当之无愧的影帝,特种兵、飞行员、坦克兵,化妆渗透全靠演,在每一个兵种都做到了极致。 签到三年,他成为全球特战兵王。 雷战:“哎……这小子又把坦克飞机给玩坏了,咱们火凤凰赔不起了。” 阎王:“那怎么办?” 雷战:“去,给我掐死这小子。”
赢在教育全网营销 中国网络安全监管 首席信息安全官大会 高端企业网站信息 郴州网站建设 旅游网站管理系统 恶意刷网站 2017 网络安全优秀教师 第二代网络安全立法 关于互联网信息安全方面的股票 失业【www.richdady.cn】 前世缘份如何影响今生?咨询【www.richdady.cn】 孩子学习不好的心理调适咨询【www.richdady.cn】 邪灵【www.richdady.cn】 意外的前世因果【www.richdady.cn】 阴间生活的前世解析咨询【微:qq383550880 】√转ihbwel 解梦的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 暗恋的心理成长【σσЗ8З55О88О√转ihbwel 外灵干扰的原因分析【微:qq383550880 】√转ihbwel 意外的前世故事【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的故事有哪些案例?咨询【www.richdady.cn】√转ihbwel 与老公前世【σσЗ8З55О88О√转ihbwel 人际关系不好的自我提升【www.richdady.cn】√转ihbwel 婚姻生活不顺的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的化解仪式咨询【www.richdady.cn】√转ihbwel 祖灵的祭祀方法咨询【σσЗ8З55О88О√转ihbwel 忧郁症的案例分享【www.richdady.cn】√转ihbwel 长期头脑混沌可能是哪些疾病的前兆咨询【企鹅383550880】√转ihbwel 情感心理咨询在线咨询【企鹅383550880】√转ihbwel 升迁障碍的原因分析咨询【σσЗ8З55О88О√转ihbwel 北京网站优化公司 红色网站呢 网络安全法征文 大良营销网站建设平台 网络安全服务的功能 中国网络安全监管 合肥赢点网络营销策划有限责任公司 形象类网站 信息安全工具排名 信息网络安全专业人员认证证书 南京网站建设哪家专业 福州seo营销网站建设中模 鹤壁网站建设 网络营销的业务流程 ecshop防官网收采集信息安全补丁 临沂网络营销策划 做网站的好公司 营销的种类 信息安全三级保护备案 asp网站建设 2016 网络安全大会 互联网金融 网络安全 旅游网站管理系统 商城网站都有什么功能 北京专业做网站 首席信息安全官大会 网络营销战略特点 首席信息安全官大会 什么是企业营销网站 网站开发与网站制作 如何改变网站首页栏目 域名 网站 电商营销部 信息安全应急处理办法 山西信息安全 北京网络营销外包 福州建网站 自制公司网站 中国网络信息安全中心 高校网络安全案例 个性化建网站定制 网络安全的第一道防线是 购物网站常用功能模块介绍 定西网站建设 西安全网营销推广 中国网络信息安全中心 信息科技有限公司网站建设 外链营销的发展趋势 如何架设php网站 杭州高端定制网站 临朐做网站 信息安全三级保护备案 网站页面设计 广州h5网站 制作房地产网站页面 信息安全告知 设计网站可能遇到的问题 冲突点营销 网站上线 免费的企业网站 高端企业网站信息 大学信息安全等级保护,-1微电商营销策划方案 北京专业做网站 个性化建网站定制 计算机网络安全等级? 办公室网络安全风险 信息安全的通知 社会化媒体营销 自制公司网站 网络安全问题管理 河北网站建设 上海网站建站 asp.net 网站 文件加密 outputstream 利用网站营销的目标 信息安全服务资质名单 佛山网站制作公司 虹口做网站 建网站需要多少钱 恶意刷网站 德阳网站制作 2015网络安全趋势 网站开发与网站制作 冲突点营销 信息安全是否考研 营销型网站推广方式的论文 信息安全与服务 西安做搭建网站 网络安全创造价值 中山有哪些网站建立公司 wap网站开发 什么是企业营销网站 asp网站建设 关于开展信息安全等级保护安全建设整改工作的指导意见,-1 高端企业网站信息 域名 网站 asp.net 网站 文件加密 outputstream 网站在布局 北京网站优化公司 互联网品牌营销是什么 赢在教育全网营销 网络安全法征文 信息安全应急处理办法 信息安全告知 网络安全服务的功能 定制网站案例 网站运营 合肥赢点网络营销策划有限责任公司 全国信息安全考试 病毒营销六要素 信息安全工具排名 2016 网络安全大会 一页网站 南京网站建设哪家专业 南京网站建设哪家专业 wap网站开发 海珠区pc端网站建设 浦东企业网站建设 网络营销到底是什么 惠州外贸网站建设 河南信息安全测评中心 网络安全入侵检测 网站的承诺 网站做好了每年都要续费吗 网络安全员网络技术员 2016中国网络安全事件 郴州网站建设 网站在布局 网站开发与网站制作 信息安全的通知 网络安全红蓝对抗 海珠区pc端网站建设 手机网站建设免费 网络安全员网络技术员 福州建网站 电子邮件营销方式