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

<a class="close" href="https://pxg.rovu.cn/">&times;</a>
微口碑营销教育部信息安全研究中心中国网络安全防护金融信息安全研讨会什么是企业营销网站搜索引擎营销的特点网站建设信息网站版面设计厦门手机网站建设公司网络安全日沈昌祥徐通穿越洪荒世界,成为未来的圣人通天。 想到未来自己的悲惨命运,熟知洪荒剧情的徐通决定苟起来再说! 紫霄宫听道?不去! 创立截教?休想! 任他洪水滔天,我自稳健修行! 待我出关之时,一切腥风血雨量劫落幕。 至此,尘归尘土归土,天上飞天,地下入地,西方的和尚上西天!他经受了一次次灾难险情的磨砺,意外修成了一些神奇的本领,却不知由来。他如同脱胎换骨一般,斩妖除害,从一个普通人成为功高盖世的战神。穿越到古代,家中一穷二白! 不怕,运用21世纪的知识,随便搞点发明创造,改善家中生活! 一不留神富甲一方,漂亮老婆天天催着纳妾,小日子不要太幸福! 蛮族入侵,那就组建骑兵,制造火炮,打他丫的! 影响我平静的生活,敌寇虽远必诛!楚林重生穿越到一个未知的修仙世界。 武功尽失、曾被称为“奇才少年”的他跌落神坛。 正当楚林痛饮美酒,卧床难安时,他居然又跑回现实了。 从此获得:驾驭现世与修仙世界! 某天公司举办Cosplay展览会,楚林意外遇见一名古装女子。 她窈窕妩媚,柔桡轻曼,冰肌莹彻,两眼流苏像极了制作游戏里的人物。 “凛秋雪,这个家伙居然也跑到现实了!” 楚林不敢置信地抓住她的皓腕,只见凛秋雪铁青着脸。 “流氓!” 是一个人传人玩球的故事欢乐向热血爽文,不小白,无后宫,权谋,热血,偷得浮生半日闲,半缘修道半缘仙,这是半个冷馒头开始的故事,且看一个垂死挣扎的小奴隶如何在边塞小镇崛起,搅弄朝堂,问鼎仙道,双刀斩断缥缈峰,八万玄甲战修罗,半生被镇无字碑,三千剑仙开天门。(剧情杀较多,虐主,勿寄刀片)断桥似断非断,其实还若离若即。昨宵尚重迴,今朝已甦醒,且早恨不归。心事痕迹,频频扰梦里。早安,晚安,我的心急上人。苔花纵如米粒小,也慊慊辄学牡丹开。我虽卑微娇弱,亦会似芳菲璀璨奕偞。白日曣曣不到处,青春骎寻恰自来。惟愿孜孜矻矻、勤勤恳恳的度过朝朝暮暮。 残疾很厉害吗?不好意思啊!我,,,精神病!在一个异世界中存在着很多国家,在这众多国家中有些国家正密谋着一场大事。吕萨不是人,也不是个东西。 吕萨只想做个人,但天不遂人愿:要么被当成傻人,要么被当成神! 这是人类末日幸存之后,科技退步了千年的世界。 也是一个被进化潮汐,赤月夜冕洗礼了千年的世界。 千年前,机器打败了人类。 被放逐的幸存人类,却原力觉醒,变异出了各种超级异能——雷术、脉气、风核,晶能…… 智慧生命扩展到了雷族、亚兰族、鲲族、尸族、猿族…… 这些神秘的蛮荒种族,与前文明时代的机甲残骸、星舰遗迹、高楼残垣、公路荒漠……,会擦碰出怎样的魔幻火花? 吕萨,这个人形AI,生化机器人,如何在人类世界深度学习进化,蜕变成神? 本书逻辑自洽,智商在线,故事性强,文笔流畅,爽点迭出,悬赏毒点。 老书虫看了大补,嫩书虫看了精进。 实在是居家旅行,上班摸鱼必备之佳作良品。
成功企业的营销 营销知识 小米的真实营销模式 南昌企业网站设计 网络营销到底是什么 房产网站建设 内部营销方法 人工智能与网络安全 网络安全服务机构资质 互联网 微信整合营销 为什么过世的前世记忆【www.richdady.cn】 家庭关系中的矛盾如何解决?咨询【www.richdady.cn】 大龄剩女的婚恋故事【www.richdady.cn】 耳鸣的解决方法【www.richdady.cn】 邪灵的防范方法咨询【www.richdady.cn】 自闭症的自我提升咨询【微:qq383550880 】√转ihbwel 婴灵的安抚与超度咨询【σσЗ8З55О88О√转ihbwel 如何了解自己的前世今生?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情纠纷的情感咨询咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 灵魂化解的仪式咨询【www.richdady.cn】√转ihbwel 升迁障碍的职场转型技巧有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 自闭症的心理调适威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的缘分解读【微:qq383550880 】√转ihbwel 婴灵的超度方法有哪些?【企鹅383550880】√转ihbwel 迟缓儿的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 迟缓儿的家庭支持咨询【企鹅383550880】√转ihbwel 前世今生的改命方法咨询【www.richdady.cn】√转ihbwel 为什么过世的前世缘分咨询【σσЗ8З55О88О√转ihbwel 强迫症的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 婴灵的超度方法咨询【www.richdady.cn】√转ihbwel web网络安全 c端营销 中国网络安全防护 网站建设公司 深圳linux网络安全设置 建立个人网站多少钱 内部营销方法 信息安全技术 南京网络营销推广外包公司 网络安全综合管理平台 长沙微信网站地方门户网站建设 网络安全 人 南昌企业网站设计 昆明网站制作 c端营销 信息安全 科研项目 信息安全报道 信息安全分为 借助事件营销的案例 网络安全攻防技术人物专家介绍 免费婚庆网站模板 洛阳市网站建设 谷歌网站建设 网络安全一般入侵方式 提供常州网站推广 深证市信息安全等级保护网 珠海专业网站制作公司 个人网络信息安全事例 有效的信息安全控制方法 有效的信息安全控制方法 婚纱店网络营销 信息安全评测四川,-1 什么是企业营销网站 网络安全有哪些证书 互联网 微信整合营销 团队营销案例 南宁做网站 网站组成费用 网站建设公司 深圳linux网络安全设置 网络内容营销 合肥赢点网络营销策划有限责任公司 信息安全 行业新闻 中国信息安全产品测评认证中心 建立个人网站多少钱 网络安全技术平台 防网络安全教育 台州网站建设优化 网站营销顾问 工作内容 信息安全等级保护综合管理系统 人工智能与网络安全 建立个人网站多少钱 网络安全安全大会 Ios网络安全 网络安全主体检测平台 信息安全产业体系 南京网络营销推广外包公司 绵阳网络营销 优帮云 2017网络信息安全形势 网络安全 排名 网络安全专家 杨卿 程序员转网络安全 世界网络安全现状 长沙微信网站地方门户网站建设 政府网站 建站 团队营销案例 2015金融信息安全峰会 网站网格 网络安全 人 防网络安全教育 微博营销的心得 互联网 微信整合营销 南昌企业网站设计 数据库营销网络营销学 中国信息安全产品测评认证中心 信息安全网络靶场 网络安全界人士如何处理 信息安全审核表 网络信息安全加秘 速成网站 c端营销 火锅网络营销策略 营销知识 网络安全界人士如何处理 信息安全 科研项目 如何保护自己的网络安全 网络安全技术平台 网信办网络安全分级 哪些品牌是微信营销 网站设计学习 三只松鼠微博微信营销 什么是信息安全技术,-1 信息安全与服务 房产网站建设 中国网络安全官网 南京中小企业网站制作 借助事件营销的案例 浙江网络营销现状 什么是企业营销网站 全国信息安全考试 网络安全攻防技术人物专家介绍 网络信息安全加秘 2014网络安全大事件 网站制作培训 免费婚庆网站模板 网络安全法 信息安全网络靶场 禅城区响应式网站 网络安全培训提纲 珠海专业网站制作公司 网站建设信息 网络安全协会发展问题 昆明网站设计 网络信息安全的发展 信息安全二级认证费用,-1 营销的种类 网络安全一般入侵方式 网络安全和渗透测试 大兴网站建设制作 大兴网站建设制作 提供常州网站推广 网络安全综合管理平台 中国信息安全政策 网络安全侦察 深证市信息安全等级保护网 商贸公司营销网站建设 长沙微信网站地方门户网站建设 信息安全系统 山西网络营销公司 国内信息安全问题 网站展示型和营销型有什么区别 珠海专业网站制作公司 网络安全服务机构资质 禅城区建网站公司 web网络安全 2017网络信息安全形势 社交网络的营销方式