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

<a class="close" href="https://v1w2.yunshanhe.cn/">&times;</a>
北京网络营销外包交互式网站信息安全咨询服务方案b2b网络营销服务有哪些互联网整合营销传播信息安全等级 四级网站设计文档电子邮件营销基本方法风水网络营销郑州网络营销课程培训机构医疗网营销这是一个关于两位少女的故事。被神明眷恋的爱丽丝——西门子拥有被称为&amp;lt;凋叶咒&amp;gt;的诅咒,在得知自己害死了另一位少女的家族后,她决定踏上梦境世界的旅途,以自己的方式拯救那位少女。 秦凤鸣,本是一名山村普通少年,误食无名朱果,踏入修真路,以炼器起家,凭借制符天赋,只身闯荡荆棘密布的修仙界,本一切都顺利非常,但却是有一难料之事发生在了他身上…… 本书自开更之日起,从未断更,请放心阅读。经典玄幻,就在《百炼飞升录》 不废柴,不舔狗,不圣母,杀伐果断,智商在线,暴爽无敌流。 神明重生,势要杀尽天下负我者。 宁教我负天下人,休教天下人负我。 人生几何,对酒当歌,道路长远,上下求索。 如果有一天,你不用再去考虑任何东西,只需要去做自己想要做的,那你会想要去做什么? 高骑大马的白衣少侠,手捧书卷的儒袍读书人,端着破碗的褴褛乞丐,身份贵重的华袍官员······ 如果有一天,你突然穿越之后,又发现了自己不会死,你又会想要做什么? 我叫李三四,木子李,不三不四的三四。 从现在开始,我宣布我是最大的,我宣布我是最自由的,我宣布,这个时代······它就叫李三四! 自从遇到了闷骚这个道士后,我的世界似乎发生了一些变化…在暗裔降临、秩序混乱、礼崩乐坏的末世,林安济手持三尺青锋斩杀暗裔,守护自己的信念,在这充满血与骨的末世谱写属于自己的华章,他会为后世留下怎样的浓墨重彩的一笔? 滚滚六道两茫茫 不知何处是家乡 身分血尽魂未灭 魔神归来无良绝 天地未分之初称为鸿蒙虚无(或混沌),鸿蒙之气便是唯一。不知多久孕育三灵,其一为女娲、其一为鸿钧、其一为问生。再不知多久孕育出一山名曰不周,又不知多久鸿蒙之中天地初成、上圆下方、飘忽不定。三灵以不周为基托天地于其上,以四维之力蕴养不周。此后三灵便居于初成天地之中。 许久以后天地之中孕育一灵曰盘古,盘古托天踏地天地初分。至此后天地孕育万灵,女娲以土造人为人族之始祖,后古神大战引四维不稳不周受损上天崩裂,女娲又补天救天地间生灵。 又许久人族出现纷争战乱不断,使四维不稳加重不周无养天地晃动,鸿钧教化人族、女娲安抚万灵,问生以本命神元修复四维使不周永固天地永存。柳一,吃的用的都是自认为最干净,包括女人。刚穿越就遇到了富家公子强抢名女的经典场面 沈墨渊心想‘这不是到我装B的时候了吗’ 【检测到宿主意愿,参考宿主战力,请选择】 A、脱光衣服并大喊我是伞兵’吸引敌方注意 B、系统将宿主变为女性,使敌方注意力从救援对象身上转移到宿主身上 C、什么都做不了的你个废物变成一条臭水沟 好像不太对啊?为什么没一个正常选项啊,选哪个好像都要社死啊 【系统重申】 【请从选项中选择,倒计时】 【十、九、八、七。。。。】不知过了多少年,换了多少身份,每此醒来都会变成了婴儿,神魂封存记忆,一代神者,又从新开启一生,待28岁生日那年,记忆开启,逆天强者强势回归,其家族富可敌国,协助国家抵御外敌,不料家族出现变故,这一世,被家族族长安排在了偏远山区的一户人家,看顶级神尊如何纵横天下。
网站外接 信息安全风险评估流程 怎样维护公司网站 2016年网络安全政策 2016年网络安全政策 最实战的全网营销培训 网络营销实训课程设计 网络营销o2o b2b网络营销服务有哪些 互联网整合营销传播 如何预防冤亲债主的干扰?【www.richdady.cn】 灵魂化解的具体步骤【www.richdady.cn】 忧郁症的改运方法咨询【www.richdady.cn】 如何应对冤亲债主的干扰咨询【www.richdady.cn】 亲子关系的情感交流方法有哪些?【www.richdady.cn】 家庭关系的情感维护方法有哪些?咨询【企鹅383550880】√转ihbwel 如何解决孩子不爱读书的问题?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 公司破产后的员工安置问题【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的缘分揭秘威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的风水调整方法有哪些?咨询【企鹅383550880】√转ihbwel 冤亲债主干扰的心理影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 人际关系不好时的心理调适咨询【σσЗ8З55О88О√转ihbwel 与男友前世的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 邪灵的定义与特征咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 发育倒退咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的心理建设【σσЗ8З55О88О√转ihbwel 无形干扰的心理调适威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 意外的心理调适咨询【σσЗ8З55О88О√转ihbwel 阴间生活的描述与传说【企鹅383550880】√转ihbwel 大龄剩女的情感生活【σσЗ8З55О88О√转ihbwel 超实用网站 淘宝营销知识 厦门酒店网站建设 2016年网络安全政策 网站进度表 认识网络营销调查的基本方法是 什么是020营销模式 想建网站 百度xml网站地图 国家信息安全测评信息安全服务资质证书 电子商务网站建设资讯 网络营销o2o 2017全球网络安全事件 湖南高端网站制 网络安全目录 厦门有没有做网站的 网站进度表 绵阳的网站建设公司 网络安全命令大全 衡水网站建设供应商 郑州网站设计 手机网站开发教程 嵌入式系统信息安全 网络营销研究的范畴 事件营销成功的案例 电商营销部 网站的对比 东莞 网站设计重庆的网站建设公司 事件营销心得 信息安全等级 四级 最实战的全网营销培训 网络营销系统的建设 电子商务网站建设资讯 信息安全风险评估服务人员 网络营销信息传递原则 郑州网站设计 淘宝营销知识 广东营销网站建设服务公司 汽车网站模板 在网站中添加百度地图 厦门酒店网站建设 电器营销策划 网站死链 最实战的全网营销培训 河南做网站 网站设计分享 2017 网络安全 断网 信息安全工具排名 北京网络营销 优秀设计作品网站 搜索引擎营销的发展历史 南宁网站建设教学 在网站中添加百度地图 信息安全攻防赛 湖南高端网站制 病毒性营销视频 风水网络营销 互联网营销策略 总经理 信息安全等级 四级 网站死链 免费搭网站 什么是020营销模式 信息安全工具排名 网络营销研究的范畴 病毒性营销视频 厦门有没有做网站的 云南省网站建设 做网站的软件 佛山企业网站建设咨询 病毒营销六要素 网络安全行业企业50强 网络营销实训课程设计 百度xml网站地图 网络营销信息传递原则 绵阳的网站建设公司 免费网站模板下载 郑州网站设计 seo网站系统 关于开展信息安全等级保护安全建设整改工作的指导意见,-1 亚马逊网站的营销策略 外贸网站推广方法 国家网络安全教育 网站之间的差异 广东营销网站建设服务公司 悬浮滚动的网站jquery在线qq客服咨询代码 有6套皮肤可选 网站图片尺寸 信息安全技术在ftp中的应用,-1 手机网站开发教程 维护网络安全我会做到 网站的对比 2016年网络安全政策 绵阳的网站建设公司 龙岗网站设计机构 四川冠辰网站建设 亚马逊网站的营销策略 搜索引擎优化和搜索引擎营销 手机网站开发教程 信息安全咨询服务方案 东莞 网站设计重庆的网站建设公司 国家信息安全工程技术 顺德制作网站价格多少 网站原创性 京东服务营销策略 网络安全认证 高校网络安全案例 东莞 网站设计重庆的网站建设公司 网站设计文档 如何用代码设计一个网站有前台和后台一般用什么语言设计网站 做网站的软件 深信服ac网络安全 唐山网站建设报价 企业网络营销数据分析 网络安全的基本特征有 网络营销小文案例子 网站进度表 信息安全风险评估服务人员 信息安全攻防赛 认识网络营销调查的基本方法是 租车营销方案怎么写 中国区 信息安全经理 综合营销 短信营销机 郑州网络营销课程培训机构医疗网营销 营销型网页 在网站中添加百度地图 网站互动 网络安全认证 网络安全解释 网络营销策略术语 2017全球网络安全事件 信息安全证书 排名,-1 顺德制作网站价格多少 免费网站制作软件 对网络系统而言信息安全主要包括信息的存储安全和信息的 信息安全工具排名