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

<a class="close" href="https://dvl.luoa.com.cn/">&times;</a>
天猫营销词网络营销方法和应用网站代运营方案网络安全 数据报表专业营销外包公司网络营销的价值在于信息安全风险评估应该怎样做网站信息安全培训办公室提醒您信息化与网络安全 投胎是门技术活!他竟然,重生在妓馆之中,还是个女的!   虽然,出身卑贱还是女儿身!   为了民族不被女真蒙元荼毒,她要颠倒乾坤,重塑山河 &amp;quot;北冥有鱼,其名为鲲。鲲之大,不知几千里也。化而为鸟,其名为鹏。鹏之背,不知几千里也......&amp;quot; “:有一天我一定要像鲲鹏一样翱翔于天地之间,畅游于四海之内,载物助人”辰羽激动地说道。 可直到意外到来,鲲鹏之语告诉他修仙的真谛...... 穿越到天龙世界的屌丝,凭着对原著小说的耳详能熟,是选择修炼成绝世高手还是辅助原著主角成就霸业?不,武功要练,最重要的是篡改剧情,别让乔峰自杀…三年前,大婚之日,他遭人暗算,被人投江。   三年后,他脱胎换骨,再临故地。   这一次。   他绝不会再让任何人主宰自己的命运.....主人公慕成二十五年平凡人生的沉淀与积累。 且看他拥有异能后,怎样的处事风格,怎样造就了辉煌的一生,又是怎样一步步发现灵魂的秘密。 面对强大的守护神帕丁,慕成是如何战胜的,他又将创造怎样的理想世界? 处在人生最低谷的杨锦川惨遭女友的抛弃,接着又是和爷爷阴阳两隔,近乎崩溃的他,不小心终止了自己的生命。 都说上帝关了这扇门,就一定会为你打开一片窗,他带着前世的记忆穿越到了另一个世界,本以为是神话般的修仙世界,不料却是一个普普通通的冷兵器时代,可…看似普通的世界,隐隐中却在暗藏着什么……宇宙星河   无尽虚空   凌驾于天道之上   掌管无尽宇宙   不被任何人打败   她就是墨星玄因为一个绝色女人,黑客和黑帮势不两立。 键盘侠如何跟舞枪弄棒的黑帮一决高低? ······ 中国版《教父》,脑洞大开,令人耳目一新!    小白是一条有人的思想和情感的小狗,从小和主人一起长大,因为主人有了伴侣。小白在一个秋季踏上了流浪之旅,然后遇到狗的爱情和朋友。最后经过重重挫折和苦难又重新回到主人身边的故事子受穿越为殷商纣王。 系统发布的第一个任务竟然让他找个女人表白,任务失败回到原世界? 子受表示:当nm的暴君,老子要回去! 为了回到原世界,作死表白了女娲。 却没想到阴差阳错地成功了! 子受:女娲是我女朋友怎么办?急,在线等! Ps:此书又名《我的女朋友是女娲》、《女娲好感度爆满了怎么办?急,在线等!》
搜素引擎营销 佛山学校网站建设 厦门企业网站制作工业网络安全企业 三明做网站 美国信息安全学科 小型企业网站设计与制作 饥饿营销模式概述 忻州做网站 虹口做网站 近年国内网络安全事件 感情纠纷的沟通技巧咨询【www.richdady.cn】 去世的母亲在哪【www.richdady.cn】 投资项目的风险评估咨询【www.richdady.cn】 感情纠纷的前世因果【www.richdady.cn】 无形干扰的解决方法【www.richdady.cn】 如何改善人际关系咨询【企鹅383550880】√转ihbwel 耳鸣的案例分享【σσЗ8З55О88О√转ihbwel 发育倒退的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主干扰对生活有哪些影响?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的财富积累方法有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 无形干扰对工作效率的影响咨询【www.richdady.cn】√转ihbwel 头脑混沌咨询【σσЗ8З55О88О√转ihbwel 忧郁症的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的教育理念【企鹅383550880】√转ihbwel 迟缓儿的心理调适咨询【微:qq383550880 】√转ihbwel 迟缓儿的症状与诊断咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的梦境解析咨询【企鹅383550880】√转ihbwel 塔罗牌占卜与心理分析咨询【企鹅383550880】√转ihbwel 感情纠纷的情感和解方法有哪些?【σσЗ8З55О88О√转ihbwel 大龄剩女的婚恋困惑咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 汽车网站策划书 郑州网站建设 网站曝光率 信息安全应急处理办法苏州网站托管 见网站建设客户技巧 网站设计公司北京 上海信息安全测评认证中心 网络信息安全攻防大赛 虹口做网站 电子科技公司网站网页设计 营销型网站有哪些出名的 重庆大型的网站建设 南京网络营销推广外包公司哪家好 济南做网站的公司有哪些 端午节网络营销 付费营销 汽车网站策划书 郑州网站建设 网站曝光率 信息安全应急处理办法苏州网站托管 见网站建设客户技巧 网站设计公司北京 上海信息安全测评认证中心 网络信息安全攻防大赛 虹口做网站 电子科技公司网站网页设计 营销型网站有哪些出名的 重庆大型的网站建设 南京网络营销推广外包公司哪家好 济南做网站的公司有哪些 企业手机网站建设策划方案 网络安全法 保密法 微博广告营销案例 无锡集团网站建设网络安全专家委员会 营销传播的概念 kfc 计算机信息安全 小型企业网站设计与制作 网络安全概述ppt 如需手机网站建设 网络安全 数据报表 西安网络营销 信息安全培训办公室提醒您 kfc 计算机信息安全 互联网金融 网络安全 2016中国网络安全事件 什么是搜索引擎营销策划 什么是搜索引擎营销策划 优秀网页设计网站 网站模板怎么用 甘肃网站建设 厦门企业网站制作工业网络安全企业 东莞市做网站的公司 汽车网站策划书 设计好的网站 惠州外贸网站建设 app信息安全解决方案 qq免费建网站 阿里巴巴 信息安全,-1 医院网站建设解决方案 isp认证 网络信息安全证书 互联网金融 网络安全 关于的网络营销文章 济南建网站 javascript实现网站顶部出现几秒后图片缓慢消失的效果 临朐做网站 北京 网络安全 公司网络安全实施 安徽信息安全等级保护网 美国信息安全学科 安全的网站制作公司 定制网站案例 中国信息安全的法律法规 网络安全导航 微博广告营销案例 安徽信息安全等级保护网 最优的网站建设 信息安全应急处理办法苏州网站托管 小型企业网站设计与制作 公共网络安全平台 惠州外贸网站建设 信息安全产品认证 清单 2014 网络安全标准体系结构 网站生成软件 网站未收录 汽车行业网络营销案例分析 商业网站模板 国家网络安全相关规定 EDM邮件营销 《国家信息化领导小组关于加强信息安全保障工作的意见》 网络营销搜索引擎规划 信息安全 863 三明做网站 网站设计公司北京 信息安全风险评估应该 app信息安全解决方案 网络安全的第一道防线是 武汉互联网整合营销 公司网络安全实施 美国网络安全信息共享 网站代运营方案 上海信息安全测评认证中心 电子科技公司网站网页设计 双十一营销手段有哪些 区块链 信息安全大赛 信息安全 美国 网站制作价 网站代运营方案 网络安全态势分析 济南网站制作 美国信息安全学科 网站营销 影楼高端营销方案研发 阿里巴巴 信息安全,-1 银行信息安全会议文件 信息安全专业。黑客 徐州网站推广 大型的营销型网站建设 网站打开速度 设计好的网站 西安网络营销 青岛 信息安全公司,-1 网站模板怎么用 娃哈哈的网络营销 忻州做网站 电子科技公司网站网页设计 端午节网络营销 EDM邮件营销 营销策划服务平台 互联网营销软件怎么样 美国网络安全信息共享 网络信息安全认证证书 信息安全 863 大连企业网站建站 济南网站制作 国家网络安全相关规定