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

<a class="close" href="https://jsbo.ruxo.cn/">&times;</a>
4A级网络营销网站重做创新型的顺的网站制作关于网络信息安全营销学习深圳营销型网站建站荣耀信息安全网站重做营销有哪些职能信息安全犯罪的案例方源穿越到异界,发现自己身处牢狱,即将命不久矣。 幸好有着伴随他穿越而来的玄幻模拟器,让方源能够将意识投入到模拟器世界中模拟人生,获得超凡力量。 武道世界、巫师世界、诡异世界、修仙世界... 在无数个画风迥异的模拟世界中,方源意识投射诸界,在诸世界中漫步、横行…… 一剑一仙,斩落人间! 三年谋划,百万打稿,还你最初的心跳和热血!看似纷繁冗凡的人类世界以及虚无缥缈的玄幻世界,每个字皆是对于人生生命的理解。一日复一年,几世转几生?峥嵘岁月轻描淡写聊然于纸,重担却已扣在心弦。生命可畏,岂能错付大好时光。难得相遇,誓以韶华共赴荣光! 异界的青春派对有你不可或缺的身影。于这片沃土回首往昔,描下对八年前的她最完美、最心痛的追忆。 心动始于她那稚嫩的笑容。奈何命运蹉跎,时不我待。 犯下的傻事宛若过眼云烟越飘越远……如今的一腔热血,似乎有点无处安放。该如何?要不以纸笔绘下一片浩荡天地来储续吧!就拿曾经的青春作为筹码,来一场豪赌,赌个不醉不归!赌个酣畅淋漓! 梦仍在,何时了。酒一壶,解千愁。夜因绪起筹月色,朝为她笑倾国容!了却三生泪。 人神共勉,众生同戮的世界里,每个人皆有属于自己的爱恨情仇,鸿鹄之志、命运纠葛……在这异界里,你一定能找到属于自己的那份心灵归宿,花落谁家,让我们拭目以待吧。 上古世界,万道显化,诸神并起,仙佛流转,妖魔遍地,天灵地显。大道通天,万类皆可成圣做祖,长生不死。万物欣欣以向荣,天才地宝无数,是虽有风雨,但使万物生,世为万法时期。 天之道,损有余而补不足,天生万物以养众生,而众生无一物以报之。世界能量一直在流逝,历经千万纪元,道之不复,法之不存,是为末法时期。未法世界,万法不显,神通不传,世将重演,众生皆苦,吾独以万法通天,万道成神,万理经世,再造天地乾坤,一语落而万物生,一言而为天地法。来自星辰的启示, 人与神明相抗争。 超前进化的智慧, 痴迷幻梦不愿醒。 败军之将,梦途惊醒,逆天改命,铸就新(醒)程。 大夏龙朝经历八百年的沧海桑田:王权衰败、藩王割据、诸侯裂土、群英崛起。龙朝早已是名存实亡……闲散退役兵王庄毕因缘巧合,住进了女神别墅,面对霸道美女总裁,他表示亚历山大。 庄毕:“女人,今日你对我拳打脚踢,来日我必然回报你一双儿女。”未来科技高度发达但战火不断,人类各大文明区为了缓和阶级矛盾,以各自文明历史、神话或传说为基础元素构建了人类文明的终极进化宇宙!以三国历史为背景的华夏文明、以科幻传说为背景的漫威文明、以天道教为背景的大和文明、以历史神话为背景的高丽文明……,万国文明在进化宇宙中展开残酷的弱肉强食的文明争锋,群雄逐鹿于丛林法则之下,试问哪个文明能傲立于巅峰!本胖子,天下无敌,一本茅山遗书在手,一身肥肉做盾,诛邪退避,百妖臣服废墟中,一个脸跟煤球似的少年刚从梦中醒来便和一位老者四目相对。 少年环视了一下四周,哀叹了一口气,少年心想:这次是垃圾场啊~我也真够衰的… 随后少年看向老者,试探道:“嗨?” 老者:“……嗨?” …… 老者两眼发光,对少年道:“孩子啊,我看你资质不错,不如跟我学点手艺?”
未来网络营销的趋势 国家信息安全最新政策 工控网络安全龙头公司 linux 网络安全 命令 钦州网站建设 考研网络信息安全 网络营销技术基础语言 深圳网站建设服务公司网站seo诊断 营销学习 应用层的网络安全控制产品主要有 精神不振的自我提升【www.richdady.cn】 孩子不爱读书的心理分析有哪些?【www.richdady.cn】 孩子学习不好的解决方法咨询【www.richdady.cn】 亲子关系的互动模式有哪些?咨询【www.richdady.cn】 阴间生活的前世修行【www.richdady.cn】 孩子学习不好的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 灵魂化解的方法【σσЗ8З55О88О√转ihbwel 事业不顺的职业规划【σσЗ8З55О88О√转ihbwel 失业的原因分析【www.richdady.cn】√转ihbwel 冤亲债主的干扰与因果【微:qq383550880 】√转ihbwel 发育倒退的解决方法咨询【企鹅383550880】√转ihbwel 官司的案例分享咨询【σσЗ8З55О88О√转ihbwel 脑部不清晰的自我提升【微:qq383550880 】√转ihbwel 纠纷的自我保护咨询【σσЗ8З55О88О√转ihbwel 阴间生活的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主干扰有哪些症状?【www.richdady.cn】√转ihbwel 孩子不爱读书的阅读计划如何制定?咨询【企鹅383550880】√转ihbwel 发育倒退的前世记忆咨询【企鹅383550880】√转ihbwel 迟缓儿的治疗方法【www.richdady.cn】√转ihbwel 孩子厌学的家庭教育咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 陕西信息安全网络协会,-1 试听课营销 网站url 考研网络信息安全 武威网站建设 未来网络营销的趋势 网络安全法 黑客 景安网站 电子邮件营销是指什么地方 宝安网站建设 经典新媒体营销案例分析 武汉大学网络安全信息 信息安全犯罪的案例 量子计算和网络安全 广东地方网络安全法规 2017信息安全大会rsa 国家信息安全工程技术研究中心 钦州网站建设 信息安全防范技术水平 关于网络信息安全 网站布局 儿童节网络营销 信息安全犯罪的案例 织梦网站图片代码 深圳网站建设服务公司网站seo诊断 国家网络安全应急工程技术研究中心 网络营销网站 网络安全证书已过期或不可信 深圳手机集团网站建设 个人信息安全评估报告 用别人的网络安全吗 产品网络安全 网络营销可以接本吗美团的无线营销 阳春网站建设 网络信息安全公司的售后 商城建网站 电信诈骗与网络安全 第十届网络安全大赛 网络安全扫描器nss 互联网营销运作 信息安全评审 深圳手机集团网站建设 网络信息安全网站 石家庄微网站 外贸网站推广 网络营销从事工作网站与网址的区别 网络安全与防火墙技术的研究 企业信息安全的建议 网络营销组织是什么意思 信息安全政策包含 信息安全资质证书等级,-1 web网络安全培训班 网络安全产品展会 营销学习 信息安全防范技术水平 网络安全介绍 ppt airbnb 中国营销 网络安全和信息安全的区别 网络安全培养基地 网络安全动画片 熟人关系营销 网络营销组织是什么意思 网络安全论坛 2017 行业网络营销分析报告 网络安全分析系统 营销培训费用 seo的网站建设 一体化网络与信息安全 2016国内信息安全事件 网络信息安全网站 电子邮件营销是指什么地方 朝阳企业网站建设 未来网络营销的趋势 关于建网站新闻 朝阳企业网站建设 制定网络营销策略须考虑 网络安全技术视频 杭州g20峰会 信息安全 儿童节网络营销 电信诈骗与网络安全 微信营销案例分享 网络安全需要具备什么 网络营销网站 深圳手机集团网站建设 中国网络安全行业 应用层的网络安全控制产品主要有 网络安全发展前景 用别人的网络安全吗 2017 4.29网络安全 泰安网站制作 信息安全基线规范 网络营销外包 常州专业网站建设推广 信息安全控制基础原则 优步网络营销分析 量子计算和网络安全 营销资讯网 开展网络安全认证检测风险评估 信息安全技术包括哪些主要技术 网络安全和信息安全的区别 网络安全需要具备什么 重庆綦江网站制作公司电话 外贸网站推广 营销有哪些职能 石家庄微网站 深圳市信息安全协会 番禺网站建设培训 日本网络安全技术 深圳营销型网站建站 电子邮件营销是指什么地方 网络安全产品展会 营销热门话题 网络安全层次 互联网营销运作 建网站主机 北邮 信息安全 国家线 经典新媒体营销案例分析 网站设计开发的难点 工控网络安全龙头公司 网站布局 网络安全产业报告 企业信息安全的建议 网络营销的基本知识 国家网络安全应急工程技术研究中心 营销有哪些职能 网络安全大会2017 信息安全政策包含 蘑菇街网络营销 网络安全攻防大赛 3. 计算机网络安全是 国家网络安全宣传周活动名称 熟人关系营销 南通网站建设空间 网络安全与防火墙技术的研究 我国信息安全形势