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

<a class="close" href="https://7bph.0904.com.cn/">&times;</a>
东阳做网站高校 网络安全 研讨会高校 网络安全 研讨会深圳企业网站公司是网络安全原则之一网络空间是国家信息安全的核心数据,-1页面设计漂亮的网站网站辅导运营与托管公司成功网络整合营销案例信息安全产品发布会中年死前经历过绝望,失望,背叛 ,后穿越荒世界,一个没有法制,规矩,的世界 张皓的目标就是活着,且看他如何在这异世界生存 (无种马,不无敌,不装逼) 书狂拟醉江湖笑,剑胆琴心慰飘零!在充满机遇与危险的联邦纪元,一个瞬息便可能引起千变万化,可偏有这样一个人,他手持一对赤红短刃,身负一把流光溢彩的长弓,一身轻质甲胄,在现实与虚拟交错的世界中反复穿梭,虽为凡人,却不甘平庸。但天不遂人意,当一个人了解的越多时,可选择的余地就越少,他也不例外。随着一个又一个秘密接连浮出水面,他可选择的道路也越发的稀少。利益的纠葛,人际的复杂,位面的纷争,权术的代价,是申明大义还是保全自我,面对生存与毁灭的抉择,他究竟能否成功破局?身处一个又一个漩涡之中,他又是否还能坚守本心,保留一身侠骨柔肠?一切答案尽在书中等你揭晓!一颗天地初开时,第一缕鸿蒙紫气孕育的神秘源种。 一部被尊为万法之源,大道之纲的逆天功法。 一把替天罚神、屠戮万界神魔的残破古剑。 一个死而复生,天资妖孽的热血少年。 一段逆天改命,横扫万界天骄,镇压亿万神魔的狂暴之旅。 我名楚天辰,这是我的传奇,我为众神之主!【都市爽文+都市修真+无敌神医+搞笑】 师傅白日飞升,只留给张成一只象征身份玉佩,还 有一箱满满当当的婚书。 至此,逍遥门最后的传人张峰被迫下山,开启了一 段传奇之旅。 别人练武他修仙,左手雷符专治吹牛逼,右手银针 无病不医! 视金钱不过粪土,待权利莫如草芥,一心修仙求大 道,偶尔为逍遥道门开枝散叶! 一次旅行,游轮沉没,幸存者流落荒岛,鹭洋与护士馨可经历重重磨难,在荒岛上上演着一幕幕绝命逃生的故事……五百年宇宙爆发了一股庞大的特殊能量,将世界各处不同一地点,不同时间的人聚集到了一处空间,在这里它被人们称之为极度领域,有一个名卫的组织隶属于七星主神的麾下,守卫极度领域的秩序。 直到五百年后的今天,宋萧的出现彻底改变了该空间的运行轨迹。他本是龙国最年轻的国医圣手,却因为一次意外,重生回到了四年前。 上一世,他误入歧途,痛失妻女,尝尽了人间疾苦! 这一世,面对妻女的失而复得,他势要弥补当年的遗憾,快意恩仇。 且看一代鬼医传人,如何凭借一手鬼神难辨的惊天医术,守护心中挚爱,成为最强都市奶爸!嘀...嘀...嘀... 人死后灵魂究竟会魂归何处? 带着心中最后一个想法,许一安望向呈现一条直线的心电图,缓缓地闭上了双眼。 但......耳边...传来... “一安哥哥,一安哥哥。” 不,生命的旅途还远没有结束。当刚登基为王的嬴政融合一个后世之人的灵魂并得到一幅江山美人册时。嬴政:朕,爱江山更爱美人!!!【全族+全家+末日求生+种田】苏成重新回到了灾难的起点,再一次要面临各种灾难的洗礼。 从一场全球性的血雾开始,然后干旱,高温,地震,史前瘟疫,全球冰冻…… 几乎是人类能够遇到的灾难,他都将要再一次经历一次。 这一次重新回归的苏成,在自己家族系统的辅助下,究竟如何带领全族人挺过这些灾难? 故事,从2024年开始……
南京网站建设网络营销最大的优势 上海网络营销策划 网络安全入门培训 南京网络安全类公司 小程序网站 创业做b2b行业网站正确划分行业别被建站公司忽悠 西安高端网站制作公司 贵阳优化网站建设 网站建设心得 计算机网络安全法规 邪灵的驱除仪式咨询【www.richdady.cn】 前世缘份的前世因果【www.richdady.cn】 迟缓儿的咨询技巧咨询【www.richdady.cn】 邪灵的定义与特征【www.richdady.cn】 强迫症的咨询技巧【www.richdady.cn】 前世老婆的前世影响【σσЗ8З55О88О√转ihbwel 外灵对人的影响咨询【微:qq383550880 】√转ihbwel 前世缘份的前世缘分咨询【企鹅383550880】√转ihbwel 孩子学习不好的环境影响【企鹅383550880】√转ihbwel 前世老婆【微:qq383550880 】√转ihbwel 人际关系不好的前世记忆【微:qq383550880 】√转ihbwel 冤亲债主干扰的解决方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 失业咨询【微:qq383550880 】√转ihbwel 意外的前世故事咨询【企鹅383550880】√转ihbwel 前世老婆的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世老婆的识别方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的前世因果咨询【微:qq383550880 】√转ihbwel 孩子压力大的改运方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 化解祖灵的仪式流程【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与公婆前世的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 信息安全系统的要求 关键信息基础设施网络安全检查 2017 信息安全 营销型网站搭建的工作 网络信息安全合格证 网站建设我们的优势 信息安全大数据平台,-1 微博营销方案天津网站优化公司 全国网络安全决议 网站营销网 南京网络安全类公司 广州做网站信息 信息安全工具测试 信息安全管理平台soc 中小型企业信息网络安全架构浅析 网络营销合作方案 信息安全部主任 如何创建网站 关键信息基础设施网络安全检查 微信营销成功的企业 信息中心 网络安全 上海网络营销策划 广州企业网站建设哪家服务好 微博营销方案天津网站优化公司 全国网络安全决议 网站营销网 南京网络安全类公司 广州做网站信息 信息安全工具测试 信息安全管理平台soc 公安部网络安全保卫局 网络安全会议2016 网站建设渠道合作 信息与'网络安全 网络安全讲竞赛 讲话 网络信息安全合格证 2016信息安全大会营销型网站应用 中小型企业信息网络安全架构浅析 centos 7 网络安全安装 濮阳做网站 网站建设我们的优势 关键信息基础设施网络安全检查 网站建设工具 中国网络安全管理部门 网站建设工具 赤峰网站建设 网络营销合作方案 佛山企业网站建设咨询 北大信息安全在哪个学院 微信点对点精准营销 银川网站优化 信息安全系统的要求 工业控制系统信息安全会议 浙江省网络安全专家 全球最大的网络安全公司 网络安全网 房产网站制作 工业控制系统信息安全会议 如何创建网站 关键信息基础设施网络安全检查 天门网站建设 如何创建网站 信息安全等级测评价格 新建网站‘’ 公司网络安全措施 中国信息安全投稿 实行信息安全等级保护 2017 信息安全 信息安全部主任 实行信息安全等级保护 关键信息基础设施网络安全检查 合肥网站优化 网络安全 大事件 网络安全实名认证 浦东新区专业网站建设 营销型网站搭建的工作 怎样学好网络营销 西安高端网站制作公司 微信营销成功的企业 广州做网站 网络安全攻防研究室 怎么样 工业网络安全防护网关 网络安全会议2016 网络安全 蜜罐 网络安全入门培训 网络安全工具包 nst 网站建设渠道合作 网站制作 技术 网络安全负责人 网站建设价格标准信息 直销网站建设 网站建设我们的优势 数据网站怎么做的 房产网站制作 中国信息安全投稿 网上营销有哪些渠道 网络安全评价标准主要 数据网站怎么做的 广州企业网站建设哪家服务好 北大信息安全在哪个学院 网络安全需要注意哪些 广州企业网站建设哪家服务好 网络空间是国家信息安全的核心数据,-1 多语言网站 西安高端网站制作公司 荧光字网站 新建网站‘’ 全球最大的网络安全公司 微整合营销 新建网站‘’ 2015江苏信息安全竞赛单位排名 微信营销广告多少钱自贡网站优化 计算机网络安全法规 e-mail营销传统零售营销的特点是什么意思 国家网络安全教育 是网络安全原则之一 合肥网站优化 网络安全共享中心 网络安全 工控平台 川大信息安全系 中国网络安全管理部门 信息安全工作总体目标 事件营销心得 html5网站 深圳整合营销平台 做手机网站 信息安全技术 信息系统安全等级保护测评要求,-1 微整合营销 怀化网站建设 深圳整合营销平台 上海网站建设的企 网络安全攻防研究室 怎么样 辽阳网站建设 上海网站建设的企 关键信息基础设施网络安全检查