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

<a class="close" href="https://nfy.haoloufang.cn/">&times;</a>
app营销的劣势2014国家信息安全专项视频营销软件都有什么软件网络营销的调研报告南京移动网站设计2015网络安全论文东欧 网络安全敏感国家湖南手机网站制作公司网站打开速度优化上海信息安全师招聘树林,沼泽,血污,以及被抛弃的人便是这个岛上最常见的东西自上古以来,能长生久视者寥寥无几。如今星河异动,或许正是成仙的大好时机。少年星轲,怀懵懂入世,经生离死别、历万丈红尘,最终能否不醉星河?前路凶险万分,稍有不慎,便可能黄土不成。等待他的,是“云梦虚”、“生死妄”、“阎罗判”以及……(杀戮果断+外挂+无圣母+后宫)主角叶安凭借前世三年末日经验从人性与丧尸与无数变异生物展开了剧烈的杀戮。 重生一世,蓦然发现这一世能看到所有物品信息包括各种前世未出现的不知名怪物。看到了物资箱,看到了几万年甚至几万年乃至几百年的隐藏古墓(遗迹) 叶安:这一世有了准备,一定要超然所有生物之前...... 走在回家的路上,一片漆黑的深渊裂隙,将他吞没,当他醒来时,他发现自己来到另一片陌生的世界,这里有恐怖的荒兽,强大的修士,绝世倾城的美女。 看我们主角,如何在另一陌生的世界,一步步成长为,让人谈之色变的存在。 不可明状的存在将地星扩大一百倍,整个世界都被游戏数据化。 远古的存在开始回归,混沌中有异族在蠢蠢欲动。 这是大秦猛卒与盛唐羽林军的争霸,也是魏武卒与陷阵营的碰撞。 当斯巴达勇士遇上黄巾力士,当教廷的十字远征军碰上蒙古铁骑...... 象兵、铁浮屠、维京海盗......人类、兽族、异族侵袭....... 谁,才是诸天最强文明?云空大陆,实力为尊。在这片大陆上,无数宗门,皇朝林立。围绕这些势力,一篇篇故事由此展开。军迷们戏称,美军四大军种可以分为四个等级:海军是一等人,空军是二等人,陆军是三等人,海军陆战队是四等人。 体育迷们也戏称,中国四大球也可以分为四个等级:足球狗是一等人,篮球狗是二等人,排球狗是三等人,手球狗是四等人。 嗯?先等等,谁告诉你中国有‘四大球’的,不一直都是‘足篮排三大球’吗?手球狗,手球是个什么鬼? 手球在中国体育界的处境,和海军陆战队在美军的处境,还真是同病相怜。 美国海军陆战队,称得上是海军、陆军和空军三合一的产物,而且其待遇和地位也是美国四大军种中最低的,在美军中是妥妥的四等人。 而手球这项体育运动项目,也堪称是足球、篮球和排球三合一的产物,在中国体育界,手球也是团体球类项目中待遇和地位最低的,手球在中国体育界也是妥妥的四等人。 不过,再卑微的四等人,也有华丽逆袭的时候。陆离下山之后,竟然和一个女人发生了关系,却不想竟然是自己的未婚妻。 让我牵起你的手,带你见识这个世界不一样的风采。沈清风本是秦皇之子,原以为能够荣华富贵一生,可还没来得及享受,就被自己的青梅竹马杀害,就此陨落。 千年之后,他意外重生,而自己的青梅竹马已经成为了蓬莱界唯一的皇,这一世,他能否报仇,成为那凌驾众生之上的神。阳光,迟到,操场,球衣,背影,偷瞄,食堂,小卖部,夏天,下课,对视,躲闪,心动,暗恋,打球,黄昏,中考,高考,对线生活,这就是他的青春....你的青春,有遗憾吗?
建网站就找伍佰亿 网络营销的理论包括哪些 市委网络安全和信息化领导小组办公室 网络营销策划流程 网络营销成本核算 c 网络安全编程 工业网络安全技术 信息安全服务资质(安全开发类),-1 沈阳网站建设的公司重庆网站制作公司 网络营销实战总结 强迫症的案例分享【www.richdady.cn】 亲子关系的情感交流方法有哪些?咨询【www.richdady.cn】 孩子不爱读书的阅读习惯【www.richdady.cn】 外灵干扰对日常生活的影响咨询【www.richdady.cn】 婚姻生活不顺的前世记忆咨询【www.richdady.cn】 外灵的种类【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何改善亲子关系?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 失业的自我提升【σσЗ8З55О88О√转ihbwel 升职加薪的障碍分析咨询【企鹅383550880】√转ihbwel 老公家暴的前世因果【σσЗ8З55О88О√转ihbwel 什么原因意外的心理调适【σσЗ8З55О88О√转ihbwel 成人发育倒退的可能症状【σσЗ8З55О88О√转ihbwel 与男友前世的识别方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的前世因果咨询【微:qq383550880 】√转ihbwel 婴灵的超度方法咨询【微:qq383550880 】√转ihbwel 耳鸣的自我提升【企鹅383550880】√转ihbwel 去世的母亲的前世解析【www.richdady.cn】√转ihbwel 前世老公的前世案例咨询【企鹅383550880】√转ihbwel 孩子压力大的案例分享【www.richdady.cn】√转ihbwel 前世缘份的前世修行威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 傲盾信息安全管理 德阳网站建设公司 信息网络安全评估的方法 邢台网站定制 东欧 网络安全敏感国家 信息安全等级保护测评工作管理规范(试行) linux网络安全 国家网络安全管理部门 郑州计算机网络安全 营销搜测 网络营销职业经理人 视频营销软件都有什么软件 德阳网站建设公司 东欧 网络安全敏感国家 潜江网站建设 网络安全 公安 南京移动网站设计 国网公司网络信息安全 陕西省网络与信息安全测评中心怎么样 国家信息安全管理中心待遇 冯英健 内容营销 京东商城的营销环境网站怎么办 国家网络安全管理部门 吕梁网络营销 windows server 2003网络安全试题 网站制作费用 国家网络安全管理部门 衡阳网站优化 网络营销策划流程 linux网络安全 国家网络信息安全中心,-1 网上的营销现象 信息安全等级保护部署 潜江网站建设 云计算与网络安全视频教程 成都市网站建设 秦淮网络营销系统 深圳做网站公司 三只松鼠营销的缺点 网络营销的理论包括哪些 邢台网站定制 上海网络营销服务外包 南阳手机网站建设 成都专业信息安全服务 网络软营销 信息安全分析师培训 中国信息安全管理机构,-1 北京微博营销服务商 南京移动网站设计 营销学视频 信息安全预警服务 网络营销策划流程 网站设计 广西 手机付费咨询网站建设 网站建设合同 qq营销 信息安全泄密案例 国网公司网络信息安全 网络营销专业科类别 网络安全等保 2017 信息安全事件 路由器网络安全密匙 2015网络安全论文 2015年11月出台网络安全法 网络安全管理需要什么 手机打开一个网站说你的浏览器不支持javascrip 信息安全分析师培训 昆明做网站哪家好 2017年5月 网络安全法 网络营销的调研报告 网络安全 人才队伍 网站建设技术 企业网站必须实名认证 网络营销工程师教材 qq营销 深圳网站建设哪家好 网络安全及防护 成都 国企 网络安全 工业网络安全技术 网络安全产品厂商 网络安全文档 郑州计算机网络安全 杭州网络科技网站 网络安全 人才队伍 网络安全2017 佛山网站建设的首选 信息安全服务资质测评 互联网传统营销模式有哪些特点 京东商城的营销环境网站怎么办 中大信息安全专业 网络营销成本核算 网络安全管理需要什么 互联网传统营销模式有哪些特点 国贸网站建设 信息安全相关技术 信息安全性测试 网站制作费用 国家网络安全管理部门 广西首届网络安全 信息安全服务资质(安全开发类),-1 信息安全等保测评报告 网络营销专业科类别 网站的设计、改版、更新 信息安全等级保护二级的认证 深圳做网站公司 网络安全建议书 吕梁网络营销 西安营销公司排名广州做网站如何 知名 信息安全实验室 西南科大 信息安全,-1 高校信息化 网络安全 网络营销培训学院 平安信息安全 网络安全和信息安全 网络信息安全包括 网站的设计、改版、更新 企业网站系统 信息安全培训资料 网站免费认证 APP营销特点 安庆网站设计 信息安全和信息管理 信息安全等级保护部署 网站制作费用 APP营销特点 网络营销职业经理人 合肥 网站建设 上海平台网站建设公司排名 网络营销职业经理人 秦淮网络营销系统 西南科大 信息安全,-1 烟台网站建设联系电话 国家网络安全管理部门 企业网站必须实名认证 网站定制 天津