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

<a class="close" href="https://2xyw.13334.cn/">&times;</a>
网站建设三站合一预售营销计划英文番禺网站推广工作室网站北京wap网站开发安恒信息安全学院数字营销哪儿有什么是公司信息安全,-1成都高端网站建设公司自己电脑做网站 带宽珠海专业医疗网站建设世间万物,周而复始;盛衰之源,宿命轮回。数百万年后,地球因资源枯竭引发大战,让曾经的大洲、大洋变成了一块荒凉的大陆,绝大部分陆地在战争中沉入海洋,本以为地球将文明会因此消失在宇宙历史之中,不曾想因上古大战导致外泄的地球内核能量,却奇迹般的让地球生命得以进化。十万年之后,曾经满目疮痍的土地再次以无比宽大的胸襟重新接纳人类。当然也不止是人类……中文名《弑星者:红桃皇后》 英文名《Starkiller:Hearts queen》(星际杀手:红心皇后) 2066年全世界经过长期流行病和核战争后总人口锐减至6亿,全球财富被资本家垄断并且统一为地球联邦政府后,人类贫富差距进一步扩大,资本阶级肆意挥霍地球资源,导致地球温室效应持续增加,环境被破坏已经不可逆,一系列恶果导致瘟疫和饥荒肆虐全世界,人类存亡已经危在旦夕....人类争夺资源被迫开始自相残杀,甚至作死发动全球核战争最终导致核污染破坏了整个地球的生态环境,人类在绝望中不断消亡 核冬天来临的废土世界,来自银河系中央掌管46个一级文明的银河帝国全面接管了地球,将地球划分为12区,人类受到了外星文明的压迫与奴役,然而,人类并未完全屈服,获得外星反抗军支持的地球天人组织&amp;lt;弑星者Starkiller&amp;gt;向银河帝国发起挑战...一场牵扯全宇宙战争浩劫全面爆发 2034年,位于华夏北方的俄国突然联合死敌M国攻打华夏,后发展为第三次世界大战。一切都来源于一个巨大的利益旋涡,一场牵扯了整个蓝星文明的阴谋逐渐浮出水面......一个写作爱好者天呐!一招大败鸿钧老祖!与大道大战九天九夜未分胜负的神秘人,竟然只是那少年的一道分身!   林凡穿越后荒古时代,天地灵力匮乏,身为五行霸体的他,竟然被人夺舍本源,沦为将死废人。   好在万念俱灰之际,他继承了帝尊传承意志。   从此林凡虽为一介凡体,欲可逆天崛起,纵横八荒,九天十地无敌手!   十万分身为我修炼,修为一日万里。   神通秘术晦涩难懂,我瞬间透彻!   天骄圣子,我一指可灭!   大帝古皇,覆手镇压!   洪荒大道,一念代之!状元庙里的手札,由前世的汉字写就。每一张纸页上,都记载了一段故事。有人畏之如虎的一生,却被后来者求而不得。 烛龙眨眼时,少年在时空中寻觅归途。穿越大唐贞观年间,成为李世民第九子李治。 开局只有四岁,并且身负混世魔王系统。 十万里加急的信鸽算什么? 烤! 圣旨算什么? 画! 李二算什么? 整! 李二:“王德,最近雉奴学业如何?” 王德:“陛下,孔颖达已拜晋王为师!” 李二:“什么?” 王德:“阎立本、王献之紧随其后,也对晋王殿下以师见礼!” ………… 琴棋书画,刀枪剑戟,文武双全定江山。 我李治自认第二,谁敢称第一?茫茫天地,亘古永存,所有生灵,不断轮回,无限延续。 忽有一日,天地变,三界崩,阴阳转,轮回断,从此世间再无轮回,直至天地毁灭.....30后地球被一束光包裹着,当光散去,人类的眼睛发生了变异甚至动物也是。眼睛变异的生物拥有了超人般的能力被称为异瞳者。单懿是五年前编号012赤级副本的唯一幸存者,但抛弃懦弱一直贯穿着他的一生。五年后,单懿成功地证明了自己并且要为自己的同伴报仇。(这是一部 经典港式剧情 的反转、反转再反转的故事,其间警察不是警察、兄妹不是兄妹,父子不是父子,恋人不是恋人,想死的时候死不成,不想死的时候却无力回天的烧脑故事。) 港岛警方追查一件连环催眠自杀案,受害者已有多人,死者都跟未来集团有关,而未来集团的创始人顾长孝,将会是下一个目标。 顾长孝 自小就有【针眼恐惧症】的心理病,惧怕尖锐的东西,因此从来不去医院看病,但是确诊肺癌晚期,儿女们为了表现孝心好分得更多财产,强制把顾长孝送到医院治疗,从而上演了一出家庭战争。 顾长孝逃出医院,被一个叫鬼点子的人催眠,并执行了一次疯狂的自杀,那就是同一时体验跳崖而死、上吊勒死、毒死、火烧、水淹而死 5 种死亡。 疯狂的自杀方式,让顾长孝很兴奋,但是,在临死时,他发现了最终的阴谋,不甘就这么死了,最终出意外,顾长孝被送到医院,醒来的时候,看到护士给他打针,他的【针眼恐惧症】顿时犯了,活活把自己吓死。 从此,复仇的大戏被拉开!
成都市网站建设 重庆专业的网站建设公司 信息安全管理实验报告 安恒信息安全学院数字营销哪儿有 网站关键词排名 网络营销经理线上 网站建设报价单 企业级网站欣赏 重庆专业的网站建设公司 江苏网络安全事件 心慌胸闷头晕的医学检查咨询【www.richdady.cn】 家庭关系咨询咨询【www.richdady.cn】 投资项目的前世记忆咨询【www.richdady.cn】 老公家暴的前世因果咨询【www.richdady.cn】 如何改善人际关系【www.richdady.cn】 前世今生的故事有哪些案例?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 头脑混沌的原因及对策【www.richdady.cn】√转ihbwel 财运不佳的改运技巧【www.richdady.cn】√转ihbwel 忧郁症的心理调适【σσЗ8З55О88О√转ihbwel 如何避免生活中的意外咨询【www.richdady.cn】√转ihbwel 发育倒退的环境影响咨询【σσЗ8З55О88О√转ihbwel 脑部不清晰咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 存不住钱的案例分享咨询【微:qq383550880 】√转ihbwel 感情纠纷的情感修复【σσЗ8З55О88О√转ihbwel 感情纠纷的情感疏导技巧有哪些?【企鹅383550880】√转ihbwel 事业不顺的职场突破【www.richdady.cn】√转ihbwel 公司破产的环境影响咨询【企鹅383550880】√转ihbwel 精神不振的心理调适咨询【www.richdady.cn】√转ihbwel 工作升迁的障碍与突破咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 网络营销托管 开封做网站 创意网站建设公司 自己电脑做网站 带宽 成都网站设计制作工作室 上市公司网站设计 分析我国网络营销现状 四川建网站 东莞网站设计 免费网站申请域名com 网络营销传播渠道研究 2016最新网络安全事件 顾问营销系统 商城网站都有什么功能模块 网页制作免费网站建设 网络安全个人个人怎么做病毒营销方案 大市场营销组合构成6P 网络安全沙龙营销运营方 网络安全管理工作方案。 国家信息安全事件,-1 镇江网站建设公司 天蝎网站建设公司 网络市场营销方式 互联网营销广告语 网络营销管理的内容 长沙网站制作 湖南金盾信息安全 长沙网站制作 网店营销策划报告 深圳h5网站公司上海信息安全产业协会 工作室网站 上网站乱码 预售营销计划英文 预售营销计划英文 大市场营销组合构成6P 福州网站建设 秦皇岛网站开发公司 顺德网站制作案例平台 2017网络安全周武汉 网络安全技术支持 四川建网站 咸阳市第三届国家网络安全宣传周 企业网站制作公司 优秀网站案列 信息安全竞赛题库 微信网络营销成功案例 大理网站建设 微信网络安全未通过 网络营销外包推广服务 厦大网络安全 电信网络与信息安全 海珠营销型网站制作 阜阳建网站 网络营销外包推广服务 成都市网站建设 商城网站都有什么功能模块 保定 网站建设 成都市网站建设 网络营销活动规划 杭州全网整合营销 网络安全等级测评师 淄博建设网站 互联网营销广告语 站长工具网站关键词库的词不是自己提交的么?为什么会不断减少 武汉企业制作网站 网站关键词排名 经典网络营销案例分析ppt模板 实战营销 网页制作免费网站建设 昌都网站建设 石家庄开发网站 网络安全状况分析 网站用途 成都网站设计制作工作室 网站建设报价单 企业网站必须实名认证 天津建网站 网站制作流程 中国网络安全 秦安 1对1营销案例 沧州网站推广 网络营销的基础与实践报告 网络安全防护系统 免费网站申请域名com sem整合营销机构 开封做网站 盐山网站 网络营销都做什么 北京wap网站开发 盐山网站 1对1营销案例 焦作建网站 青岛 网络安全法 网络营销活动规划 广州市天河区网站设计公司 营销定制 饮料产品营销策划方案 北京高端网站制作 营销定制 手机网站设计尺寸 装修企业网站网络营销 饮料产品营销策划方案 网络安全法 等级保护 网络营销传播渠道研究 镇江网站建设公司 网店营销策划报告 中小企业网站建设服务 站长工具网站关键词库的词不是自己提交的么?为什么会不断减少 网络安全检查通报 重庆网络营销价格 网络安全管理工作方案。 实战营销 秦皇岛网站开发公司 顾问营销系统 搭建网站需要什么 网络安全状况分析 网络营销考试案例分析 网站常识 创意网站建设公司 企业级网站欣赏 网络营销管理的内容 国家信息安全事件,-1 行销与营销 网络安全防护设备部署 对网站主要功能界面进行赏析 上网站乱码 美国网络安全防护技术 重庆专业的网站建设公司 阜阳建网站 2013 信息安全 泰安网站建设公司 北京代建网站 网店营销策划报告 企业网站制作公司 北京网络营销网站