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

<a class="close" href="https://sfrl.jieng.cn/">&times;</a>
网站域名权医疗营销网天津企业网站建设医疗营销网营销型企业网站建设教案网站的排版信息安全论坛网路营销以什么为基础学院信息安全工作四川大学网络安全专业他喝了一大口酒,眼睛看着那些画板,有的是女孩坐在草地上,有的是女孩坐吃苹果,有的是女孩做鬼脸,有的是女孩钻在桌子底下,有的是女孩在海边沙滩上走,有的是女孩在看书,有的是女孩在堆石头,有的是女孩在吹肥皂泡,有的是女孩在海边堆沙堡。 到处都是同一个女孩的头像,到处都是他无处不在的思念,和他曾经毫不吝啬的青春。她用眼睛一张一张的端详起这些画作,每一幅画作虽然很唯美,却都散发出悲伤的气息,仿佛充满了痛苦而挣扎的记忆,她轻轻地问,你为什么你不去找她? 他的眼睛里闪过一丝痛楚,我的世界在这里,离开了我的画室我就不再是我自己了。 她问,既然你这么想念她,难道不能将你的画室带到有她在的地方吗? 他的表情显得忧伤而决绝,我必须远离喧嚣,有如一座寂静的庙宇,我需要用有限的生命去创造永恒。 他问,你呢,为什么来到这里,为什么那么伤心。 她本来不是一个喜欢说话的人,也不喜欢轻易坦露自己的心事。但是这次她说,我总是这样。 狠心小姨 你莫跑魂穿海贼世界的亚瑟,一名普普通通科学家,在这全员变态的世界如何生存? 别慌,大发明家系统为您服务!附魔台、传送石、仙豆、竹蜻蜓...各种神奇的道具应有尽有。 这就样,亚瑟成了超越贝加庞克的“天才科学家”,不仅征服了海军,还让整个世界为之疯狂。 我们的口号是“发明改变世界!”林辰用短短三百年时间,成为仙界最年轻的仙帝,却遭三大老牌仙帝联手围攻,同归于尽。 未曾想重生回到少年时的蓝星,这一世他将不再留有遗憾,有怨报怨,有仇报仇! 修仙之路也将更加势不可挡!煮夫是个大纲废、取名废、简介废,但是唯独文笔和构思不废,喜欢看不一样的故事就请看我的书吧,本来起纲的时候是都市纪实向或者恐怖灵异向的,结果,结果因为很多东西太敏感不能写,一不小心就涉黄涉政涉黑涉毒了,所以就只能改了,以下是我坦白的内容: 这个故事呢,大体是一个叫石羽白的“年轻人”带着自己送上门的老婆孟婆神“孟芝兰”别样的强者归来之路,也没写什么大事儿,就是破个九煞改命局、破个擒天锁地阵、再盗个太古神墓啥的,顺手暴锤一下巡天夜叉王,破解了先天十六卦之谜这种小事都不值得一提了。“我是谁?我从哪来?我要到哪去?”这亘古不变的问题困扰着少年,他望着海面脑海里一片空白,他失去全部的记忆只留下一具空白的身体,我之前是个什么样的人,是一个冒险家?是一个魔法师?是一个厨师?是一个建筑师?是一个酿酒师?是一个农民?是一个工人?是一个商人?是人人称赞的好人?是坏事做尽的恶人?是平平无奇的市民?无数的疑惑压在少年的心上,幽幽中一个声音传来,“去篱下院吧,那里有你需要的答案。”于是少年踏上寻找自我的旅程,在路上他会遇到什么样的冒险呢?又会遇上什么样的人?修为被废,丹田被毁,李羽仙成了人人口中的废物,被宗门丢到思过崖面壁,这时系统觉醒,重塑丹田。 百年后,天道榜第一名赫然成为了李羽仙。 魏和平在迷茫中穿越到了平行世界,无意中发现了系统的存在,他该勇往直前,还是猥琐发育,我决定要安全的浪。十十八年前,他——凌晨降生在了这个世界上,十十八年后,他已有了七大将之首的称号,一次次的外敌入侵,一次次的武功打斗,他能否与其余六将,一同成为武道巅峰这一切都是多么现实……走得完的是自己生命的道路,走不完的是别人乃至社会的套路……
信息安全产品eal3等级认证,-1 网路营销微观环境 信息安全产品eal3等级认证,-1 网站制作 网络推广 it信息安全做什么 中国信息安全标准体系建设 闸北区网站制作 基于网络品牌社群的营销战略——以北京小米科技有限责任公司为例深圳哪家网站建设好 国家网络安全周 文件学习 联想网络安全客户端 冤亲债主干扰的根源是什么?咨询【www.richdady.cn】 前世今生的故事是真的吗?【www.richdady.cn】 大龄剩女的婚恋建议有哪些?咨询【www.richdady.cn】 无形干扰的案例分享咨询【www.richdady.cn】 家庭关系咨询咨询【www.richdady.cn】 感情纠纷的咨询技巧咨询【www.richdady.cn】√转ihbwel 大龄剩女的职场发展咨询【σσЗ8З55О88О√转ihbwel 家宅磁场咨询【σσЗ8З55О88О√转ihbwel 耳鸣的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的超度与心灵净化咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 祖灵对家族的影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 耳鸣的环境影响【企鹅383550880】√转ihbwel 营养不良导致的头脑混沌咨询【σσЗ8З55О88О√转ihbwel 如何了解自己的前世今生?咨询【企鹅383550880】√转ihbwel 官司的法律咨询【www.richdady.cn】√转ihbwel 有官司的自我保护咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与女友前世的因果关系咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 学习成绩差咨询【微:qq383550880 】√转ihbwel 与男友前世的前世修行咨询【σσЗ8З55О88О√转ihbwel 大龄剩女的婚恋心态威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 信息安全博士论坛 网络安全的攻击报告 基于网络品牌社群的营销战略——以北京小米科技有限责任公司为例深圳哪家网站建设好 网站建设合同 上海网站建设联 济南建网站 响应式网站案例 禅城区响应式网站 重庆网站 中国信息安全标准体系建设 网上营销有哪些网站费用单 网站建设公司的业务范围 信息安全论坛 第三届全国高校网络安全知识竞赛 聊城做网站 信息安全培训记录,-1 高端汽车网站建设 禅城区响应式网站 信息安全产品eal3等级认证,-1 天津企业网站建设 信息安全的实现有哪些主要技术措施,-1 网站未收录 网络安全攻防书籍 网络营销服务包括什么区别 网络安全威胁中断 网站制作 网络推广 人物营销 手机网站设计 网络安全的攻击报告 网站定制 天津 郑州微网站 上海营销 上海网站建设联 信息安全的实现有哪些主要技术措施,-1 播客营销 美国网络安全框架 启动 唐山网站托管 小米的客服中心提供了怎样的服务?哪些与网络营销有关? 办公室信息安全管理 全网推广整合营销 娃哈哈营销策划主题 常用网络营销推广思路 信息安全规划 网站建设合同 在线营销型网站 广州 深圳 外贸网站建设 根据国家网络安全 web安全和网络信息安全南宁做网站 采用邮件营销企业 网路营销以什么为基础 专业开发网站公司 网络安全攻防书籍 企业网站建设cms 网路营销微观环境 医疗营销网 建大网站 建大网站 信息安全规划 段子 网络营销 专业开发网站公司 根据国家网络安全 网络营销计划书怎么做 人物营销 娃哈哈营销策划主题 信息安全会议文件 网络信息安全学科 网络安全主要解决问题 昆明做网站哪家好 医疗营销网 正规的网站建设 天津企业网站建设 禅城区建网站公司 如何成为顶级信息安全 简述黑客攻击与网络安全的关系 长春网络安全培训班 网络安全主要解决问题 武汉网站设计公司 web安全和网络信息安全南宁做网站 网络安全的攻击报告 网站制作 网络推广 昆明做网站哪家好 广州 深圳 外贸网站建设 崇左网站建设 采用邮件营销企业 常用网络营销推广思路 美国 网络安全机构 郑州网络安全审核 东莞做网站 东莞做网站 网路营销微观环境 闵行做网站 信息安全守则 信息安全预警分级 信息安全规划 网络安全部署情况 长春网络安全培训班 手机网站设计 长春网站优化公司 天津网站设计开发 网络营销服务包括什么区别 信息安全的实现有哪些主要技术措施,-1 信息安全会议文件 美国 网络安全机构 唐山网站托管 营销型企业网站建设教案 电商购物网站建设 上海营销 鄂州网站制作 娃哈哈营销策划主题 游戏公众号营销 网络安全攻防书籍 未来网络安全解决方案发展趋势 在线营销型网站 闸北区网站建设 江门网站优化 信息安全产品eal3等级认证,-1 游戏公众号营销 防火墙技术在网络安全中的实际应用 闸北区网站制作 王者荣耀 网络安全 办公室信息安全管理 建大网站 网站的排版 天融信网络安全准入 网络安全攻防书籍 长春网络安全培训班 昆明做网站哪家好 寿光做网站 镇江企业网站建设 闵行做网站 四川大学网络安全专业 工控信息安全培训网 全国大学生信息安全竞赛 2015 唐山网站托管 东莞做网站