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

<a class="close" href="https://bi6f3el.1200.net.cn/">&times;</a>
企业网络安全报告重庆的网站建设公司邢台网站制作哪家强微网站建设包括哪些方面国外信息安全博士许可email营销的工具html5 网站网络安全领导访谈上饶做网站营销 老师个人信息安全保护研究意义启国二百三十年,老皇仙逝,幼皇继位,别有用心者趁势而起,挟天子令群雄,打压修真门派,烂杀无辜,修真界中人人自危...... 懦弱、胆小、霸凌是我经常遇见的,为了改变我努力习武,日复一日年复一年,坚持与毅力共存知行合一。做一件事要认认真真的去完成,你要做到一往无前,不畏艰险打破一切困难! 且看怂包少年偶得系统开启武学之路拳震八方,成就无双威名! 人类进入超文明时代,普通人可以通过时空机器穿越各种世界。 你想去另一个世界,一定是想去这个世界享福的。 你想在玄幻世界当大神,你想在科幻世界当机甲战神,你想在都市世界当首富,你想在古代世界拥有三妻四妾。 满足这些必须要有一个前提,你得有一个系统。 千万文明,世界琳琅满目,系统也不能一成不变。 所以,超文明的世界里,有系统策划师,还有系统测试员。 系统策划负责系统的设定、触发条件等。而系统测试员则是提前进入相关文明,进行测试,主要测试系统可用度,爽感指数等指标。 经过系统测试员测试过的系统才能正式使用。 李友是一名系统测试员,他勤恳能干,但和他对标的系统策划,脑袋有个坑…… 为了迎合他,我练手练了半年多,孩子和生病的老妈都没大照顾。没想到,他打勾级是那种打法。木易忿忿地说。她那双桃花眼里好像突然间水就蓄满了,随时都可能溢出来似的。 怎么个打法?水弯好奇地问。 无邪少女!木易用手轻轻点了一下水湾的额头,情绪也平静了少许,双眼里的蓄水也明显下降了很多。 秦虺听到木易的话,噗嗤,忍不住就笑了。他和岳一轮终于明白木易的同事怎么突然间就能李代桃僵,领先木易无数个身位,成了陈教授的博士生。【诸善奉行,诸恶莫作,自净其意】 爷爷的笔记,让南生对熟悉的世界感到陌生。世间万物,周而复始;盛衰之源,宿命轮回。数百万年后,地球因资源枯竭引发大战,让曾经的大洲、大洋变成了一块荒凉的大陆,绝大部分陆地在战争中沉入海洋,本以为地球将文明会因此消失在宇宙历史之中,不曾想因上古大战导致外泄的地球内核能量,却奇迹般的让地球生命得以进化。十万年之后,曾经满目疮痍的土地再次以无比宽大的胸襟重新接纳人类。当然也不止是人类……刀锋和他的兄弟在一起的奇妙之旅,是多么危险和幽默.注意,本小说是转载并且在续写,我QQ3390896387,被转载人的QQ1664140337。段白云生来无缘仙道。 一句谣言,一朝灭门。 流落到云峰大陆的段白云机缘巧合开启了修仙之路。 他拿着万众执念的东西重回天洲,又将那东西摔落泥泞。 段白云:我就要以我废材之名告诉他们,不是什么人都能够飞升成神!和平安宁的世界被一场突如其来的盛大流星雨给彻底打破了。 丧尸、变异生物、来历不明的病毒席卷了全球。 二十二个塔罗教悄然出世,身蕴龙脉的华夏大地吐出了龙息。 这究竟是一场被精心策划的闹剧还是一次没有挽回余地的终末之诗? “嘿,听着。”唐南故的眼神里充满了坚毅。 黑色如鳞片的角质层如铠甲一般覆盖了身体的每个角落, 无数的红色丝线从左手争先恐后地钻出,飞快地凝聚出刀锋的雏形。 右手同样被坚硬的麟甲包裹,只是紧紧地握着腰间的一柄刀鞘漆黑的长刀。 神圣的金光从胸膛处喷涌而出,黑色的身躯被镀上了一层闪耀的光辉,此时的他就如同一位被圣光笼罩的黑暗骑士,矛盾却不违和。 来自远古的气息从他的身上散发出来,就连周围的草木都为之颤抖。 “在这个末世里,”他将深蓝神秘的刀刃从刀鞘中拔出,在空气中划出完美的弧线。 “我可是横着走的啊!”“快来扶人!”无数人来这里“快打120!”“歪?120吗?快来这里有人出车祸了!”“歪110吗,这里有人出车祸了!”地上躺了个刚出车祸的人,在周围围了无数的群众,有人帮忙的有120、110的… “我这是死了吗?天堂还真别致呢!”“村长,他醒了,他醒了,一个女孩叫着旁边的一个大叔,小伙子你醒了?”“这是哪里?” “这是…”没等村长说完,又昏了过去… “你醒了?你还真是命大啊,车那么快你都能活下来,真是命大,不过你这辈子可能废了…”“我刚才做了一个好奇怪的梦,看见许多的,没见过的东西…”“这很正常,人要死了啥都能梦见,也说明你命好,捡回来一条命。”… “这不是梦境!” “我只是半滴血?和一缕残魂?” 单女主,但暂时没想好叫啥名。
全国计算机网络安全 海峡信息网络安全厂家 信息系统运营使用单位的信息安全等级保护工作情况进行检查 信息安全五个等级 网络安全人员评估法案 怎么做自己的网站? 网络安全管理的意见 个人信息安全保护研究意义 网络安全法 重点 企业成功营销策略案例 为什么过世的前世因果【www.richdady.cn】 家庭关系中的矛盾如何解决?咨询【www.richdady.cn】 处理感情纠纷的方法【www.richdady.cn】 为什么过世的心理调适咨询【www.richdady.cn】 发育倒退的案例分享【www.richdady.cn】 婴灵的安抚有哪些技巧?【σσЗ8З55О88О√转ihbwel 公司破产的后续规划【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主的干扰与解脱咨询【企鹅383550880】√转ihbwel 营养不良导致的头脑混沌【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的风水调整咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的修行建议威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的再次相遇【www.richdady.cn】√转ihbwel 性压抑的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的原因有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的理财技巧【www.richdady.cn】√转ihbwel 灵魂治疗与心理辅导【www.richdady.cn】√转ihbwel 孩子不爱读书的家庭教育方法有哪些?【σσЗ8З55О88О√转ihbwel 前世缘份的化解方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 发育倒退的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 广州的服装网站建设 网络安全.信息安全 长沙网站公司 上海网络安全局 网络安全服务提供的五个基本功能 信息安全管理与相关技术 网络安全应急响应机制 营销的概念 网站建设常州 信息安全措施可分为 免费足网站 企业信息安全保护的重要性 创新的手机网站建设 端午节微博营销 网络安全人员评估法案 信息安全五个等级 浙江网络安全论坛 制作网站报价 中国信息安全专家 海南网站制作 网络安全服务提供的五个基本功能 信息安全管理与相关技术 网络安全应急响应机制 营销的概念 网站建设常州 信息安全措施可分为 免费足网站 企业信息安全保护的重要性 创新的手机网站建设 端午节微博营销 怎么看待网络安全 星巴克的微博营销微营销好处 大连营销外包公司 国外的app设计网站 海南网站制作 网站制作公司成都 无线网络安全网关 网络营销网站建设实训 上海高端建站网站 互联网 与传统营销区别是什么意思 建网站怎么上线 全国计算机网络安全 支付宝全网营销软件破解版 星巴克的微博营销微营销好处 网站制作帐户设置 深圳 信息安全 网络安全关注的问题有哪些 网络安全服务提供的五个基本功能 中央信息安全学院,-1 网络安全技术视频教程 信息安全测评等级划分 原型图网站 免费网站注册永久 网络营销模式有几种 网络安全产品有哪些代制作网站 支付宝全网营销软件破解版 企业网站程序 重庆网络营销代理 海南网站制作 信息系统运营使用单位的信息安全等级保护工作情况进行检查 网络与信息安全有哪些 wpa个人2网络安全密钥是什么 公司营销效果 网络安全人员评估法案 php 网络安全 全国网络安全竞赛 网络安全动画 微网站建设包括哪些方面 路由器网络安全 南通网站制作外包 网络安全技术视频教程 建微网站 宁德网站建设 不属于营销战略4p的 网站设计样式 大连营销外包公司 html5 网站 中央信息安全学院,-1 信息系统运营使用单位的信息安全等级保护工作情况进行检查 广州的服装网站建设 有设计感的网站 郑州最好的网站建设 长沙网站公司 上海高端建站网站 涿州做网站 衡阳做网站 珠海集团网站建设外包 网站设计样式 网络安全技术的选择 大连做网站每周网络安全 信息安全 将密钥层次由高到低排序 信息安全形势 布吉网站建设 企业网络安全管理 互联网是网络的网络营销 路由器网络安全 签名档营销 微网站页面 网络安全 规程 大连模板网站制作公司电话 工信部网站备案 深圳网站设计平台 怎么看待网络安全 营销的概念 怎么提高网络安全意识 经典新媒体营销案例 课程商城网站模板 网络安全国际认证证书 全国网络安全信息大会 重庆南川网站制作公司哪家专业 信息安全形势 网站用橙色 网络安全检测方案 网站制作 深圳信科网络 网站制作 价格 机关信息安全服务主要有 济南外贸网站建设公司 瑞星网络安全预警系统 网络安全管理的意见 课程商城网站模板 国外的app设计网站 五级网络安全 最流行的网站设计风格 营销必修课 相关搜索网络整合营销 大学信息安全例子 全国计算机网络安全 工信部网站备案 网络营销实验二 我想做个网站 公司网站非响应式 顺的网站建设咨询 北京网站建设报价 小龙虾网络营销方案 网站制作 深圳信科网络