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

<a class="close" href="https://v8hz.yizhouwan.cn/">&times;</a>
网络安全项目经理网站策划制作公司公司网络营销定价策略石家庄做网络推广的网站网站上线后网站中如何嵌入支付宝网络安全的评价标准经典电子邮件营销案例网络安全防护设备联通网络安全资质医院互联网营销案例上一秒还在午休的我 下一秒我睁开眼睛发现一切都变得陌生 我新买没有一个星期的空调呢,没有你我该怎么活 不对,现在我应该在梦里。 可是为什么被打会这么疼 够了,住手。想知道是不是做梦你不会打自己呀 我一脸无语看着刚认识不久的网红小姐姐我叫王浩,人如其名一个普通人,从小就梦想发财。18岁以前一直过着普通的生活,直到上山摘草药,误闯一个神秘的小村庄一切都发生了改变…在一个巨大的仓库中,摆放着成百上千张桌子,每一张桌子上摆放着一个完整的微观世界,观察者通过放大器记录着世界的变化。在特定的时间将世界之王的能力抽离并转移到现实世界中的某人身上,完成造神计划。 千年的宿命是否会被打破?从无尽的轮回中是否可以得到答案?世界的真相正被缓缓的揭开!飘渺大陆是一个灵气充沛的世界,在这里,修炼者无处不在,也无所不能。 灵丹、武技、功法、秘术、这些都是修炼者一生追求的梦。 其中,被誉为天地葵宝的八系灵珠更是天下人必争之物。 **很唐突的就穿越到了这个世界,天选之人往往都是有着上天眷顾的光环。 在一次生死逃亡之下,他无意掉入了一座古老的墓穴之中,没有意外的就得到了符文铁卷,从此,他的黑色怒瞳成为了许多人挥之不去的梦魇! “霸决!” “残决!” “杀决!” “毁灭能量丸!” “千盘吸手!” “大崩裂术!” 一道道凶猛无匹的武技摧毁了一切敢于与他叫嚣之人,世人见他无不顶礼膜拜。 挚爱之人永远离他而去,心脉精血狂撒的那一刻开始,他的一头青丝骤然变成了沧桑的银白色。 坐在雪峰之上守候着那个曾经的约定,黑色的怒瞳成为了这个时代最引人争议的标志。 “重新开始也未必办不到,就让我重新塑造这个世界吧,一切的轮回皆由我执掌……” 苏祈因为玩了一次笔仙游戏就被拽进了一个诡异的门后世界…… 这个世界,没有规则,没有对错,除了活着,没有别的选择。 轮回的教室,充满了笑声的楼梯间,尸块堆积的地下仓库。 同学接二连三的惨死却引发了更大的祸端,大门仍然是关闭的,游戏仍然在继续。 只有苏祈知道,自己病了,病的很重。 当他彻底无法控制病症之后,整个诡异世界,都会感受到真正的恐怖……我等了七年,只因为有人和我说七年后的今天一切都会不同。我没有问为什么,也没有说任何一句话,我选择相信。我总算等到了这一天,虽然我知道知道这一天的到来会不同,但我没想到我却直接站在了顶峰,是选择高高挂起还是一往无前站在最前沿,这个问题又会有一个答案嘛长生路已段,以我血肉,再续长生桥。破神界,斩苍天,阴阳轮转,再辟一界,名为苍天神界。。一个残疾人靠着幽默在现实直播中实现自身价值。 一个粉丝心中的无冕之王。 老婆多,是他的第一个标签。灵魂歌手,尿床是他的家常便饭。没想到,一直以来只有在文艺作品中见识到的末世场景会在我的面前重现,丧尸,虫子,甚至是异界的亡灵,我们没有能够救世的超级英雄,没有黑科技武器,甚至,没有一个能安稳休息一下的落脚点,我们能依靠的只有我们自己的双手,在这个糟烂的末世中冲出一条路。杨辰一朝穿越,回到东汉末年,成为杨彪的侄儿,弘农杨家的下一代家主。 开局杨辰就觉醒了气运图录系统,只要迎娶美人或者收服名臣武将就能激活气运人物图录,就能获得专属人物奖励。 汉室的根已经腐朽,杨辰决定离开洛阳,前往并州发展。 之后,杨辰一路壮大势力,灭了南匈奴、鲜卑、乌桓。 一年后,杨辰带着麾下并州强军,一路杀回洛阳,一举成为天下最强军阀。
网络营销的主要职能 建立个人网站多少钱 电子营销 青岛模板化网站建设 医院互联网营销案例 公司网络营销定价策略 网络安全 实训机构 学网络营销 新闻媒体网络营销案例 广东信息安全公司 忧郁症的预防措施咨询【www.richdady.cn】 暗恋的心理成长【www.richdady.cn】 前世今生的轮回有哪些科学依据?咨询【www.richdady.cn】 老公家暴【www.richdady.cn】 脑部不清晰与生活习惯的关系咨询【www.richdady.cn】 孩子压力大的自我提升咨询【微:qq383550880 】√转ihbwel 改善脑部不清晰的方法咨询【www.richdady.cn】√转ihbwel 祖灵的超度仪式【微:qq383550880 】√转ihbwel 发育倒退的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主干扰的化解方法有哪些?【σσЗ8З55О88О√转ihbwel 如何解决孩子不爱读书的问题?【σσЗ8З55О88О√转ihbwel 去世的母亲的前世案例咨询【微:qq383550880 】√转ihbwel 解梦的咨询技巧【企鹅383550880】√转ihbwel 冤亲债主干扰的化解仪式【σσЗ8З55О88О√转ihbwel 冤亲债主化解【微:qq383550880 】√转ihbwel 财运问题在线咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 有官司的法律援助【www.richdady.cn】√转ihbwel 大龄剩女的自我提升咨询【企鹅383550880】√转ihbwel 忧郁症的前世记忆咨询【企鹅383550880】√转ihbwel 解梦的前世记忆咨询【σσЗ8З55О88О√转ihbwel 不是信息安全所包含的内容是 6.1号网络安全法 营销服务商 网站空间租 营销qq好友群发消息 信息安全技术 数据库管理 网络营销课 厦门网站建设公司 研发和信息安全,-1 中国信息安全测评中心 漏洞 定义 2017年信息安全威胁 上海市网络信息安全 成都学校网站制作 上海做网站品牌公司 新闻媒体网络营销案例 台州市网站建设 联通网络安全资质 中国信息安全保护网 岳阳网站建设 国家信息安全网络安全 信息安全管理体系是指:,-1 亚太网络安全 青岛模板化网站建设 网络安全 专题 网络安全项目经理 网站文风 顺的网站建设咨询 网站文风 信息安全的5大特征 网络安全 实训机构 网络安全实训总结 网络安全宣传 衣柜营销策划方案 中国民间网络安全协会 株洲网站建设 株洲网站建设 2016信息安全大会 网站数据怎么会丢失 深圳企业网站建设公司排名 杭州做网络安全的公司 网络安全技术人员工资 网站建设一条龙 沈阳淘宝营销培训班 广州网站建 网站阴影 福州专业网站建设 i春秋网络安全大片app 成都做网站 网站学什么营销 老师 网络安全技术认证 中国信息安全法律网 全网营销有哪些渠道 中国国家信息安全产品认证证书等级 网络安全技术规范及标准 国外的app设计网站 ncre信息安全技术 网络信息安全教育培训 深圳企业网站制作 商城网站功能模块有哪些 网络安全项目经理 网站数据怎么会丢失 网络安全问题会议 边界网络安全 精美网站 无锡网站建设哪家专业 单位信息安全的保护 电子营销 南山区网站建设公司 北京信息安全公司排名 网络安全专家采访 顺的网站建设咨询 信息安全上网行为管理 网络安全实训室方案 网站设计学习 小程序在建网站吗? 研发和信息安全,-1 网络和信息安全通报实行小时联络制度 网站空间租 经典电子邮件营销案例 信息安全工作总体方针和安全策略,-1 网络安全应急响应服务 公司网络营销定价策略 重庆 营销公司 中国信息安全法律网 网站手机开 北京信息安全公司排名 山石网科网络安全 上海做网站品牌公司 精美网站 银行网络安全风险评估 广东信息安全公司 ncre信息安全技术 国家信息安全网络安全 岳阳网站建设 原型图网站 长沙做网站建设的 中国信息安全相关考试 营销的网络 网络营销策划术语 南宁做网站找哪家公司 广州网站建 中国信息安全保护网 国家电网信息安全大赛 无锡网站推 营销qq好友群发消息 网络安全防护设备 南宁做网站找哪家公司 中国工业信息安全 注册信息安全专家 怎么做自己的网站? 珠海集团网站建设外包 关于网络安全动态 信息安全检测公司 电器网络营销方案 厦门网站建设公司 亚太网络安全 成都学校网站制作 电商信息安全监控 网络安全标准规范 建立个人网站多少钱 网站文风 信息安全等级保护 年限 网络安全黑客漏洞 蘑菇街是什么营销模式 中国工业信息安全 网站阴影 上海做网站品牌公司 信息安全检测公司 信息安全管理体系是指:,-1 网站文风 边界网络安全 长沙微信网站制作 6.1号网络安全法 特仑苏营销南通做网站 网络安全网络端口扫描程序的源文件