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

<a class="close" href="https://ixiaoshuaicom.xozu.cn/">&times;</a>
信息网络安全管理协会鹰潭网站建设知名的网站建设关于公司的网站设计专业企业网站建设公司国际信息安全中心佛山网站制作国际信息安全中心无锡网站建设医疗大数据信息安全,-1重生东汉,觉醒菜鸟系统 哪知这个系统与宿主性格不合,下一秒系统直接造反,竟化身成为 最强帝王系统附身他人身上。 誓要与昭昊死磕到底。 从此,昭昊的漫漫三国路变得艰险无比。 为了找出隐藏在背后下黑手的系统,昭昊开启了他漫长的背刺生涯。 凡是有资格成为的帝王的人,都成为了他背刺的目标。 吕布:我此次前往雁门,是为杀了昭昊小儿,以报夺妻之仇。 昭昊:什么,昭昊小儿竟然如此卑鄙,兄长放心,辽与你同去,定斩下昭昊小儿人头以泄兄长心头之恨。 当晚二人把酒言欢,酒后,昭昊将匕首一把刺进吕布的心窝。 昭昊:“兄长,看来你不是系统附身之人。” 董卓祸乱朝纲。 曹操:“董贼不除,我大汉四百年基业岌岌可危,子阳,今晚你我二人就潜入相府,斩杀国贼董卓,还天下一个朗朗乾坤。” 昭昊:“就依孟德之言。” 当晚,二人潜入相府,曹操拿着七星宝刀一步步朝熟睡的董卓逼近,而他的背后,昭昊正手持匕首对准他的心窝。 正人君子赵高穿越到玄冥大陆,获得为所欲为系统,八十好感度有概率获得对方十分之一修为,九十好感度可开启为所欲为模式,满百好感度可无忧为所欲为! 别人升级靠修炼,赵高升级靠攻略,万物皆可攻略! 夫人,你也不想被我攻略后为所欲为,无法反抗吧!桀桀桀... ...... 异界门票不是爆史诗的吗?这奶罐、破面具、烤羊腿...是什么意思? 赵高看着每次从异界得到的一推破乱玩意儿陷入沉思。 ...... “三十年河东,三十年河西,莫欺少年...啊~” 赵高:小林,快,把那个喊三十年的给我带过来,别让人打死了。 ...... 大哥你好,我姓韩,在家排第六,你可以叫我小韩... 赵高,猝!...你个老六,我真是服了你了!别让我再碰到你! ...... “我为宗门流过血,我为宗门立过攻...你们不能这么对我...” 赵高:这小白怎么这么胆小?上古之战后二十二年,九嵩山上忽然亮起两道玄光,上古三贤赶去察看,却因“天之殇”先后陨落,九牧苍穹出现裂痕,域外天魔将要入侵荼毒,幸有男主人公“万千星辰主、多情时空人”天上追寻神兵至此,以天之力将天魔挡在九牧之外,自己却因重伤从九天银河坠落。可天魔没有就此罢休,不久后,因为一次偶然机会,“乱天之战”提前拉开序幕…… 天上重伤坠落,性命如何?天魔很辣无情,多灾多难的九牧谁来拯救?天魔功法与九牧九道,谁更胜一筹?无情道,多情道,将会有怎样的巅峰对决?九牧要如何还道清明?雪上情缘因何而起又情归何处?芸芸众生如何逆天寻缘?前尘往事,一切种种,尽在《雪上情缘》!一场惊世浩劫袭击了蔚蓝的蓝星,一场奇异的宇宙辐射风暴袭击了地球,让地球上的生灵发生了不可名状的变化,短短数年地球百分之五十的生灵遭到了毁灭性打击,在灾变的浪潮之中,无论是人还是动物、植物都不得幸免,皆因辐射重组DNA,让生物体发生了巨大的变异,幸存科学家们将灾变的生物称为“灾厄异种”,将这一场浩劫称为“灾厄狂潮”。世界树开始复苏,天地即将重新连接,神族即将降临人间,是阻止还是帮助,是弑神还是共存,有正就有邪,有神就有魔,一个新的变化就会引起一连串的其他变化,人族该如何抉择,易行又该如何抉择,这一切似乎都早有定数。叶凡上一世的仙王老婆重生归来,找到叶凡带他走上修仙路。 斩魔帝,斗五宗,破天穹,打开仙路,直杀天穹,带领全民修仙。 我的时代谁敢称无敌!上来一战! 以双修正道!玄界有一个没有人知道的秘密,只要找到七颗神树,便可达到传说的境界。 云陌州一个小家族的年轻一辈林秦突然被叫去后山拜师。 这个少年一路上会遇到多么精彩的世界。 异世重生,命运多舛。 在家族利益中被驱逐,在万族大乱中求生存。 拥有一颗强者之心,老天却总跟他开玩笑,无法修炼灵力。 终以剑入修,走出剑仙之道。[纷扰如迷雾,逍遥且徐行] 入梦方醒,方觉大道维艰。从小世界意识回归醒来的大光头,抬手摸着自己脑瓜低吟着“无量天尊。” 看着身边传讯符,回忆着这次化身从婴儿到意气少年,又度过颠簸抗争的青年路程,往后便好似不记得自己有过壮年中年似的,回首时已在疑惑困顿中到了老年。 化身一生寂寥糊涂过,只留下一首连通顺都算不得的唯有悔恨的“一年一岁婴至此,一时一秒得与失。稻草压身抵千斤,默然回首如何持。神杂性善恶七情己,人和人白白入灰多。己识多实错分年,霎那蹉跎七十婴。” 又有那好似从老年到青年活着的感慨:“何所思何所愚何所怠,七十婴五十少三十明。天色长空人自老,道存事存时不存,上下空有物竞乾坤灭,事合人思万中无一寻。谁家孩儿拿那炮竹当烟花鸣一曲,潜游无欲无求后同求不在求呢。苦无一用怎是迷生。” 不就是投了个好胎吗?有什么了不起的! 嗯嗯,真香! 出行保镖有多点,没有什么大问题!你看那遥远的星域,我家的! 兄弟,跟我混,包吃包住, 一天饿九顿!
针对用户面临的电子邮件安全威胁设计一套完整的网络安全解决方案 专题网站建设策划 2017网络安全技术 虹口专业做网站 网络安全方面证书 网站建设收费标准报价 陕西信息安全管理中心 信息安全的指标 国内做网络安全的公司 速卖通如何营销 忧郁症的自我提升【www.richdady.cn】 官司的法律咨询咨询【www.richdady.cn】 失业期间的心理调适方法【www.richdady.cn】 阴间生活的前世缘分【www.richdady.cn】 无形干扰的前世因果【www.richdady.cn】 意外事故的应急处理方法咨询【企鹅383550880】√转ihbwel 儿子不读书的前世记忆【www.richdady.cn】√转ihbwel 冤亲债主干扰的根源是什么?【企鹅383550880】√转ihbwel 头脑混沌的原因分析【σσЗ8З55О88О√转ihbwel 财运不佳的财富增长咨询【σσЗ8З55О88О√转ihbwel 前世缘份的故事如何改变命运?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与女友前世的前世解析咨询【σσЗ8З55О88О√转ihbwel 感情纠纷的情感调解技巧有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 迟缓儿的案例分享咨询【微:qq383550880 】√转ihbwel 大龄剩女的婚恋故事咨询【微:qq383550880 】√转ihbwel 婴灵的安抚有哪些技巧?【企鹅383550880】√转ihbwel 人际关系不好的环境影响【www.richdady.cn】√转ihbwel 心特别累的前世记忆咨询【企鹅383550880】√转ihbwel 如何应对突然失业的情况咨询【σσЗ8З55О88О√转ihbwel 有官司的前世因果咨询【www.richdady.cn】√转ihbwel 网站建设品牌推荐 信息安全事件趋势分析 湛江有帮公司做网站 信息安全等级保护... 重庆网站开发公 网站设计实例 天津信息安全比赛 信息安全迫与破 谷安天下 信息安全意识 信息技术与信息安全 常见的网络攻击类型有 新媒体营销成功案例ppt模板 web信息安全 上海学校南宁网站公司 信息安全自学网 网络安全周启动 哪家能做? 网络营销整体宣传方案设计 乐清英文网站建设 房地产网络营销 电子产品商务网站模板 金融业银行信息安全 天津网站设计 营销词组 公司网站的专题策划 信息安全自学网 测试内容不属于网络安全测评的是 简述网络营销特点 电子产品商务网站模板 专题网站建设策划 网络营销人员能力 湖南微网站营销 信息安全迫与破 时代营销网 如何用网络营销的方法有哪些方法有哪些方法有哪些内容 信息技术与信息安全 常见的网络攻击类型有 网上营销环境 中央网络安全和信息化领导小组 工信部 深圳制作网站公司 潍坊+网站建设 网络和营销策略 杭州网站设计公司有哪些 晋江网站建设 广东省网站建设 wifi网络安全问题 网络安全漏洞报告 网络推广网络营销软件公司 新闻稿营销 网站型营销什么是营销方法 互联网营销 培训大师 网络营销整体宣传方案设计 信息安全 东盟,-1 陕西信息安全管理中心 专业网络营销整合服务商 本届国家网络安全宣传 知名的网站建设 信息安全简称 不属于微博营销特点 线条类网站 营销型网站报价 网络安全审计平台 网络安全周启动 哪家能做? 营销 网 速卖通如何营销 佛山做外贸网站的公司 2014年中国计算机网络安全年会日前在广东( )召开 南京网站建设公司网络安全管理员 证书 新华三网络安全认证 营销软文范例 酸奶网络营销 NSACE网络安全工程师 触屏网站 谷安天下 信息安全意识 营销型网站功能表 网站内连接 天津网站设计 信息安全等级保护... 深圳制作网站公司 速卖通如何营销 网络安全 效率 触屏网站 微网站后台 金融业银行信息安全 上海网络安全周 网上营销环境 虹口专业做网站 银监 信息安全 手机网站自助建 云营销电力信息系统信息安全检查规范 信息安全简称 重庆整合营销哪里好 营销软文范例 专业企业网站建设公司 针对用户面临的电子邮件安全威胁设计一套完整的网络安全解决方案 佛山网站制作 香港 网络安全 网站建设如何提高转化率 北京旅游型网站建设企业展示型网站怎么建 信息安全 东盟,-1 信息安全创业女生 长沙做网站公司 国家信息安全等级保护网 网站建设平台 测试内容不属于网络安全测评的是 信息安全自学网 信息安全定级指南 西安网站优化 营销案例分析范例 网络安全高级编程技术 网络安全高级编程技术 香港 网络安全 国家信息安全规定 测试内容不属于网络安全测评的是 网站设计实例 网络信息安全通知 营销词组 免费设立网站 2017信息安全的未来,-1 潍坊+网站建设 网络安全设备运行状态 简述网络营销特点 云营销电力信息系统信息安全检查规范 东莞 建网站 长沙做网站公司 第九届亚太区信息安全secureasia大会 中国计算机学会 信息安全的指标 天津信息安全比赛 医疗大数据信息安全,-1 东莞制作网站 线条类网站 上海网络安全周 网络营销能力秀的文章 酸奶网络营销 时代营销网 网络安全漏洞报告 专题网站建设策划 青岛网站建设迅优 国家信息安全中心举报,-1