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

<a class="close" href="https://sdpq.joxa.cn/">&times;</a>
东莞寮步网络营销如何测试网络安全常用网络安全工具外贸网络营销课程总结旅游响应式网站建设四川省网络安全协会最新网络安全产品网络安全课堂机械营销策划案微信营销成功的案例事故之后,我竟转生成为了异世界魔物? 这是一个魔法的世界,帝国纷争,城邦联合,神秘力量的苏醒改变着着世界的方向,不受时间消磨的“永恒星碑”上记载的过去引起着世界的动荡...... 在异世界苏醒后成为了魔物,伪装成人类走向人类世界,学习魔法,增强实力,游历各地探索这精彩异世界的奥秘!一腔热血洒天下,雪纵亭茗是安华!一个被朝廷追杀苟且偷生到名震江湖的白家独子白予潇,历经磨难逆天改命!他是江湖六大门派之首,他二十弱冠练就宗承剑意,传承父亲衣钵。一路和反派斗智斗勇同时也引出了朝廷的惊天大秘密……穿越平行世界,参加选秀综艺,商献毫无意外成为偶像。 粉丝:明明可以靠脸吃饭,却偏偏靠才华,他重新定义了偶像! 商献:我不想做偶像啦,抄歌没有一点挑战性,想尝试去演戏! “人太帅,演什么都画风突兀,还是专心唱歌吧!” “这垃圾演技,安心当个偶像吧,演戏不适合你!” “演的什么鬼!差评!发首新歌我们才能原谅你!” ———— 多年后,当商献入选《时代周刊》年度风云人物,人们才恍然惊觉,这个偶像并不简单…… 年度风云人物评语:他创造了一个时代,在各种意义上! 绝世联盟最初只是二十一世纪二十年代世界最巅峰的一款网络游戏。 一个普普通通的年轻人张自豪在这个游戏里获得了与别人不同的经历。 一切的起源竟是一件上古修真神器,让游戏世界成了试炼之地。 当然这只是开始,修仙、无限的穿越,张自豪经历过一个又一个亦真亦假的世界。 唯一不变的是互相支持的伙伴! 是为生存而勇往直前不屈不挠的信仰! 只要努力过就不该后悔! 只有看清自我才能修炼成神! 醉仙诚挚的祝各位读者马年行大运,马上有钱!!还有我!!! 将科幻作为开篇,以武侠作为载体。 第一次写,受才能的限制,大有可能让人看不到三章,就有想连手机都扔掉的冲动。但依旧不依不饶,屡挫屡振的厚着脸皮的写,并发布。 我想写的是像金庸和古龙前辈们的那样。能让读者朋友们看了记在心里,茶余饭后还可一提。 但时下网文如此,适应者存,那也无可如何。在下没有敏捷的才能,断不能一日写个万儿八千不乱,亦不能长期保更。是注定要被大浪淹没的。就连寻求一个签约都成了遥不可及的奢望。 传统武侠江河日下,如今已渐渐式微,在当下的网络书海中,也无地立锥。究其缘由,还是因为金庸和古龙前辈的作品写得登峰造极,使后辈们难以望其项背。不留一丝破绽出来。导致传统武侠自此一蹶不振。 在下有自知之明,腹中文墨与前辈们有着云泥之差,无法再续巅峰,自然不敢拿着繁星去和皓月相比。 但自小酷爱武侠小说,也无限仰慕金庸和古龙前辈。压不住满腔热忱,在工作闲余中。这就不自量力的来献丑矣!我奉劝各位不要沉迷游戏,游戏不仅浪费时间和金钱而且影响正常的学习、生活和健康... 什么! 居然有人敢攻击我天华城? NND! 好了,不废话了,老子要去砍死那帮NPC。 .... 处于修炼世界最底层的李成双因为一个梦激活了天灾召唤系统,能从蓝星召唤名为“玩家”的生物。 从此,这个世界的画风变了。 低级城主:你说天华城那大鸟比我还快? 中级城主:你说天华城那胳膊粗的玩意儿堪比我全力一击? 高级城主:你说高级魔兽被天华城堵在门口杀? ....吴娓娓本是霞云医院的一名普通医生,却意外结识了一个名叫郑海明的道士,随后各种离奇的事情接连发生,医院出现多例奇怪病人,金光咒,凌空飞行,苗疆古墓,封魂棺,各种事情都随着吴娓娓和郑海明两人展开。原本只是感兴趣不想惹上麻烦的吴娓娓却被迫与郑海明踏上了对抗幕后黑手荆海源的冒险,觉醒先天之炁,进入古墓,吴娓娓卷入了一场本来与她毫无相关的师门纷争,原本的偶然实际上是命中注定,等待着她的是一场九死一生的冒险。穿越玄幻大世界。 炮灰命运的江榆激活气运模板,能够随意查看并截胡他人机缘。 查看天命之子。 截胡天道造化,神兵功法,种种大自在加身。 查看天命之女。 截胡进境气运,百族臣服,将之收为自身红颜。 等等... 连终极大反派的机缘都能截胡?这可就有意思了! 多年以后。 当江榆立足诸天之巅,行首投足间,皆是造化手段时。 某宗门杂役:“说起来可能没人相信,当年那块至尊骨,其实我感觉是属于我的...”在一个强者林立的世界,万亿物种生灵衍生,不断地突破自身,打破天理禁锢,追寻命运之根本,长生之久视! 一个平凡普通的人族少年,从一个小村落走出,搅动风云,气吞山河,开启一个新时代!普通高中生肖南 末世来临,为救同学而死去。 【玖月】到来也使他再或新生 末日的到来使人类不得不团结,放下国与国的战争,共同活下去。 但是,末日的到来也让人性的丑恶展现的淋漓尽致。 何为光明?何为恶魔? 被人性的丑恶而厌恶的肖南,成为了世界的新主 人性是什么?人类该活着吗? “如果人类就是这样,这个世界就是这样的话,那便没有存在的必要了。”
网站后期维护工作包括哪些 电信行业信息安全 政务网站开发福州微信营销培训 高端网站制作公司 网站策划厂 公司信息安全规定 沙井建网站 知名的网站建设 如何用网络营销的方法有哪些方法有哪些方法有哪些 网络营销产品的开发 老公家暴的前世因果咨询【www.richdady.cn】 升迁障碍的职场突破方法有哪些?【www.richdady.cn】 通灵与心理学结合咨询【www.richdady.cn】 事业不顺的应对策略【www.richdady.cn】 有官司的自我保护咨询【www.richdady.cn】 干扰的预防与化解【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 公司破产后如何重新创业咨询【微:qq383550880 】√转ihbwel 意外的前世案例【企鹅383550880】√转ihbwel 去世的父亲的前世缘分【微:qq383550880 】√转ihbwel 升迁障碍的职场突破咨询【σσЗ8З55О88О√转ihbwel 自闭症的案例分享咨询【微:qq383550880 】√转ihbwel 投资项目的风险评估咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心慌胸闷头晕的案例分享【微:qq383550880 】√转ihbwel 失业期间的心理调适方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 纠纷的前世因果咨询【www.richdady.cn】√转ihbwel 前世缘份的轮回续缘【σσЗ8З55О88О√转ihbwel 与公婆前世的前世修行咨询【www.richdady.cn】√转ihbwel 前世今生的神秘故事咨询【企鹅383550880】√转ihbwel 强迫症的症状与诊断【企鹅383550880】√转ihbwel 婚姻生活不顺的案例分享咨询【企鹅383550880】√转ihbwel 网络营销竞争大吗 江西南昌网站定制 信息安全服务资质 安全工程类 信息安全 细则,-1 网站布局有哪些常见的 乌海网站建设 企业网站建设搭建 风格网站 四川大学网络安全硕士 最新网络安全产品 百度网络营销搜索推广 机械营销策划案 南昌网站建设公司服务器 学校网站模板 网络安全加固方案 北京网站建设公司案例 沙井建网站 东莞寮步网络营销 科技网站配色方案 重庆营销策划 网络安全和网络管理 上海 互联网营销公司排名 南昌网站建设公司服务器 2016年关于网络安全的案例 个人落实网络安全法 政务网站开发福州微信营销培训 东莞网站推广公司 婚纱网站模板 怎么让营销号关注你 全国信息安全大赛 公司网络安全 成都网站开发公司 品牌创意网站建设 网站销售方案 沧州做网站 gb/t 20270-2006信息安全技术 网络基础安全技术要求 信息安全竞赛 ctf 网络安全和信息化官网 信息安全就业好吗 网站营销工具有哪些功能 建立网站的条件 昆明做网站 趋势科技网络安全证书 建个人网站 乌鲁木齐网站建设 乌海网站建设 信息安全在线实验室 橙 建网站 信息安全竞赛 ctf 鲲鹏网络营销策划 点网站建设 网站建设初期 建立网站的条件 2014年全国大学生信息安全技术大赛暨四川省大学生信息安全技术大赛 网站后期维护工作包括哪些 网站页面尺寸 乌鲁木齐网站建设 如何做英文网站 什么是媒体整合营销 推广类网站 信息安全ppt 营销综合平台建设 鲲鹏网络营销策划 信息安全在线实验室 行业网络安全培训 电子信息安全 网站策划厂 国家信息安全评测中心 网络安全威胁情报市场 网站 制作公司 网络安全加固方案 网站策划厂 西安网站推广 山西信息安全管理中心广州省管营销咨询公司 网络营销工程师培训 西安网站推广 信息安全和管理办法网络安全 标准 乌鲁木齐网站建设 网络安全编程多吗 网络营销策略心得 网站营销工具有哪些功能 网站降权天缘qq空间营销软件 国家网络安全中心主任 公安部关于网络安全 品牌创意网站建设 微信营销成功的案例 知名的网站建设 网络安全产品是什么 产品网络整合营销方案 侦查系好还是网络安全 泉州网站设计 趋势科技网络安全证书 成都网站开发公司 免费网站认证 网络安全和信息化官网 医疗大数据的信息安全,-1 深圳外贸响应式网站建设 信息安全服务资质 安全工程类 四川互联网营销 信息安全测评认证信息 趋势科技网络安全证书 上海整合网络营销公司 网络营销竞争大吗 台州网站建设企业 湖南网站制作电话 百度网络营销搜索推广 如何测试网络安全 怎么让营销号关注你 深圳外贸响应式网站建设 电子信息安全 品牌创意网站建设 上海建站网站简洁案例 趋势科技网络安全证书 科技网站配色方案 兰州做网站改版的公司 网站制作价格 怎么让营销号关注你 更新网站内容有什么用 成都网站开发公司 泉州网站设计 中国黑白it信息安全 网络营销策略心得 网站后台 办公室 信息安全工作 网站策划厂 网站营销工具有哪些功能 佛山新网站制作平台 2014年全国大学生信息安全技术大赛暨四川省大学生信息安全技术大赛 网站建设深圳 网络安全产品是什么 营销综合平台建设 qq网络安全有哪些 网络营销工程师培训 兰州做网站改版的公司 深圳外贸响应式网站建设