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

<a class="close" href="https://datg.885588.cn/">&times;</a>
为什么网站在我们公司的电脑都打不开在别人的电脑就能打开什么是网路营销南天信息 信息安全常州网络营销外包网络营销推广软件俏江南营销外贸营销邮箱信息安全分类门户网站模板济南网络营销策划一场突然爆发的病毒,让世界秩序彻底坍塌。有的人变成了丧尸,也有的人觉醒成为超能者。我们的主角意外被丧尸咬了,却觉醒了可以收服并改造丧尸的能力。从此,收服美女丧尸,觉醒其灵智,使其成为甜美女友。在末世当中,走向人生巅峰。   我有一剑可诛世间一切之敌 一掌让日月暗淡,诸神为禁 一人于不详中倔起,带领人族在诸天之中无敌,以自身为禁只为打破这桎梏。不管未来是否成功,为了所在乎的人,必须横扫这一切之敌,只为求得那一线希望,我为帝,当立诸天,佑万民。当午夜的钟声响起,诡秘撕开黑暗的面纱,夜行人间。 沉寂林中尸体搭建的小屋,挂满无头死尸的参天巨树,凭空塌陷的万米巨坑中传来谁的吟唱? 尸骸朝圣,百鬼夜行 ,凝固的海…… 异境层出不穷。 羊头人,豚蛇,祸猪,俎肢异形,黄昏巨人,亵渎暴君坎加厄…… 一个个诡异生物于罪恶晦暗中诞生,屠戮人间。 少年王也发现他有一个可以进行角色扮演的黑暗世界,在这里,他可以挑选这个世界存在的……怪人进行角色扮演,获得他们的能力。 火人杰克,地鸣戈加顿,黑暗哥特加尔,面具柯暮以及那黑夜之上的死神耶格利特…… 这是一个人与邪异共存的世界。 罪恶祸乱人间,牧户一战中让王也知道了自己需要承担的责任。 他的心态由此发生转变。 他将握着黑夜世界,化为暗暮中的野兽,以最凶残的姿态撕裂罪恶! 如果除去天生阴阳眼的话,我的前半生应该是普通的不能再普通了,但自从那天之后,我墨色的生活被染上了色彩。记者:你打球怎么这么厉害。我:我可能就比别人天赋好一点,技术好一点吧讲述主角程仙在现实世界因救人发身意外来到一个修仙大陆,本以为可以像其他小说主角一样开挂,奈何毛都没有………一次意外绝对的意外,在我看爱情公寓5的时候因为一次小小的意外,竟然样我穿越了。 可是样我傻眼的是我穿越到了,爱情公寓刚刚开始的时候,你没有听错就是爱情公寓1, 而且我竟然被系统绑定了,,,还只有15岁。 人过留名,雁过留声。老曹家三十年多前的出马仙,也就是现在俗称的老堂人马“老辈仙”有人管叫看事的,有叫看香的,也有叫斢帘的。总之从我奶奶那一辈开始到我父亲,直到现在的我成为了另类非比寻常的出马弟子。也就是祖上的老缘分落到了我的身上,并且在我的身上有着太多神秘。上演着不可思议的事情和缘分,老曹家从再早以前的穷苦艰难再到仙家帮着大富大贵富贵,一路走到至今。里面包含了上方各路神仙,草仙堂四大家族。胡、黄、常、蟒。仙家各种不可思议的法力如(开马道、过阴、讨寿、仙家比法、斗法、讨仙丹、治病救人、开膛破肚、扣仙......)邵帅意外穿越,原本准备靠着律所合伙人身份简单过活,但随着系统的开启,一位位影视剧中的女主,却让他原本平淡的生活变得多姿多彩。一个懒懒的少年,喜欢从书卷中找到有用的东西,不学让人眼花的技、艺、法,只修基础;不尊规矩、不知人事,做事以情感为主;无进取心、无理想,弱小时,在人群中猥琐成长,强大时,一剑斩出,闲人厄皮,能在以武力和拳头的强武世界能混下去吗?
如果做到信息安全 网络安全局 计算机网络安全防范技术解决方案 怎么学网络整合营销 营销的产品策略 网站需求表 东莞做网站it s 信息安全管理培训 网络安全管理局报警 有设计感的网站 财运不佳的原因有哪些?【www.richdady.cn】 升迁障碍的前世因果【www.richdady.cn】 有官司的调解技巧咨询【www.richdady.cn】 财运不佳的理财技巧有哪些?咨询【www.richdady.cn】 孩子学习不好的辅导方法【www.richdady.cn】 前世缘份的奇妙重逢咨询【www.richdady.cn】√转ihbwel 意外的心理调适【σσЗ8З55О88О√转ihbwel 脑部不清晰的生活习惯咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 强迫症的治疗方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 暗恋的情感释放【微:qq383550880 】√转ihbwel 情感心理咨询在线咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的父亲在哪咨询【微:qq383550880 】√转ihbwel 不爱读书的教育建议【www.richdady.cn】√转ihbwel 阴间生活的前世修行【www.richdady.cn】√转ihbwel 阴间生活的前世影响【σσЗ8З55О88О√转ihbwel 耳鸣的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何维护良好的家庭关系?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的超度过程【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的财富积累【微:qq383550880 】√转ihbwel 全网营销推广如何做 信息安全分类 深圳网站建站推广互联网金融与信息安全 外贸企业网站 外贸全网营销方案 网站域名 网络信息安全事件,-1 天津 网站设计公司 专题页网站 南宁会制作网站的技术人员 重庆网站平台建设 智慧城市网络安全 为什么网站在我们公司的电脑都打不开在别人的电脑就能打开 系统网络信息安全 网络安全法第12条 智慧城市网络安全 信息安全管理培训 网络营销思维 天津 网站设计公司 网站知名度 上海网站设计开 信息安全电脑推荐 营销代理 丰台手机网站设计公司 qq推广营销方案 信息安全行业招聘 营销方式方法有哪些内容 我国的网络安全现状分析东莞企业网站建设 市场研究机构idc信息安全 网络安全最关键最薄弱 网络安全管理的主要功能有访问控制和什么? 网络营销推广软件 自己建立的网站 有设计感的网站 医院网络安全方案 外贸企业网站 汕头网站设计 微黄式营销 成都整合网络营销公司南阳开网站制作 网络安全解释 网络推广营销平台有哪些 ()是未来网络安全产品发展方向. 淄博网站优化首选公司 信息安全分类 胶南建网站 信息安全部审核建议 重庆专业网站设计服务 东莞做网站it s 成都网站制作公司 域名和网站 机械类内容营销案例 万州网站建设 网络营销思维 建游戏网站 佛山电商网站制作团队 网络营销渠道的特点是 卫龙 整合营销 常州网络营销外包 2015年网络安全 网络安全工程培训 俏江南营销 便利的龙岗网站设计 传播营销策略 成都网站制作公司 企业网络营销总裁培训班 网站需求表 南天信息 信息安全 信息安全漏洞 云南 杭州 信息安全厂商 传统营销和内容营销 信息安全pdf 搜搜营销团队 华为网络安全认证费用 微信的网络营销推广案例分析 车载网络安全 华为网络安全认证费用 网站需求表 网络安全新趋势 ppt 门户网站模板 个人备案 可以做企业网站吗 信息安全行业招聘 石家庄网站制作 网络安全局 有设计感的网站 网络营销推广软件 网络信息安全 培训 网络安全工程培训 网络安全研究步骤 信息安全打印机厂家 公司网络安全方案设计 珠海建网站 信息安全奖励等级 产品网站建设 杭州制作公司网站 网站权重低 网站备案要多久 2017网络安全博览会会 信息安全管理培训 深圳网站建站推广互联网金融与信息安全 营销的产品策略 搜搜营销团队 网络安全局 武汉网络安全博览会 济南网络营销策划 丰台手机网站设计公司 2014信息技术与信息安全 商城购物网站有哪些模块 富阳市网站 如何重置网络安全密钥 我国的网络安全现状分析东莞企业网站建设 信息安全管理培训 2016 网络安全事件 如何重置网络安全密钥 网络安全法第12条 北京时间网站建设 胶南建网站 机械类内容营销案例 网站制作及排名优化 网络营销渠道的特点是 开源网站系统 2017网络安全博览会会 网络有哪些营销方式有哪些影响 南宁会制作网站的技术人员 ()是未来网络安全产品发展方向. 搜搜营销团队 信息安全行业招聘 网络安全法第12条 信息安全高级专员 富阳市网站 网络安全管理的主要功能有访问控制和什么? 传播营销策略 浙江做网站 网络信息安全硬件设备 网站维护费 信息安全未来10年,-1