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

<a class="close" href="https://pxqv.nonghei.com.cn/">&times;</a>
上海市公安局网络安全信息安全检测定义移动网络营销优缺点排名好的青岛网站建设深圳企业网站制作报价杭州市信息安全协会郑州网站建设案例哪种网络营销最赚钱网络营销的政策佛山网站设计讯息一日随君闯四海-半生天涯夫为家! 万界万物异种同源!生死对立-阴阳共存! 有生命的地方就会有争斗,在时代进步与更迭下,没有所谓的与世无争-世外桃源!想无争就要站到万物顶端-与天同齐!这样才能与世不争享受桃源生活! 生命不息,杀戮不止! 对自己最好的保护就是进攻,不断登临巅峰-超脱世间大道-游历宇宙星海! 一代帝王就此出世! 让我们一起随人帝沐浴腥风血雨-经历人生沉浮-最终御天下万物万道-掌宇宙阴阳乾坤!长篇写不下来,就写短篇喽。我名浮生,在大灾变开始后我曾是人族最强者,给人族在大灾变中带来了三年平安,但在一次任务中我消失了五年,消失的不仅是那五年时间还有我的记忆以及我守护人族的力量…… 我躲了起来直到…… 这个世界有系统,有异能,有修炼,异兽等等出现什么都不奇怪徐轩送外卖的路上,遭遇飞来横祸。 醒来后,他成功发现自己穿越到了异世界,而且一出场就是在世仙人,不仅天地同寿,长生不老,同时还觉醒了世界系统。 然而当他打开系统才发现,屏幕上提示的最大一个字是:“逃!”清玄父母在小时候神秘失踪,为了解开谜团,他跟着师傅李闻道学习七年,直到一天师傅交给他一个任务,他的生活开始与过去接轨,事情的真相逐渐浮出水面,他也因此接触到了以往不为人知的世界,基因药剂,生物兵器,变异种族等事件不断出现,清玄以及他师傅又会怎么去应对呢……你还记得那个故事吗? 那个,我们一起见证过的故事。 哦?你忘了…… 但没关系,我会为你讲述他的过去的。 当无边的恶来临的时候,剑与魔法失去了力量。 当美丽的花儿凋零了它的璀璨,树木失去了它的光泽。 当大地布满了裂缝,海洋碎裂了它的波涛。 当爱情已经失去了光芒,勇气缺失了它的亮光。 当最后的, 希望 也失去了。 你,还会继续坚持吗? …… 哦, 看来我也该走了。 她看向了眼前的黑暗的恶。 “来吧!恶!那么在这最后的一刻!我,将孕育出最后的□□!” —— 没关系的,故事还没有结束。 消散的还会回来。 除了我。 我写下了这一本历史,去看看吧。 答应我,这次不要忘了他。 谢谢他是古文系研究生,刚毕业,就去大都市打拼,没想到半路遇扒手,没了钱包手机,靠乞丐的救济过日子,可没想到的是,因为奇遇,与妖魔邪祟打交道,渐渐声名远播,因为相貌以及性格,得到许多个富家女的青睐,也结下了不少的梁子。演绎人生百态,都市人情冷暖,以及爱恨情仇!大盛帝国边境一时间狼烟四起,烽火连天。镇远府陷落,敌军的铁骑逼近上京。内阁首辅之子郭曦受封征北将军,率军支援上京防线,面对危急的局势献出妙计,亲率军队大败北乾。 但随着他的凯旋而归,一场场政治风暴也随之而来。 自此之后,一代军事天骄崛起,他八出奇计,淹司城,烧井阳,千里奔袭包抄敌军……他用一次次的碾压的胜利剿灭五国,告诉侵略者:胆犯大盛者,虽远必诛。 最终,他踩着尸山血海与成林枯骨,用着阴谋诡计一步步走向了皇位,成就了一代传奇战神。(非穿越,非重生) 一个生活在地球上的少年意外的穿越来到了怪物大师的世界里,身为穿越者的他,本该以主角的身份纵横剧情,但谁知却失去了穿越前的所有记忆,最终在医疗怪物大师亚克的帮助下,走向了成为一名怪物大师的道路。 少年一步一步的成长,同伙伴经历众多,同时也寻找着失去的记忆,但他发现,这个世界似乎与其他的世界相连通? 银发紫眸,与他来自同一世界的精灵; 狐耳狐尾,来自云国古都的少女; 继承了深渊神秘力量的刺客;追随光明的少年剑士; 还有背负长枪,身世神秘的少年;背离家族,寻求自由的继承人;挣脱牢笼,飞向辽阔天地的琴女。 ———— 1:本书融合了包括奥拉星,怪物大师,剑灵等作品在内的各种世界观以及大量的自创设定,不喜勿喷。(详细见《阅读指南》) 2:本书同其他几部作品联动,包括《怪物大师伊洛维奇自传》《剑灵风成趣传》《怪物大师新生》等,部分联动作品连载于其他网站上。 交流群:1034283852 作者QQ:3167802402   世间万物,周而复始;盛衰之源,宿命轮回。数百万年后,地球因资源枯竭引发大战,让曾经的大洲、大洋变成了一块荒凉的大陆,绝大部分陆地在战争中沉入海洋,本以为地球将文明会因此消失在宇宙历史之中,不曾想因上古大战导致外泄的地球内核能量,却奇迹般的让地球生命得以进化。十万年之后,曾经满目疮痍的土地再次以无比宽大的胸襟重新接纳人类。当然也不止是人类……
信息网络安全 司法解释 网络安全管理软件 b2b网络推广营销 营销定制 网站设计规划书 别人不相信网络营销 企业营销网站建设公司 上海市公安局网络安全 信息安全发展过程 网络安全个人 内心恐惧胆怯的解决方法【www.richdady.cn】 灵魂化解的仪式【www.richdady.cn】 不爱读书的案例分享咨询【www.richdady.cn】 前世缘份的前世故事咨询【www.richdady.cn】 前世今生的轮回有哪些科学依据?【www.richdady.cn】 解梦的前世记忆咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 有官司的前世因果咨询【σσЗ8З55О88О√转ihbwel 儿子抑郁症的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 升迁障碍的职业发展如何规划?【www.richdady.cn】√转ihbwel 孩子不爱读书的阅读计划如何制定?咨询【微:qq383550880 】√转ihbwel 前世老公的识别方法【www.richdady.cn】√转ihbwel 亲子关系的沟通技巧【微:qq383550880 】√转ihbwel 升迁障碍的职场晋升咨询【微:qq383550880 】√转ihbwel 家庭关系的心理调适【微:qq383550880 】√转ihbwel 人际关系不好的原因分析咨询【σσЗ8З55О88О√转ihbwel 如何了解自己的前世今生?【微:qq383550880 】√转ihbwel 头脑混沌时如何提高注意力咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的咨询技巧咨询【企鹅383550880】√转ihbwel 灵魂化解的重要性咨询【企鹅383550880】√转ihbwel 与男友前世的影响分析【企鹅383550880】√转ihbwel 网络e营销 微博营销的作用是什么意思 移动网络营销优缺点 阜阳建网站 排名好的青岛网站建设 网络安全测试请示 东莞外贸网站推广 信息安全高峰论坛 信息安全应急响应中心外贸模板网站深圳 什么是营销策略组合 哪种网络营销最赚钱 设计师交流网站 杭州市信息安全协会 全国信息安全大会 2014 浅谈成功修改网站关键词的方法 虽然我们在做网站之前都会再三 国家信息安全等级认证证书 个人教学网络营销 网站制作案例怎么样 国家网络安全主管部门 营销型网站建设 整合营销公司 网络安全个人 中国信息安全成员单位,-1 电商营销策略案例珠海网站制作品牌策划 深圳企业网站制作报价 网络安全防护公司 中国信息安全实验室 第三方网络安全资质 注册网站网 中国信息安全标准分类 营销起源于什么时候 展示型网站制作服务 上海网站制作 东莞外贸网站推广 韩都衣舍网络营销效果 网络安全防护系统 杭州全网整合营销 昆明酒店微信营销 湛江做网站 泰安网站建设公司 营销定制 建立网站的步骤 郑州网站建设案例 信息网络安全协会 成立大会讲话 郑州网站建设、 佛山网站设计讯息 江苏 信息安全 网络营销的政策 北京响应式的网站设计 南京定制网站建设 营销起源于什么时候 上海网络安全检测公司排名 中国信息安全实验室 单页的网站怎么做的 中国信息安全成员单位,-1 信息安全是对信息的 国家网络安全主管部门 中国信息安全成员单位,-1 建立网站的步骤 湖南衡阳网站建设 哪种网络营销最赚钱 网络营销传播渠道研究 服装网站模板 国家网络安全人员图片 移动网络营销优缺点 济南信息安全管理培训,-1 大型网站建设 创建网站公司 徐州 焦作建网站 网络营销服务有哪些 网络安全厂家销售 长沙网站制作 泰安网站建设公司 网络安全测评方案 网络营销托管 杭州市信息安全协会 信息网络安全 司法解释 bswifi网络安全管理 网络营销好学吗? 排名好的青岛网站建设 国家信息网络安全局 方案网站 手机信息安全概述 网络信息安全协议书 营销策划培训班 蓝盾网络安全(二级)测评记录 合肥网站设计高端公司 谈网络安全 网络安全宣传页 保定 网站建设 排名好的青岛网站建设 韩国网络安全中心 上海网站制作 浅谈成功修改网站关键词的方法 虽然我们在做网站之前都会再三 网络安全日 赛 asp网站空间 济南之美营销策划有限公司 新媒体营销外包公司哪家好 展示型网站制作服务 江西网站设计团队 对网站主要功能界面进行赏析 网站建设中图片 信息安全管理人员 国标 淘宝店铺营销推广方案 佛山网站设计讯息 信息安全检测定义 网站建设现状分析 合肥网站设计高端公司 网络e营销 营销定制 网站外包多少钱 网络安全协议书信息安全管理实验报告 网络信息安全员培训 信息网络安全 司法解释 蓝盾网络安全(二级)测评记录 淄博做网站公司有哪些 京东网站的营销策略 返利网营销 网络安全日 队伍 滁州网站设计信息安全哈工大威海 网络营销平台分析 手机网站设计尺寸 郑州网站建设、 网络安全意识培训 方案网站 网站迭代 网络信息安全员培训 新媒体营销外包公司哪家好 单页的网站怎么做的 注册网站网 最新网上营销方法 网络安全ppt 下载 国家信息安全等级要求 客户短信营销 营销机构