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

<a class="close" href="https://xvt8.qage.cn/">&times;</a>
优质网站网络营销效果评估指标如何制作网站关于网络安全的误解国外网站模板占位营销关于开展通信网络安全检查工作的通知南京做网站的有哪些信息管理信息安全网络安全法分析宫免费网站 他贺不凡只是一个苦命的孩子,被父亲囚禁在井底两年,最终逃不过被打断全身筋骨的命运, 本来他已经绝望趴在母亲的坟头想一起去了,没想到母亲的坟头愣是被他用泪水浇灌出一株黄豆来, 在母亲的指引下他吃了下了豆子,却给他带来了无穷的力量 莫欺少年,且看他斗老爹,逆风翻盘,创建仙道!静静通过思考进入有不可知力引起的所有的思想结界,并且打破了所有结界的贯接点,从所有结界的最底层通过思想进入了结界的至高点。这途中静静经过了两大阵营,分别是共济会和神界都在虚拟空间里的自己里拿到了绝对的荣誉。带着本身的正义,静静在达到共济会最高处推翻世界上所有的物理体系之后,重新写出了整个世界。带着这份荣誉静静没有拿掉共济会和世界上所有的坏人,然后被转接到了下一个结界就是神界。神界在第一时间给我发来正义之约,要请我再一次的打败神界所有坏人,坚持自己的使命,就是拯救人类,否则人类就会毁灭。因为他们看到了整个人类的所有恶,没有活路。如果静静顺利完成任务,人类会得到绝对的光明,如果静静死掉,人类会一一按顺序毁灭。静静会是下一任信仰。静静先是救世主,也是造物主,然后是下一任信仰,最后是最大的主神。清明时节,寒雨阵阵。 身为灵异主播的叶辰给爷爷烧纸,顺带最新款式的美女。 夜晚,爷爷却鼻青脸肿地站到他面前,竟是被奶奶揍得! 哄堂大孝之间,爷爷却传来一个消息,他在地府造反了,急需冥币! 身为爷爷的好大孙,叶辰当仁不让。 冥币? 直接把功德之钱烧下去! 武器? 冒蓝火的加特林怎么样? 就是这么狂!王国战争结束时,因九牧义展现出超强实力被王国所忌惮,于是王国高层提出铲除这个少年。其父亲身为王国第一将军,在王宫大殿上以自己的性命为代价,打通了通向人界的大门,为九牧义提供了生的希望。这个12的少年降临人间后被一位老者收养,本以为生活会一直平静下去,但4年后一个人的到来打破了他生活中的宁静,未来终究还是朝着不确定的方向发展。脑子有一扇门,可以自由穿越异世界。 本来以为可以当个小倒爷,在平平无奇的古代世界享受财主生活,结果这个世界有佛,有妖,有儒,有道,有武者。   有人能力拔千钧,有人能飞天遁地。 千年人参要不要? 绝世神功要不要? 长生不老丹姚不远? 当姚不远带着高武世界的东西回来,美女要倒贴他,豪门世界,古武门派,争相而来,跪求宝贝。 姚不远心道,我能说这些东西都是垃圾吗?位卑不敢忘族,匹夫一怒,尚且血溅五步,小人物也有大情怀,天启大陆种族共存,大小势力无数,一轮墨绿色翡翠圆盘,让林风从微末中崛起。 异世赌徒遇到当世疯子,风云变幻,看得他俩如何作死,在这人命如草芥的世界,如何为人类谋福祉呢?打架其实并不是一件多华丽的事情,有的人三两下被打趴下就再也爬不起来了,根本不存在那种斗来斗去如同功夫切磋一般的场面。少年紫宸用一命认清兄弟,机缘遇雷元复生,得炼体法诀,踏上强者之路。 雷电淬圣体,造化铸天途!以坚韧之心,踏雷武巅峰! 新书《万道神帝》已经上传。网文作者穿越西游世界,开局一本《斗破》,吸引猴子来拜师。 什么修仙,什么西游,哪里有看小说有意思? 为了写出一部精品,猴子拜师牧尘门下,他绞尽脑汁,大闹三界,只为寻找创作灵感。 这还不算完,当哪吒看了《魔童降世》,当天蓬看了《春光灿烂猪八戒》,当杨戬看了《封神榜》,整个西游顿时乱了套。 身在紫霄宫的鸿钧老祖表示,这本小说实在太好看了,本圣也要来催更!
网络安全宣传周 义乌做网站 网络安全防护框架 软件定义网络安全 信息安全热门研究方向,-1 信息安全测评招聘,-1 淄博网站排名seo 网络营销效果评估指标 网络信息安全基础常识 网络安全防护框架 老公家暴的原因分析【www.richdady.cn】 升迁障碍的职场规划咨询【www.richdady.cn】 财运不佳的财富管理方法有哪些?咨询【www.richdady.cn】 发育倒退的咨询技巧【www.richdady.cn】 耳鸣【www.richdady.cn】 如何改善精神不振的状态【www.richdady.cn】√转ihbwel 大龄剩女的改运方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 意外的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 外灵对人的影响咨询【企鹅383550880】√转ihbwel 暗恋的心理成长咨询【www.richdady.cn】√转ihbwel 亲子关系的教育理念有哪些?咨询【微:qq383550880 】√转ihbwel 如何克服升迁障碍?【σσЗ8З55О88О√转ihbwel 莫名其妙感伤的自我提升咨询【www.richdady.cn】√转ihbwel 官司的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 性压抑的自我提升【企鹅383550880】√转ihbwel 前世今生的轮回真的存在吗?咨询【企鹅383550880】√转ihbwel 灵魂化解的仪式【微:qq383550880 】√转ihbwel 纠纷的调解技巧【www.richdady.cn】√转ihbwel 忧郁症的预防措施咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 精神不振的环境影响咨询【σσЗ8З55О88О√转ihbwel 信息安全设计规范 占位营销 东营市报名系统网站设计公司杭州的网站开发 网络安全检测系统 深圳大型网络营销公司排名 昆明建网站公司 网络安全身份认证有哪些类型 从服务器复制文本粘贴到本机 信息安全 能查到么,-1 全面的苏州网站建设 网站建设大致价格2017 国保联盟信息安全技术,-1 营销销售的区别是什么意思 网络安全 最新 方向 软件定义网络安全 中国网络安全年会比赛 网络安全公司咨询 信息安全攻防实训系统 信息安全周 信息安全对嵌入式攻击 占位营销 阳江网站建设 网络安全法分析宫免费网站 网络安全 最新 方向 网站推广报价怎么用域名建网站 重庆网站建设优化 浦东新区网站建设 医院信息安全等级保护方案 网站制作推广公司 信息安全报告 2017 工控 信息安全 济南营销 关于加强网络安全学科建设和人才培养的意见 苏州网络营销公司 网络安全实训心得 元站点网络营销方法 网络营销广告形式 网站建设报价 番禺网站建设专家 网络营销商 美国网络安全战略特征 南京营销型网站建设 国网信息安全试题,-1 信息安全报告 2017 南京营销型网站建设 关于开展通信网络安全检查工作的通知 网络安全检测系统 石家庄网站公司 《信息安全等级保护管理办法》 网络安全身份认证有哪些类型 北京网络营销师讲师 2014 网络安全事 长沙手机网站建设 网络安全探究 网络安全 飞天诚信 王老吉 春节营销案例 信息安全对嵌入式攻击 国家互联网信息安全 网站样式 网络营销 实践 信息安全对嵌入式攻击 装饰微营销 网络安全公司咨询 信息安全产品目录 从化建网站 国外的网络营销商城 网络营销网站建设案例 信息网络安全学院 中国移动 网络安全 重庆整合营销哪家好 信息安全等级保护技...,-1 深圳大型网络营销公司排名 信息网络安全学院 网站的目录结构 网站推广报价怎么用域名建网站 网站制作推广公司 网站的目录结构 东营市报名系统网站设计公司杭州的网站开发 信息安全设计规范 信息安全报告 2017 合肥网站制作报 c 信息安全 网络营销科技公司做网站团队 石家庄网站公司 王老吉 春节营销案例 全面的苏州网站建设 网络安全实训心得 成都做网站多少钱 上海做网站公司 网络安全宣传周 信息安全证书查询 王老吉 春节营销案例 淄博网站排名seo 工控 信息安全 诸城网站制作 长沙网站设计服务 信息管理信息安全 国外网站模板 无线网络安全测试 网络公司营销策划方案在iis网站的asp脚本文件权限分配时安全权限设置为 网络安全 经验 信息安全攻防实训系统 网络安全法分析宫免费网站 义乌做网站 昆明建网站公司 个人网站欣赏 番禺网站建设专家 信息安全管理体系检查 信息网络安全员 无线网络安全测试 国网信息安全试题,-1 网络安全宣传周 全面的苏州网站建设 网络营销 实践 flash网站 优质网站 信息安全设计规范 个人网站欣赏 服务类如何做网络营销 信息安全周 国家互联网信息安全 网络安全实训心得 信息安全报告 2017 网络安全如何推广业务 网络安全 最高法 网站样式 网站推广优化张店 无锡网站推广公司 广东省信息安全协调工作系统 网站制作推广公司 gbt 20984-2007 信息安全技术 信息安全风险评估规范 合肥网站制作报 重庆綦江网站制作公司推荐 酒店网络营销方法 从化建网站 《信息安全等级保护管理办法》