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

<a class="close" href="https://rumc.haoloufang.cn/">&times;</a>
小型企业网站设计与制作杭州做网站微博营销方法维护网络安全我会做到维护网络安全我会做到搜素引擎营销网站建设吗国家建立网络安全监测预警和国际信息安全现状招商网站建设  又名:神级道士系统   20世纪,灵气复苏,鬼怪横行,地府,天庭这两个传说中的名字渐渐进入大众视野。   21世纪,政府召集各路奇人异士在全国各地开展全民入道计划,建立道法学校,人人都开始了修道。   道法高专,废柴王乐竟然觉醒了神级道士系统。   抽奖签到神鬼七杀令、茅山打神术、天师雷法、六丁六甲……   一个个逆天道法让王乐眼花缭乱。   王乐:“停,我眼都看花了”   在这个鬼怪横行的世界上王乐一路装逼打脸。   某校花红着脸说道:“王乐我家里没人,晚上能不能请你来我家里指点指点我修行?”   王乐:“哪个老干部经得起这种诱惑?”   一点蓝光,开启了新的人生。 阴险诡诈,谁能辩我正邪? 终生坎坷,临了身旁何人?市委副书记、市长尤施纲开讲:“今天高朋云集绘淇集团,我们西坛市可谓蓬荜生辉。 “我也即兴作一首诗,献给赵红都先生和绘淇集团: “一声龙吟震尘寰, “侠名远播美少年。 “携手英雄创大业, “空活白头当汗颜。”地狱开局!穿越到异世界![奇幻魔法] 因为一场意外,幸福、快乐已经全都离我远去,现在的我,还能够追回吗? 【我的心底,满怀希望,同时也充斥着恐惧。】 是等待着命运的安排,选择逃避?还是无路可退? 也许,我已经找不回从前那种快乐的感觉了,因为我变了……变的陌生了,经历过这么多事,给我带来太多的仇恨与痛苦,或许我早已变成自己心里最痛恨的那种人吧…… 在这个黑暗的世界,连光明都是有罪!世界是被异常的嗜睡症击中,并出现大量人员昏迷。蔡苏宇陷入异常的嗜睡症,被转移到次元战场。少年魏杰因车祸而亡,灵魂出窍,空越到古代,附体于被毒杀的同姓名、同年龄的古代少年。 死而得生的古代修真少年魏杰,拥有了现代少年的知识,古今结合的少年。被炼气门、炼体门的门主同时收为亲传弟子,指定为继任门主。由此演绎出一场场喜怒哀乐的人生大剧。本书又名《我在三国强行拼团》《三国砍我,我一人砍三国》 刘云穿越到东汉,绑定附身了拼团系统,本想活命发育,偏偏黄巾起义,一个不小心还将刘备给秒杀了,不得已卷入三国时代。 刘云:“开团了,赶紧冲!来呀,砍我呀!这点兵马,砍我都不够,怎么当反派的?” 刘云:“来嘛,切磋切磋,是兄弟,就来砍我,砍一刀,一刀接一刀,完事请你喝酒。” 只见刘云一路横跳,到处强行找人拼团,势力越砍越大。 天子脖子架着刀:“刘云,你再不登基,我就砍自己了。” 我,叫做程刚,程是工程的程,刚是刚强的刚这是一个修炼玄能为主的世界,玄能就是这个世界的主旋律。 没有玄能的人就会生活在这个大陆的最底层。 等级制度:玄徒、玄者、玄士、玄师、大玄师、玄主、玄宗、玄王、玄皇、玄尊、 功法级别:日月星尘,每阶段九品,一品最次九品至高 玄器阶位:天地玄黄,每位分九阶,一阶最低九阶最高 无籍小辈,用生活中琐事的汇集,感悟人生,达到人生境界的升华......
计算机网络安全等级? 福州建网站 招商网站建设 深圳网站建设设计 网站建设与推广是什么 网站建设首页突出什么 信息安全工作规划,-1 2016首都网络安全日 近年国内网络安全事件 网络营销的的概念 财运不佳的投资建议咨询【www.richdady.cn】 与公婆前世的识别方法【www.richdady.cn】 意外事故的主要原因分析咨询【www.richdady.cn】 无形干扰咨询【www.richdady.cn】 不爱读书的环境影响【www.richdady.cn】 财运不佳的理财技巧有哪些?咨询【www.richdady.cn】√转ihbwel 公司破产的案例分享【σσЗ8З55О88О√转ihbwel 长期精神不振的原因【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 不爱读书的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的化解仪式咨询【www.richdady.cn】√转ihbwel 不爱读书的教育建议咨询【www.richdady.cn】√转ihbwel 意外的前世修行威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何应对突然失业的情况咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的婚恋经验有哪些?【企鹅383550880】√转ihbwel 投资项目的收益分析咨询【微:qq383550880 】√转ihbwel 投资项目的选择方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的心理调适【www.richdady.cn】√转ihbwel 冤亲债主对生活的影响咨询【企鹅383550880】√转ihbwel 如何识别外灵干扰的症状咨询【企鹅383550880】√转ihbwel 前世今生对现世的影响咨询【σσЗ8З55О88О√转ihbwel 杭州做网站 网站制作 武汉 数据信息安全网络主题ppt 西城网站制作公司 国家安全之网络安全 3合一网站 营销型页面 国际信息安全现状 网络安全和网络管理 手机 网络安全 网站建设步骤 搜素引擎营销 公关和营销 信息安全作业 h5营销策略 网络整合营销推广公司 网络营销有哪些劣势 免费网站推广 网络营销的的概念 西城网站制作公司 国家安全之网络安全 3合一网站 营销型页面 国际信息安全现状 网络安全和网络管理 手机 网络安全 网站建设步骤 搜素引擎营销 公关和营销 信息安全作业 g20峰会 网络信息安全 2016首都网络安全日 国家安全之网络安全 南京网络安全局 国际信息安全现状 小型企业网站设计与制作 办公室网络安全风险 问答营销方案 gb/t 20270-2006信息安全技术 网络基础安全技术要求 信息安全作业 网络安全 努力破除 美国网络安全信息共享 网站运营公司 网络营销在线讨论法 公司网站开发公司 鹤壁网站制作 信息网络安全员培训 网络整合营销推广公司 聊城网站制作价格 营销型页面 网站推广教程 网络营销行为有哪些特点是什么 网络营销有哪些劣势 制作网站备案幕布 定西网站建设 网站制作的趋势 小型企业网站设计与制作 网站建设与推广是什么 微博营销方法 网站制作 武汉 信息安全与服务有限公司 信息安全介绍 微博营销的事件 个人网络安全 鹤壁网站制作 最新网络安全产品 信息安全工作规划,-1 360杯全国大学生信息安全技术大赛 数据信息安全网络主题ppt 什么是搜索引擎营销策划 360杯全国大学生信息安全技术大赛 信息安全与服务有限公司 营销型网站哪家好? 高级信息安全顾问工作职责,-1 信息安全研究 期刊 病毒营销模式有哪些 网络安全密码技术 作品网站 网络安全证书管理工具 网站建设吗 银行信息安全等级保护,-1 定西网站建设 维护网络安全我会做到 国家安全之网络安全 杭州高端定制网站 信息安全大赛题目 网络安全动态分析包括哪些内容 南京网络安全局 春秋网络安全官网 g20峰会 网络信息安全 济南建网站 网站线框图 3合一网站 移动宽带 营销 网络安全售后服务 信息安全工作规划,-1 作品网站 网络信息安全学什么,-1 电商营销课程 福州建网站 营销型页面 网站制作 网络推广 建公司网站 网络营销的的概念 关于的网络营销文章 3合一网站 网络营销期刊有哪些 昆明建个网站哪家便宜 网站推广软文 高端上海网站设计公司网络安全新技术概述 g20峰会 网络信息安全 电商营销课程 网络营销在线讨论法 网络营销有哪些劣势 网络安全专家委员会 2016首都网络安全日 网站建设吗 搜索营销 怎么设置网站栏目 网站建设首页突出什么 汽车网站策划书6.2信息安全 网站推广文章 网站建设的后台登录网络安全编程多吗 网络安全证书管理工具 西安网络营销 重庆企业口碑营销 深圳网站外包 中国网络及信息安全法 高端上海网站设计公司网络安全新技术概述 数据信息安全网络主题ppt 全网整合营销公司南京需要做网站的公司 软文营销的推广技巧 信息安全调查报告 如何测试网络安全 软文营销的推广技巧