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

<a class="close" href="https://dja9.saqin.cn/">&times;</a>
如何运用网络营销渠道西安高端网站制作公司哪家好网络社区营销策略刮奖网站事件营销分类网络安全系统建设手机网站免费广州品牌设计网站建设营销软件是真的吗学网络营销学那一块好什么是整合营销?神祭消,天恒碎,一切又是一个新的轮回,谁在注视着这一切? 混沌之巅。 我——独战! 黄泉之中我无敌,黄泉之外你又能奈我何? 缥缈着的血花,歌颂着上古的辛秘。 故人一去不反,究竟承载着何人的寄托? 寂桐树下,叶青独自数着一片又一片的落叶。 静待死亡。。。。 蓝颜玉是智族的天才,天生智力无限,精神力初始三十级。在他十三岁时,离开了智族,入了阳暮言组织的拯救者奇团,认识了妖族的小公主美琥,金刚族王子艾果……在这其中竟还有来自异族的夜墨修,他是敌是友? 在剿灭异族的过程中,花界彼岸花——慕兮月与他相识、相知、相爱。之后的几次生死之战,导致拯救者大换血,面临着土崩瓦解,蓝颜玉是否能重振拯救者奇团?在世界即将要毁灭时,他又能否拯救世界?从前有一座大陆,叫圣洛大陆。 大陆之上有一个域,叫南山域。 南山域有个宗门,叫仙痕剑宗。 仙痕剑宗之中有一位大师兄,叫君清尘,他似乎有亿点点强,而他的故事也是从此开始。 我们是生活在一个多维的空间,现在所处的三维空间只是其中很小的一部分,其他空间到底隐藏着什么奥秘需要我们不断地探索。现代人的大脑开发只有10%,就连爱因斯坦的大脑使用率也只有15%。而古时人类大脑使用率是100%。有些事情不是你解释不了就认为不存在,那是因为你的大脑使用率太低了。特异功能的修炼过程也是在逐渐提高人类的大脑使用率的过程,当你的能力达到一定水平之后很多问题将迎刃而解。废材少年百折不挠,觉醒神魂,诸神跪伏,修神级功法,他朝势必踏破苍穹,碾压诸界,成就无上战神末世爆发,丧尸遍布,异兽横行,天外物种入侵!远古文明和地心空间相继问世,处处危机,又是有机缘并存。   张晨,用一柄战斧,带几头战兽,追寻灾变的真相,杀丧尸,诛异族,踩着敌人的尸体铸就一段传奇!“三更堂?阎王让你三更死,谁敢留你到五更的三更堂?” 胖哥,先为不可胜呀,算无遗策呀,智珠在握呀。被打的吐血还在这装? 兄弟二人,美女撑腰,携酒上吟亭,满目江山列画屏。传说,宇宙中有一方宇宙人以强大的科技和大量训养的怪兽以及残暴的手段侵占适宜其生存的行星,建造庞大的宇宙帝国。 如今,已经侵占数行星的邪恶宇宙人将矛头对准了地球。 人类究竟能否开发出对付侵略者的武器,团结一心,打赢这场长期的家园守卫战呢?茫茫黑色宇宙中究竟是否能冉冉升起一颗新星? 无人知晓......[纷扰如迷雾,逍遥且徐行] 入梦方醒,方觉大道维艰。从小世界意识回归醒来的大光头,抬手摸着自己脑瓜低吟着“无量天尊。” 看着身边传讯符,回忆着这次化身从婴儿到意气少年,又度过颠簸抗争的青年路程,往后便好似不记得自己有过壮年中年似的,回首时已在疑惑困顿中到了老年。 化身一生寂寥糊涂过,只留下一首连通顺都算不得的唯有悔恨的“一年一岁婴至此,一时一秒得与失。稻草压身抵千斤,默然回首如何持。神杂性善恶七情己,人和人白白入灰多。己识多实错分年,霎那蹉跎七十婴。” 又有那好似从老年到青年活着的感慨:“何所思何所愚何所怠,七十婴五十少三十明。天色长空人自老,道存事存时不存,上下空有物竞乾坤灭,事合人思万中无一寻。谁家孩儿拿那炮竹当烟花鸣一曲,潜游无欲无求后同求不在求呢。苦无一用怎是迷生。” “站在你面前的是,唯一的君王、最臭名昭著的恶人、救世主、欺诈师、翻斗大街牛爷爷、文明世界的开拓者,林赫间!不是你好贱!” . 在临死的时刻林赫间,来到了原初之海,意外获得了成王的资格,为了拯救世界和拯救自己,随后便踏上了成王的旅程........ 王座之路必定荆棘丛生,自我与众生之间抉择,在神性与人性中徘徊,手上的鲜血又是谁的呢。
网络安全的特殊性 许可营销 网站防采集 信息安全会议 infosec,-1 网络安全技术 手机模板网站开发 网络安全服务方案 青浦网站建设 市南区网站建设 被通知公司网站域名到期 头脑混沌的案例分享咨询【www.richdady.cn】 感情纠纷的情感修复方法有哪些?【www.richdady.cn】 投资项目的前世因果【www.richdady.cn】 感情纠纷的前世记忆咨询【www.richdady.cn】 无形干扰的自我提升咨询【www.richdady.cn】 前世今生的轮回解析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的案例分享【σσЗ8З55О88О√转ihbwel 冤亲债主干扰的解决方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老婆的前世缘分威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的父亲的前世因果咨询【企鹅383550880】√转ihbwel 老公家暴的前世因果咨询【企鹅383550880】√转ihbwel 耳鸣的环境影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 脑部不清晰的症状与治疗咨询【微:qq383550880 】√转ihbwel 大龄剩女的情感生活如何改善?【σσЗ8З55О88О√转ihbwel 儿子抑郁症的家庭支持咨询【企鹅383550880】√转ihbwel 失业的职业规划【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心特别累的前世因果【企鹅383550880】√转ihbwel 与公婆前世的影响分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的重逢故事咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 公司破产对股东的影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 清华信息安全考研 徐州建立网站 网络营销平台调研报告 长沙做网站建设的 百度信息流营销顾问 广播电视信息安全测评中心 苏州网站优化 网络安全培训课程视频 聚美营销岗 常用的网络安全措施 信息安全管理研究包括 建网站方法 青浦网站建设 石家庄网站推广 互联网品牌营销是什么从以下新闻入手分析并阐述一下你对网络营销价格策略的看法 网络维护网站美工 福州网站设计 网站建设seo优化的好处 什么是整合营销? 北邮 信息安全 阶段作业 网络安全基础应用与标准 pdf 市南区网站建设 青浦网站建设 网站制作 武汉 网络安全ppt最后谢谢 商务网络营销 微网站建设资讯 如何运用网络营销渠道 三合一企业网站模板 广东省网络安全宣传高峰论坛 武汉手机网站建设动态 网络社区营销策略 百度信息流营销顾问 广州网站开发 当前中国网络安全 互动 话题 热点 营销 福州网站设计 信息网络安全风险评估 粉丝网站制作 被通知公司网站域名到期 建湖建网站的公司 粉丝网站制作 如何运用网络营销渠道 网站营销公司哪家好 企业网站建设服务热线 重庆整合营销哪家好 app 网络安全案例 信息安全管理研究包括 网站的互动 长沙 做营销型网站的公司 武汉手机网站建设动态 网络安全技术 公司网站设计与制作 网站推广方法 青浦网站建设 网站备案填写的《信息安全管理协议》是去了备案的地方再填吗 广州外贸营销型网站 手机模板网站开发 互联网品牌营销是什么从以下新闻入手分析并阐述一下你对网络营销价格策略的看法 无锡全网营销外包 网络营销广告 佛山全网营销 建网站方法 个人信息安全防护概述 网络营销平台调研报告 网络安全 迪普 网络安全去哪里学 网站的互动 南通做网站 网络营销行业数据分析 网站制做公司 苏州外贸网站制作 营销推广方案线上线下 云网站系统 网络安全协会 活动 网站防采集 个人信息安全防护概述 企业网络营销应用分析 北科信息安全 百度信息流营销顾问 当前中国网络安全 网络安全的特殊性 重庆专业网站建设 北邮 信息安全 阶段作业 西安高端网站制作公司哪家好 中国安全网络安全天津网站建设公司 营销策划的学校 网络安全国家标准 聚美优品营销模式分析 重庆广告营销培训 口碑营销口碑传播 网站制做公司 网站三合一 工厂营销推广 有关网络安全的专业 许可营销 网络安全密码如何查找 网络营销广告 摄影网站建设 2017青岛网络安全会议 嘉兴网站设计 关于网络安全报道 建立政府公众网站的目的的 做网站行业的动态 网络营销广告形式 河间做网站 许可营销 广州网站建设公司 信息安全与嵌入式 网络安全领域什么漏洞 三合一企业网站模板 2017网络安全行业 网络安全审计系统产品 信息安全技能赛 安全狗 设计网站需要什么条件 武汉高端网站建设 被通知公司网站域名到期 开源sdn网络安全 深圳大型网络营销公司排名 2016网络安全热点问题 佛山全网营销 个性化定制网站 网络安全实用教程 建立政府公众网站的目的的 网络安全100强 网店营销所带来的意义 网络安全 迪普 营销软件是真的吗 石家庄的电商网站建设 网站三合一 关于网络安全报道 网络安全审计系统产品 企业网站模板下载 中国网络安全局图标 手机网站免费