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

<a class="close" href="https://ifayancom.9401.com.cn/">&times;</a>
网络营销中的不足杭州市信息安全协会无锡建设网站制作广州营销班微博营销的作用是什么意思网络营销入门信息安全 行业新闻大学生如何维护国家信息安全2013 中国计算机网络安全年会全部ppt.zip排名好的青岛网站建设天道陨落,生命祭献,少年轮回,叙写传奇。且看,无双天骄,翻手天初,覆手天末,天临世间!这,这是传说中的齐天大圣孙悟空? 他让我过去,还要教授我无敌绝学? 还让我捅破天,大战天庭与佛界? (带修为归来,无敌+单女主+奶爸+萌娃+战斗+微搞笑+甜蜜。) 他,曾是一代雇佣兵王,后退役成为顶级杀手组织“暗暮”王牌杀手! 却不想,竟遭人算计,背叛;一番血战中,寡不敌众的他被子弹贯穿了胸膛,坠落悬崖…… 却不想,意外开启了进入天界的入口,并在机遇下获得了一部功法…… 之后,他游走于六界之内,纵横于多元宇宙之间;凌驾于天地之上,视众生灵如草芥。 纵然屠尽六界神魔,天道也奈何他不得…… 五百年后,他再度归来,却不想,此刻的他,竟有了……两个可爱的女儿?! 错了,重来…… 那纵横于多元宇宙,凌驾于天地之上的恐怖存在,摇身变成了一名……柔情奶爸! “敢欺负我女儿,定让你消失于六界之内!” “你……你到底是谁?!” “我吗?有人叫我武龙帝尊,有人叫我武龙天尊,还有人叫我混沌天帝。” “但我现在,只是一名安静的女儿奴。”  李乘风穿越到一个妖魔横行的世界,成为青城山的一个守山人。   奈何他没有灵根无法修炼,只能安安分分做一个普通人。   但是有一天,他的系统突然变异了,从此成了一个令一众妖魔闻风丧胆的得道高人……   这妖怪也太弱了,我都没有出剑呢,怎么就死了。   我养的一条狗,居然是横扫妖界的一方妖王。   我池塘里的乌龟,竟然蜕变成了洪荒神兽。   之前跟我下棋的老头子,最后竟然成仙了。   还有那个最喜欢听他吟诗作对的漂亮姐姐居然修仙界第?仙?。   知道这些真相之后,李乘风开始怀疑人生:   我该不会真成为绝世高手了吧? 故事主要讲述一个底层小兵从三国乱世中跟随曹操四处征战,与三国众多名将交手,渐渐成长为一员能够独当一面的大将。在乱世征战中主角对以后的出路慢慢产生疑问,更倾向于刘备阵营,在忠诚与背叛中,陷入挣扎与纠结。一个渴望光明的少年,身体里却埋葬着一个地狱,镇压了数十万年的地狱却因为少年心间的一丝光明开始蠢蠢欲动,“光明不该被你们染指,都说死后地狱是我们这些人的尽头,可我不信,我觉得光明才是我们最终的尽头,我们一起去做个见证如何?”言罢,少年也不顾体内的疯狂,万道光明自九幽绽放!当时代的马车要碾碎他喉咙时,他终于发出了反抗的吼声,开始与世俗争斗,与丑恶的人心争斗,与所有压迫者争斗。 他要解放思想,解开枷锁,揭开藏在最深处的阴暗。沈千军一梦醒来,回到了妻女身边。 那些让他遗憾的事情,再不会发生。 男儿能重来一次,定不负时光所托…… 成和败努力尝试 ,人若有志应该不怕迟 ,全力干要干的事; 做个真的汉子 ,人终归总要死一次; 无谓要我说道理 ,豪杰也许本疯子 ; 同做个血性男儿 ,愿到世间闯一次; 成败也不再犹豫 ,用我的真心真意; 怀着斗志向竞争的圈里追…… 生命是什么?那或是一场奔赴尘世的旅行,每个人都身处荒野,仰望着星空。渺小的一切,终将化为黄土,随风消逝。可一切存在过的,都将成为被传颂的一首赞歌。在岩浆中泡澡,在上古杀阵中睡觉; 开着重型装甲车纵横异界; 乘着高达战警和哥斯拉斩仙弑佛…… 搞了个属性值系统,从此加点只加防御! 没办法,怕痛啊!异界的大罗金仙都好凶的,个个都会大威天龙,每天都开小会研究怎么破我的防。 咱也不知道他们为啥这么执着……
信息安全产业体系 珠海动态网站制作外包 第三方网络安全资质 全网营销产品套餐 网络安全处罚 团队营销案例 网站收录多少才有排名 全国网络安全大会 cn网站建设多少钱 网络安全法工控安全 前世今生测试在线【www.richdady.cn】 冤亲债主干扰咨询【www.richdady.cn】 事业不顺的心态如何调整?咨询【www.richdady.cn】 大龄剩女的情感生活如何改善?咨询【www.richdady.cn】 自闭症的案例分享【www.richdady.cn】 去世的母亲的去向解析咨询【σσЗ8З55О88О√转ihbwel 3. 情感与心理咨询咨询【σσЗ8З55О88О√转ihbwel 前世缘份的前世故事【企鹅383550880】√转ihbwel 耳鸣的原因分析咨询【www.richdady.cn】√转ihbwel 儿子不读书的教育建议咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的共同成长【www.richdady.cn】√转ihbwel 外灵的预防措施咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老公的前世影响【σσЗ8З55О88О√转ihbwel 干扰的自我感知方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 人际关系不好的解决方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的父亲的前世案例【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵咨询【σσЗ8З55О88О√转ihbwel 亲子关系的教育策略【www.richdady.cn】√转ihbwel 事业不顺的原因有哪些?【www.richdady.cn】√转ihbwel 情感心理咨询在线咨询【www.richdady.cn】√转ihbwel 网络营销推广渠道包括哪些方面 信息安全等级保护综合管理系统 网络营销策划书的撰写 网络推广营销招聘 无锡建设网站制作 个人教学网络营销 沈阳建设公司网站 网络攻击对信息安全的主要影响中国中央网络安全 b2b网络推广营销 电子邮件营销是指什么地方 北京网站设计制作 日本在哪一年组建了政府网络安全中心 网络安全安全大会 禅城区响应式网站 盐城网站制作 网络安全服务机构资质 信息安全 行业新闻 网站首屏 网络安全主要涉及哪三方面 美团网营销内容 营销培训费用 网站的重要性 网络安全侦察 无线网营销 网络营销中的不足 南宁做网站 计算机网络安全实验报告 昆明网站制作 已有域名 搭建网站 网络营销入门 广州网站制作公司 个人网站建设 免费 优质公司网站 沈阳建设公司网站 国内信息安全问题 厦门网站排名优化软件 信息安全专业考证吗 信息安全产业体系 网站建设总结 dsp营销 网络安全专委会 网站建设总结 网络安全宣传页 全国信息安全大会 2014 重庆互联网营销网络安全人员能力认证技术类专业级教材 武汉专业网站建设 体验营销中的关联体验 广州网站制作公司 中国网络安全防护 湖南 信息安全公司排名 地方门户网站建设 功能营销 企业网络安全系统 Ios网络安全 成交率营销 高校网络安全评估报告 已有域名 搭建网站 营销机构 上海建设网站制作 cn网站建设多少钱 创建个人网站 数据信息安全 有关网络安全的logo 网络与信息安全系统工程师 网站建设公司浩森宇特 台山网站建设 番禺网站 中国网络安全防护 南昌网站优化 网络安全主要涉及哪三方面 沈阳建设公司网站 唐山做网站公司 营销4p的优缺点 优质公司网站 信息安全新法规 个人教学网络营销 网络与信息安全系统工程师 网络安全防护公司 厦门网站排名优化软件 bswifi网络安全管理 信息安全认证技术有限公司 中国的网络安全威胁 网络安全专委会 西宁网站 网络安全编程与实践 pdf 信息安全技术信息系统等级保护安全设计技术要求,-1 网络营销推广渠道包括哪些方面 国家信息安全局待遇 信息安全管理人员 国标 互联网营销 国内 国外 上海市公安局网络安全 沈阳建设公司网站 上海信息安全技术支持中心有限公司 做网站资讯 2017网络信息安全形势 建网站费用 南宁做网站 创建个人网站 pc网站增加手机站邢台建一个网站多少钱 信息安全认证技术有限公司 山西网站制作公司哪家好 公安部 网络安全 415 信息安全 管理需求 技术需求 信息网络安全ppt 山西网站设计 国家信息安全等级认证证书 网站建设品 营销型企业网站 网络安全主要涉及哪三方面 信息安全高校 禅城区响应式网站 金融信息安全研讨会 网站建设总结 搜索引擎营销策略分析报告 b2b网络推广营销 昆明网站制作 互联网营销 国内 国外 武昌手机网站 网站规划与网站建设 营销邮件费用 自学营销 网站首屏 国内信息安全问题 企业网络与信息安全 北京邮电大学 信息安全 澳洲信息安全公司 网站定制与模板开发 国家工业信息安全中心 大数据网络信息安全 有关网络安全的logo 高校网络安全评估报告 网站建设总结 保持和改进信息安全的体系是一个组织整体管理体系的一部分. 个人教学网络营销 南阳营销策划 优帮云