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

<a class="close" href="https://xwx9.nengpi.cn/">&times;</a>
网络安全和网络管理业务 网络安全腾讯营销案例ppt国家安全之网络安全网络安全等级划分原则网络整合营销推广公司深圳网站制作公司济南网站建设和维护无锡手机网站制作费用企业网站设计需要多久蔡狗蛋意外穿越平行世界,这个世界秦国没有统一天下,甚至其余六国还大变样了! 韩国魏国,不再是原先世界中,战国后期孱弱的形象。 赵国燕国的领土不断的向外扩展 齐国凭借着贸易,被誉为天下第一富国。 楚国疆域最大,人口最多。 本来想着当好自己的贼二代,混吃等死一辈的蔡乾,却被乱世搅得一刻也不安宁。 为了自己可以混吃等死一辈子,那就创造一个不会打扰到自己的国家!人是人,仙是仙,人若想为仙,难比登天。天下凡人千百万万,得道成仙者百千年不得闻。 凡人非大机缘者,莫寻修仙路。然,何为机缘,机缘何得。 争,是智慧;不争,亦是智慧。 修仙修仙,修的是什么,修的不就是心么。不为人知的隐秘空间,充斥着众生千万年累计的善与恶的投影,体内伴生着魔界的禁忌之魂的方问,在无尽的生死轮回中,刀碎轮回,为众生重塑生机。二十五岁的马尤素福从遥远的也门求道归来,他以为他可以平安宣教度过余生,却不料……我这人哪,没啥大出息,能赚点小钱,到处吃吃喝喝,对我来说就是人生最幸福的事儿了。这本书里多数的内容源于我以前的美食笔记,它不仅是我对美食的记忆,更是我对生活的记忆。皇帝倒台后,各地军阀割据,民不聊生。货郎一家五兄弟各自走上不同的道路,老大小货郎一步步逐渐做成大生意,开的分号遍及周边。鼎盛时期竟然可以自己发行小区域流通货币。 老二在家务农种田。老三更是成为一代当地名医。老四和老五分别参加了不同的对立双方,直至把枪互相。怎样抉择?敬请阅读本书十年前,杀星江峰横空出世,枪挑修道世家,剑夺美人娇妻,娶了13个老婆。 后来被雷劈死了。 子嗣江川,拥有超凡能力却无法修行,百年岁月就要沦为黄土… 仰天长啸,苍茫星海,如何走出长生路? 千万年前,星域顶级势力修罗族,战天族,一夜之间惨遭灭族,更是成为众生禁忌。从此,整片星空再无“修罗”“战天”之名。 武荒大陆,一名战奴少年习得神秘功法,从此逆天改命,修罗战天之名因他一人再次响彻整片星域! 万族因他而颤抖,天地因他而哭泣……天道无情,大陆为棋盘,苍生为棋子。少年林羽,低微出身,手持三尺长剑,得神秘传承,力压天骄,剑斩诸强,斩天道,立新规,风凌九天。二十年前,他被一代道门隐脉奇人所救。二十年后,他遵守师父遗命下山踏入何家,阴差阳错之下成为何家的女婿,内心从抗拒到默默守护,皆因那一纸婚约而起!
高端上海网站设计公司信息安全测评中心 郭涛 深圳网站制作公司 网络营销的职位有什么区别 信息安全岗位招聘 东营市报名系统网站设计公司 南山建网站 服装网络营销 网站优化过度的表现 美国网络安全信息共享 郑州网络营销外包公司排名 学习成绩差的咨询技巧咨询【www.richdady.cn】 老公家暴【www.richdady.cn】 邪灵对人的危害咨询【www.richdady.cn】 婴灵的真实案例有哪些?咨询【www.richdady.cn】 冤亲债主干扰的前世记忆【www.richdady.cn】 升迁障碍的解决方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的真实案例有哪些?咨询【www.richdady.cn】√转ihbwel 升迁障碍的职场瓶颈咨询【企鹅383550880】√转ihbwel 事业不顺的前世因果咨询【企鹅383550880】√转ihbwel 儿子不读书的教育建议咨询【微:qq383550880 】√转ihbwel 如何改善人际关系【σσЗ8З55О88О√转ihbwel 发育倒退【企鹅383550880】√转ihbwel 长尾词咨询【σσЗ8З55О88О√转ihbwel 如何提高孩子的阅读兴趣?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 官司的解决方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 官司威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 长期头脑混沌可能是哪些疾病的前兆咨询【企鹅383550880】√转ihbwel 财运不佳的原因有哪些?咨询【微:qq383550880 】√转ihbwel 冤亲债主干扰的前世记忆咨询【σσЗ8З55О88О√转ihbwel 去世的母亲的前世案例咨询【www.richdady.cn】√转ihbwel 山东省信息安全等级 网站色彩的搭配原则有哪些 信息安全专业。黑客 营销型商城 简单建网站 全国网络营销大赛 南山建网站 网络安全行业前景2016 移动宽带 营销 国际信息安全现状 什么是全网营销 网络安全动态分析包括哪些内容 网站优化过度的表现 网站版面设计 20个中国风网站设计欣赏 提供常州网站推广 地方门户网站制作 科站网站 服装网络营销 汽车的信息安全指哪些 近年国内网络安全事件 微博营销是 大网站建设 旅游模板网站 网站申请 高端企业网站报价网络营销的大公司 微信营销推广案例 高端企业网站报价网络营销的大公司 网站制作的收费 国家信息安全研究中心 网站快速收录 营销策划和销售的区别 手机网站开发框架 手机网站开发框架 地方门户网站制作 深圳营销型网站公司 信息安全保障中心科技部 网络安全 网络安全 数据泄露 网站制作 武汉 2014年省级基础电信企业网络与信息安全工作考核要点与评分标准 网络安全行业前景2016 西城网站制作公司 个人网站欣赏 网站建设大致价格2017 最新网络安全产品 小米公司网络营销定位 网络安全专家委员会 网络营销的职位有什么区别 镇江网站建设机构 武汉 大型 网站建设 酒店营销推广事例 可信网络安全平台 禁用多网卡 温州网站制作价格 镇江网站建设机构 网络安全时代 网站版面设计 大连 营销策划公司 网络安全时代 思尚营销 郑州网络营销外包公司排名 常用网络营销app 网络营销计划 案例 旅游模板网站 西安网络安全比赛 京东网络营销特点 近年国内网络安全事件 信息安全岗位招聘 佛山新网站建设平台 20个中国风网站设计欣赏 营销的基本流程 东营网站优化 办公信息安全意识 b2c网络营销模式分析 简单建网站 信息安全工作规划,-1 医院呢网络安全解决方案 网络安全培训班哪个好 网站评测的作用 长春网络营销网站 深圳企业网站建设哪家好 b2c网站建设 深圳网站制作公司 网站展示型和营销型有什么区别 国际信息安全现状 珠海网站设计报价 网站色彩的搭配原则有哪些 免费网站推广 专业网站建设 东营市报名系统网站设计公司 免费网站推广 深圳企业网站建设哪家好 西安网站建设公 四川省网络安全协会 第三方人员 信息安全 网络安全 维基网络安全培训目的 信息安全专业创业 什么叫网络的软营销 青岛服饰营销 深圳营销网站 易企网站建设 腾讯营销案例ppt 镇江网站制作 网络安全专家英文 微信营销推广案例 小米公司网络营销定位 网站设计学习 网络安全网络信息安全 昆明建个网站哪家便宜 区块链 信息安全大赛合肥微营销公司 信息安全服务安全工程类 苏州高端网站建设 电信行业信息安全 网络安全证书管理工具 网络安全培训班哪个好 网站色彩的搭配原则有哪些 无锡手机网站制作费用 工业控制系统信息安全联盟 营销型商城 顾客对网络营销的建议 网络信息安全技术下载 全国网络营销大赛 网络与信息安全信息通报中心 西安网站挂标 信息安全测评机构 网站色彩的搭配原则有哪些 网站须知 什么营销是通过微博 网站都需要续费 大网站建设 婚纱制作网站 病毒营销公式 研发信息安全管理,-1 网络安全公司 医院呢网络安全解决方案 什么是网络营销评估