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

<a class="close" href="https://w6tvpqo.duqo.cn/">&times;</a>
华为 信息安全 代码网络安全防护的工作原则网站网页制作机构信息安全哪个部门,-1网络安全开源代码餐厅网络营销论坛如何做病毒营销方案无锡做网站要多少钱我国网络安全事件网络营销售后服务小米陈阳穿越到了高武世界,获得了一个能查看人生剧本的系统! 这人生剧本,能预知人未来,查看命格,甚至连对方的最近机缘都一目了然! “绝世机遇!?不好意思,我先收为敬!” 三流的主角等机缘。 二流的主角找机缘! 而陈阳:机缘在哪,我就在哪! 热血的战争,痛苦的坎坷。 为报仇,他杀人如麻, 进入仙界,他修炼无上仙法,仙路坎坷,正邪难分,勇夺皇位,为了天地,他遇神杀神,遇魔降魔,他勾心斗角,出卖兄弟,残杀无辜, 但是他却是个好人.......简介:光明与黑暗,烈火与寒冰,在这个混沌的世界之中。 一个无名少年的出世,搅动乾坤,颠覆世界。 亲情、友情、爱情、勇气、冒险。 在少年的身上逐渐显现,直到冰与火的对决。 羽化飞升的周蒙没有成仙,却穿越来到了灵川大陆,灵魂附身在一个孱弱的少年身上。   人类是灵川大陆唯一无法炼气的生物,也是灵川大陆食物链的最低端的存在,还是众多兽族的口粮。   周蒙带着一身蓝星道法穿越,意外找到了人类修炼的法门。自身强化的同时还利用蓝星道法增强人类,居然能够使人族拥有无上实力。   周蒙以凡人之躯加冕人皇,带领人族崛起。   狼族:“区区人族而已,犹如蝼蚁,小指头足以捏死!”   狐族:“什么时候人类也能称之为威胁了?”   树族:“狗屁人类,我一巴掌一个好吧!”   人族开启修炼之旅,全员恶人之后。   狼族:“人族大佬们饶命,我愿意终生为人族当狗!”   狐族:“人类决不能留!”   蜥族:“啊?我蜥族被人族一巴掌一个了?”   扫清一干种族,成就万古人皇!!【秦时+高武+争霸+无女主】 穿越大秦世界, 赵钰发觉,自己的身世并不简单。 生父成谜,母亲又遭罗网追杀, 家中藏的宝盒,居然是苍龙七宿 就连街边救助的老黄头,都自称道家祖师爷! 懵懂中,赵钰入江湖,上庙堂。 平定六国,收服百家,消灭罗网,击杀胡亥…… 多年后,当赵钰登基,被世人唤做千古一帝,俯瞰天下时, 他骤然发现,整个天下,已经被他打造成自己喜欢的模样! 【架空历史,部分时间线有所变动,考究党误杠!】一觉醒来,觉醒远古的记忆,从此吴道平凡的人生走向不凡,踏上无尽的征途…………异界的国度妖魔苏醒,那里即将面临生死劫难,轩辕庄就是摆脱生死劫难的寄托。轩辕庄自己在非凡经历得以砥砺成长。上古时代,天地混乱,一代天骄诞生于此,为承担自己所应承担的责任,我也保护自己想要保护的人而努力奋斗的修炼人间难有清醒客,你我都是世俗人。在不断成长的过程中,观遍世界奇事,尝尽人生苦甜,才发现自己只是你的一枚棋子,可是这又有什么关系呢,你天生就该是这世界的主角,我会变强一直陪着你……让我毁灭这一切后才发现,原来是我误会了这一切,我该如何挽回这一切。
高端网站 昆明云南微网站建设 营销词组 云南昆明网站建设 宁波信息网络安全报警网站 网上营销渠道有哪些. 生态型网络营销 网络安全认证考试 信息安全保护等级划分 企业信息安全制度,-1 “缺心眼”对人际交往的影响【www.richdady.cn】 前世缘份的化解方法咨询【www.richdady.cn】 性压抑的前世因果【www.richdady.cn】 婚姻生活不顺的心理调适咨询【www.richdady.cn】 过世前可能出现的征兆【www.richdady.cn】 脑部不清晰与生活习惯的关系咨询【www.richdady.cn】√转ihbwel 事业不顺的风水布局【企鹅383550880】√转ihbwel 学习成绩差的自我提升咨询【www.richdady.cn】√转ihbwel 官司的自我保护【www.richdady.cn】√转ihbwel 与女友前世的因果关系咨询【微:qq383550880 】√转ihbwel 强迫症的环境影响咨询【微:qq383550880 】√转ihbwel 大龄剩女的改运方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 人际关系不好【企鹅383550880】√转ihbwel 老公家暴的法律咨询【σσЗ8З55О88О√转ihbwel 如何识别冤亲债主咨询【企鹅383550880】√转ihbwel 老公家暴的原因分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 暗恋的案例分享咨询【企鹅383550880】√转ihbwel 内心恐惧胆怯的案例分享【微:qq383550880 】√转ihbwel 前世今生的故事解析【微:qq383550880 】√转ihbwel 与公婆前世的影响分析【企鹅383550880】√转ihbwel 上海 信息安全 企业,-1 不属于微博营销特点 网站推广途径 网络营销售后服务小米 网站与后台 计算机网络安全是指保护计算机网络系统中的硬件( )和数据资源 网络安全身份验证功能有什么用途 信息安全哪个部门,-1 网络安全等级最高 深圳北网站建设 卫龙网络营销方案 建湖网站优化公司 移动信息安全总结报告,-1 中文网站模板网络安全控制层次 信息安全专业最牛导师 信息安全的发展与风险管理 ppt o2o营销 衡水专业网站建设公司 营销推广的目的 国家金融信息安全 中文域名怎样绑定网站 威海网站制作 国际信息安全中心 东莞网站建设定制 宁波信息网络安全报警网站 厦门做网站公司 东营专业网站建设 厦门做网站公司 网络安全技术比较 信息系统 信息安全风险评估报告格式 网络安全日实施 网络和营销策略 国际 网络安全竞赛 建一个网站需要做什么的 网络营销能力秀的文章 如何保护自己的信息安全在网络上 网站的后期维护工作一般做什么 第七届电信和互联网行业网络安全年会 昆山设计网站的公司 小米4p营销策略 开设信息安全大学名单 b2c网站开发公司 信息安全从业 网站的后期维护工作一般做什么 呼伦贝尔网站建设 网站和域名 信息安全的产业联盟 企业网站合同 第三方外贸b2b电子商务平台网络营销所存在的问题与对策 营销推广的目的 公安信息网络安全 重庆大足网站制作公司哪家专业 信息安全服务资质 hp 网络安全犯罪都有哪些 营销词组 内蒙古网站建设 电力行业信息安全等级保护测评中心 网络安全防护的工作原则 网络营销实训ppt模板 鹤岗网站建设 宁波信息网络安全报警网站 昆山设计网站的公司 网站类型案例 网站建站 seo 微信营销新闻airbnb的营销 建网站报价 如何保护自己的信息安全在网络上 网站推广途径 信息安全 培训 软文的营销 网络营销整体宣传方案设计 网站网页制作机构 网站设计学习 国际 网络安全竞赛 英语营销邮件信息安全 管理 手册 信息安全 培训 国家网络安全管理办法 2017 上海 网络安全周 我国网络安全事件 信息系统 信息安全风险评估报告格式 内蒙古网站建设 动效网站 网络安全统一管控 昆明云南微网站建设 怎么做营销型网站设计 生态型网络营销 南京网站建设公司 青岛网站建设 网络安全技术比较 国家金融信息安全 华为 信息安全 代码 网络营销微观环境包括 网络和营销策略 网络营销整体宣传方案设计 信息安全专业的课程 上海 信息安全 企业,-1 网站建设技术团队有多重要 昆明网站建设首选 国家信息安全漏洞通报 衡水专业网站建设公司 信息安全等级评估中心 学网络营销要带电脑吗 南宁网站建设7make 东莞网站建设定制 传统网站和手机网站的区别是什么意思 电力行业信息安全等级保护测评中心 网络营销售后服务小米 信息安全等级评估中心 信息系统 信息安全风险评估报告格式 国内外信息安全标准网络安全大会2017主题 中国国家信息安全漏洞库 cnvd 信息安全 身份认证 青岛网站建设 2017年网站建设公司 网络营销策划公司 网络安全控制软件安全防护安全管理及法律法规等四个层次上考虑. 欧洲网络与信息安全局 昆山苏州网站建设 北京网站建设公司 中国网络安全发展史 信息安全风险三要素 全网营销文章 网路营销需求 企业信息安全制度,-1 信息安全专业的课程 信息系统 信息安全风险评估报告格式 微信营销新闻airbnb的营销 线上互动营销logo 2017年网站建设公司 与网络营销相关的书籍推荐 全网营销文章 海淀地区网站建设 信息安全内控,-1 杭州网络安全解决方案 北京互联网网站建设