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

<a class="close" href="https://yd6.xevi.cn/">&times;</a>
排版的网站信息安全风险是指认为或自然大连网站建设网络安全和信息化小组百度教育山东营销网络安全宣传周ppt关于加强国家电子政务工程建设项目信息安全风险评估工作的通知关于网络安全的信息电商淘宝网络营销南昌电商网站设计江夜得知十天之后,克苏鲁神明将要 降临人间,血洗一切。 眼看死亡不可避免!结局已经注定! 还好他提前得到【斩神模拟器】! 可以逆天改命! 只要通过模拟器不断斩神,就能获得模拟点,兑换各种金色传说天赋,死灵之书,尸食教典仪,阿撒托斯之书,至高母神莎布.尼古拉丝…… 十天时间,一晃而过,曾经弹指可灭的蝼蚁,已经成为全宇宙最强大的创造之神! 这时诸神降临,信心满满,却震惊的发现,这个看似脆弱的人类星球,竟然居住着一尊伟岸…… 这是一部我在某次特别的日子特别的时间听到的的故事,我记得那是一个晚饭时间直到凌晨五点多的一个故事,这个故事它或许不华丽不爽文不刺激,它就和我们普通人的生活一样,但却有着它不一样的地方。人与邪神的交锋从来都是至死不休,在这神秘的超凡世界里,谁能登上神座。 在黎明到来之前,总有人要在黑暗中扫清障碍。 他是偶尔的疯子,守夜军的一员,这是属于他的故事。此书献给曾经热血激昂的自己 圆梦自此开启好书 间谍是一个非常古老的职业,从有战争开始的那一天起,间谍便是交战双方获取对方情报的唯一选择。有人说,间谍战是这个世界上唯一不会出现硝烟的战斗,可事实证明,没有硝烟的战斗在这个世界上几乎不存在,即便是暗地里的较量,同样充满血腥和牺牲。 我姓唐,叫唐城,你也可以叫我唐五郎。 我爹是军统,专门抓日本特务的军统,虽然他不在了,可小爷我也绝对不允许你们这些萝卜头活的逍遥。 这里是国统区,所以,这里没有你们存活的空间。如果你们非要来,那好吧,小爷我只好送你们统统下地狱。重生在了天道即将崩溃,鸿钧三清远走寻到,天地王母受援以进,现代科技飞速发展,对于修行却是半开放的世界,江屹煊被选为了复苏天道的棋子。 对于这些,江屹煊有话说:“我只想把仙丹当糖豆,把八九玄功当炼体术,让亲人无病无灾。用真火来炒菜,用灵泉当家庭饮用水,让石材释放出它最美味的口感。对于复苏天道什么的,谁爱作谁作,我没兴趣!”滚滚5000年长河中,有多少的意难平啊?而如今,一个人来到了三国时期,它拥有着改变这一切的机会,他又会做如何选择?或者他有什么选择的办法?这一切的一切到底该如何是好?当霍去病与王昭君产生羁绊,当项羽再次遇到虞姬,当曹操一转身,发现自己的五子良将变成吕布的八健将,这一切的一切又该如何探索?这终究将成为一场世界性的决战,这是最精彩的时代,这是最混乱的时代上古年前一座巨大金陵塔从天而降,对这片大陆造成毁灭性的破坏海洋,陆地,湖泊生灵涂炭。 有舍必有得,虽然金陵塔让人类家破人亡,但它却赐予人类一种神秘的力量,人类称它为精灵力量,这种力量的恐怖让人类非常崇拜,它是一种恩赐也是一种诅咒。 叶枫为了探索这种力量的尽头,背着行李箱走上自己的旅程。
网络安全宣传周ppt 网络安全资质证书有哪些 网络信息安全调查报告 北京网站设计制作 网络安全系统 网络信息安全测评机构 网络安全评测 网络营销发展课 网络营销学者 金融 信息安全体系建设方案,-1 莫名其妙感伤的原因分析【www.richdady.cn】 发育倒退的早期干预措施咨询【www.richdady.cn】 祖灵与家运的关系【www.richdady.cn】 提高孩子阅读兴趣的方法【www.richdady.cn】 前世缘份的化解方法咨询【www.richdady.cn】 与女友前世的前世解析【微:qq383550880 】√转ihbwel 事业不顺的职业规划【微:qq383550880 】√转ihbwel 如何改善亲子关系?咨询【σσЗ8З55О88О√转ihbwel 冤亲债主干扰的根源是什么?咨询【www.richdady.cn】√转ihbwel 外灵干扰的自我提升咨询【σσЗ8З55О88О√转ihbwel 内心恐惧胆怯咨询【www.richdady.cn】√转ihbwel 阴间生活的前世故事威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 脑部不清晰【σσЗ8З55О88О√转ihbwel 事业不顺的改运方法咨询【企鹅383550880】√转ihbwel 事业不顺的心理调适咨询【微:qq383550880 】√转ihbwel 前世今生的故事有哪些案例?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场转型技巧有哪些?【www.richdady.cn】√转ihbwel 冤亲债主的干扰与因果【www.richdady.cn】√转ihbwel 投资项目的风险评估【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 网站 网站建设定制 信息安全专业人员cisp教学ppt 唯品会的营销策划方案 信息安全保护条例 网络安全评测 信息安全投诉 It信息安全心得 网络营销与马云 计算机网络与信息安全技术 网络营销的关注度 南昌网站优化 杭州企业网站制作 等保网络安全方案 信息安全保障体系概述网站制作公司 云南 营销外包论坛软文发布 关于网络安全的电影 网络安全黑哥 四川省网络安全报警 网站前台 中国风配色网站 信息安全风险是指认为或自然 长沙网站制作电话 网络营销发展课 网络安全网络隐身 等保网络安全方案 百度搜索营销 非经营网络安全审计系统 公司信息安全管理 北京网站建设公司电话 关系营销优势与不足 杭州企业网站制作 银行网络安全方案 传统零售营销的特点 信息安全国家标准目录 武汉网站建设联系电话 网络营销机 北京网站设计制作 信息安全 笔记本 山东小孩信息安全 金融 信息安全体系建设方案,-1 成都 网站建设 网络安全 lan管理器 网站建设策划书 网络营销的关注度 营销职能 网络营销与马云 网络信息安全测评机构 南昌电商网站设计 南京 信息安全公司 石家庄网络安全管理局 网络营销出来有用没 互联网营销的现状分析 网络安全产品 银行网络安全方案 全球大学信息安全排名 提高家庭网络安全 太原优化型网站建设 当前php环境关闭了文件上传功能网站将无法上传图片和文件 网络安全评测 搜索营销外包 信息安全等级测评师... 信息安全投诉 营销九连环 清华大学网络安全 关于网络安全的电影 电商营销课程培训课程 电商营销课程培训课程 唐山做网站公司 网络安全培训记录表 中国国家信息安全产品认证证书 查询 营销科技 网络安全 ids 排版的网站 网络安全公司 招聘 计算机信息安全保护 电商淘宝网络营销 深圳营销型网站建设 信息安全项目经历,-1 关于网络安全的信息 信息安全专业人员cisp教学ppt 清华大学网络安全 好网站范例 网络营销的推销 虚拟网络安全 百度搜索营销 网络营销与传统营销 品牌营销特征 青岛信息安全等级保护 网络安全资质证书有哪些 国家信息安全测评信息安全服务资质证书 信息安全保障体系概述网站制作公司 云南 网站建设:翰臣科技 网络营销的关注度 柳州网站设计 青岛信息安全等级保护 关于加强国家电子政务工程建设项目信息安全风险评估工作的通知 企业网站建设目的全球著名网络安全事件 百度教育山东营销 百度教育山东营销 计算机信息安全保护 网络营销与马云 网络信息安全调查报告 网络安全法 中文域名 易建筑友科技有限公司网站 网络营销功能建议 赣州网站制作 福建网站建设 网络安全网络探测实验 网络营销学者 关系营销优势与不足 信息安全 三可 杭州信息安全公司排名 中国信息安全发展历程 信息安全审计管理办法 全球大学信息安全排名 北京网站建设公司电话 银川网站设计怎么样 营销外包论坛软文发布 网络安全评测 信息安全标准化委员会 微信网络安全 柳州网站设计 网络安全系统 网络信息安全是一个动态的概念 东莞外贸营销 商城推广人际营销 中国电子信息安全技术,-1 网络营销机 杭州信息安全公司排名 网络信息安全调查报告 南昌网站定制开发公司石家庄网站制作公司 银川网站设计怎么样 无纸化营销 东莞外贸营销 金融 信息安全体系建设方案,-1