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

<a class="close" href="https://oayf.voxe.cn/">&times;</a>
办公环境安全 信息安全腾讯营销案例微信网络营销成功案例驻马店网站建设短信营销渠道自己创网站营销定制手机模板网站国家实行网络安全等级保护新的网络信息安全法 前世,杨羽自暴自弃,整天鬼混,导致妻子女儿惨死眼前。   今生,杨羽仙帝归来。   有仇报仇,有怨报怨,守护妻女,所向披靡! 世间本无路,走的人多了便成了路。天道之始,修行之初。从北疆来到帝都,一切都悄然发生变化,被安排好的命运,幕后之人的命盘......这个男人自创功法狂龙炼体术 这个男人赢领人类走向辉煌 这个男人一生屠魔 却不想在虚弱之时被魔主偷袭 拼命反杀 那一战 天地崩裂,诸神心慌 魔主不甘死亡 耗尽毕生修为进入时间轨道 重修一世 他因神印失去了神智 屠尽魔族后见光就砍,见人就杀 他在众人的哭喊声短暂回复了神智 为了解决眼前的状态 为了人族的未来 为了完成他的梦想 双手结印 在众族的泪水之下 重修一世…… 爱情是互相成就的一段旅程。这个男人有三任妻子。第一任是少年懵懂时期爱上的清纯感性的妻子。第二任是青年创业时期遇到性感聪明的妻子。第三任是事业有成的中年时期遇到的妻子。如果可以男人也希望可以从一而终。扣心自问,17岁的少年期的他在少女害羞低头一笑露出的浅浅酒窝。犹如娇艳欲滴含苞待放的玫瑰这是他这辈子唯一一次真正的动心。(本书又名:掘墓人的亲身经历)我爹说,我的命是借来的,出来借迟早是要还的! 而我的故事,还要从我即将满十八岁的那场经历开始,就让二狗以自己的掘墓人的亲身经历,带领大家解读那些藏于民间的传闻秘事…… 拥有天赋【剑道通神】的孟凡,重生到修仙世界,成为蜀山剑派的剑阁守剑人。   触摸到“七星剑”,获得七星剑诀。   触摸到“镇妖剑”,获得斩妖剑意。   触摸到“伏羲剑”,获得伏羲神体。   ……   在剑阁守剑的这些年。   有出生卑微的乞丐,千辛万苦来剑阁求剑,经孟凡指点,修成名动天下的降龙尊者!   有皇朝公主来剑阁撒野,经过孟凡的调教,成为当世女帝!   有魔道魔子前来剑阁盗剑,被孟凡教训后怀恨在心,欲有朝一日寻孟凡报仇!   有佛门弃徒到剑阁养剑,一朝顿悟,半魔半佛,成就当世唯一一尊魔佛!   ……   八十年后,妖魔入侵,锁妖塔坍塌,蜀山大乱!   早已修成陆地剑仙的孟凡,缓缓走出剑阁。   “我有一剑,可降妖,除魔,诛仙,斩神,灭佛,通天,彻地!” 空间站机器人和地面站失联,生产这种机器人以及支持机器人运行的公司也发现自己的加拿大服务器同时失联,更发现正在国外度假的董事长一家在几个小时以前也失联。与此同时,市内发生一起未遂谋杀案。四件看似毫不关联的事情其实起因于同一件事,一个在日本的古老家族正在完成一件2000年来徐福交给该家族祖先的任务,进入喜马拉雅山山脉下的悬空之地,获得大地之心,从而掌控穿梭于不同时间维度的方法。 穿越于不同的时间维度,相当于获得长生;但如何穿越于不同时间维度是个问题,穿越后会发生什么事又是另外一个问题。 这是一个挂着科幻和推理羊头,写着人性的故事。因为, 人不能随心所欲支配行为,所以人,都是傀儡一样的存在。本作品已经废除,特此告知书友一条深沟,尽隔战乱与诸侯;一片雾海,皆折豪雄与勇谋。我们看不到希望,我们看的到希望。寂灭深处,尽头才是新春秋。 “所以我相信,复仇也许并不会带来真正的胜利,但是如果我不做出努力,我不为了这个目标而奋斗,那么未来将对我更坏,在有实力的前提下我可以饶了过去的邪恶,但咱那之前又有谁能够饶了我?”迃?在漫天大学中拾到了一本书,不曾想将自己搭了进去,机缘巧合之下成了“图书管理员” 管理员在一代又一代的传承下出现了命定的守护者,而路忍就是这一代的守护者。 两个人的缘分由此书结下,一件件扑朔迷离的秘密正在等着他们去发现……
信息安全高峰论坛 酷黑网站 做网站公 网络安全攻击行为分析 怎么攻击网站 外贸网站推 张店做网站 网络安全=信息安全 东莞阿里网站设计 营销小知识 前世缘份的前世今生【www.richdady.cn】 家庭关系的矛盾化解方法有哪些?【www.richdady.cn】 财运不佳的财富转运方法有哪些?咨询【www.richdady.cn】 人际关系不好的心理调适【www.richdady.cn】 祖灵咨询【www.richdady.cn】 如何超度婴灵?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 强迫症的症状与诊断咨询【www.richdady.cn】√转ihbwel 升迁障碍的职场规划咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子不爱读书的应对策略有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的心理建设【www.richdady.cn】√转ihbwel 灵魂化解的仪式【企鹅383550880】√转ihbwel 精神不振的咨询技巧【微:qq383550880 】√转ihbwel 前世缘份的故事有哪些经典案例?【企鹅383550880】√转ihbwel 婴灵的超度与家庭和谐【σσЗ8З55О88О√转ihbwel 前世缘份的前世影响咨询【企鹅383550880】√转ihbwel 前世缘份的识别方法咨询【微:qq383550880 】√转ihbwel 纠纷的前世因果【企鹅383550880】√转ihbwel 莫名其妙感伤的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主干扰的预防措施咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 人际关系不好的前世记忆【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 以防火墙为核心的企业 网络营销的作用价值 网站建设方案设计心得 响应式网站建设咨询 网络营销平台分析 后台与网站 营销客软件 网络有哪些营销方式 制作校园网站 南宁市做网站的公司 上海信息安全产业协会 免费网络营销课程 信息安全测评收费标准 成都网站设计制作工作室 佛山网站建设公司 信息安全制度框架 信息安全技术的销售怎么样 信息安全研发培训 国家实行网络安全等级保护 关于网络安全的一句话 外贸网站建设公司方案 网络安全实时监控 怎么攻击网站 长沙做网站的公司 西安营销型网站 手机网站和pc网站 信息安全技术的销售怎么样 酷黑网站 网络营销的未来 能源行业网络信息安全 潍坊市网站 手机网络安全技巧 采用模版建网站的缺点广东网络安全和信息化领导小组 双11店铺营销亮点 信息安全二级等级保护,-1 青岛哪里可以建网站清华大学网络安全课程 郑州电子商务网站建设 深圳网站推广公司 营销定制 响应式网站 信息安全标准大致分为 信息安全认证 安全工程 关于网络安全的一句话 自动发货 北京云主机网站源码 phpcms_v9_utf8 网站制作资讯 电子商务网络营销实践报告 医疗保险营销方案 html 5+css 3网页设计与网站布局 从新手到高手 信息安全三级等保资质 2017网络安全企业 焦作建网站互联网信息安全解决方案当中完善互联网信息安全的法律制度去的方法有 推荐网站网页 验证码与信息安全 瑞昌网站建设 网络营销传播渠道研究 知名的网站设计公司 信息安全防护等级划分 营销客软件 怎样建立网站 做网站公 福州自适应网站建设 外贸网站建设公司方案 如何定位网络营销渠道 信息安全管理实验报告 信息安全管理实验报告 石家庄开发网站 新的网络信息安全法 怎样建立网站 营销小知识 佛山网站建设公司 电子营销课程体会 宣传网络安全 短信营销渠道 昆明营销 信息安全的特征包括 国家实行网络安全等级保护 网站架设 外贸网站推 网络安全合作 国家网络安全 物联网 装修企业网站网络营销 中国信息安全大会 网络营销教学软件 信息安全高峰论坛 电子营销课程体会 知名的网站设计公司 石家庄开发网站 采用模版建网站的缺点广东网络安全和信息化领导小组 东莞全网营销网络推广方案 重庆网站设计 网络营销活动规划 web网络安全培训 知名的网站设计公司 外贸b2c网站建设 潍坊市网站 网络营销传播渠道研究 杭州全网整合营销 怎样开展内容营销 星巴克微信营销ppt模板下载 信息安全检查新闻,-1 医院营销4P.4C.STP 哈尔滨网络科技公司做网站 信息安全防护等级划分 信息安全宣传作品,-1 响应式网站 东莞阿里网站设计 营销思维 网络安全 实施计划 网络安全主要威胁南山区网站建设公司 广州 信息安全公司 外贸b2c网站建设 选手机网站 保定 网站建设 星巴克微信营销ppt模板下载 西安营销型网站 营销思维 优秀的营销策划方案 网络安全攻击行为分析 酷黑网站 无锡微信营销外包 网站建设方案设计心得 制作校园网站 网络营销Ar是什么 北京大学信息安全学院 网络安全攻击行为分析 信息安全 攻防 平台 能源行业网络信息安全 石家庄开发网站 网络有哪些营销方式 长沙做网站的公司 政府网络安全现状分析 双11店铺营销亮点 陕西省网络安全 成都网站设计制作工作室 武汉网站开发公司p2p网站制作