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

<a class="close" href="https://z2uu.woqa.cn/">&times;</a>
网站建设seo优化公司信息安全等级四级网站建设seo优化公司展示型网站建设流程上海营销如何注意网络安全网络营销方向学什么不同国家网络安全信息中心网络安全 主动出击2016国家网络安全博览会楚君玄一穿越,就遇到了神仙姐姐被人追杀,本以为会死,却被一块青玉所救…… 夺仙人之躯的楚君玄,随手一掏,就是仙家法宝;入住全是少女的秋水宫;与一众仙子、妖女打得火热;和李靖、秦叔宝、李淳风等大唐英豪们称兄道弟、斩妖除魔…… 妖魔两族来袭,人间经历大劫,七大妖王、八大魔头、九真五佛,高手如云,一场波澜壮阔的妖魔大战开启…… 魔主?我的乖乖,想不到本公子竟然会是最大的反派 宋江:那是我的梁山? 萧禾:梁山?星主的?谁说的,靠边靠边,我先来的 宋江:可是,九天玄女给我说的 宋徽宗:吾的九鼎何在 道长:在梁山乡村少年沈约是一个勤劳能干,正义感强,又有些粗心的中学生,让我们一起走进他的世界吧〖叮,已绑定宿主〗 〖数据正在加载中〗 〖叮,恭喜宿主绑定“末世生存系统《主角版》”〗 这是一个规则无法束缚人性的时代,这是一个用力量来谋权夺利的黑暗世界,这里没有任何规则和法律,有的,只有满地的丧尸和天上飞的乌鸦,还有那哀嚎着的流着血和泪的人心…… 且看主角如何靠着系统和力量爬上这世界之巅,拯救这破碎的世界! 一天重复着一天,当初选择并打算坚持的理想在不知不觉中变了质,面对现实中的种种无奈,不得不放弃一些长久以来所坚持的东西,迷茫的寻找着以后的路,如果有一天我们如众多穿越者那样穿越到不同的世界,我们又能做什么?又能改变什么?(PS:一直答应过一位好友要以他为主角写一本书,虽然好久好久没有联系,毕竟答应过的事情都要做到,人不能无信嘛,本书虽然会写得有些乱,未来可能骂评如潮,但是不会鸽,会坚持写完。) 他年少有为,方刚正义,一身侠胆,只身入江湖,却历经磨难,缕尽挫折,然而,他却默默无闻。 一日间,他又名震武林,成为一代绝世高手——《玄天圣剑》,傲笑江湖,为报血海深仇,在茫茫尘世间,他广结朋友,众多侠义之士与他一起同生共死,经历了一个又一个的故事,闯过一座又一座的魔窑,他最终却还是英雄难过美人关,陷入情海中。 此书乃作者经多年心血所创的一部武侠精髓之作,书中人物横众,侠胆柔情,恩怨之争,尽在不言中。 在梦里,我梦到了一片海,在海边有一百个人静静地看海。他们说愿意把每个人的故事讲给我,让我写出来。我很羞愧,至今我的作品仍无人问津。他们说相信我,总有一天会闪闪发光。 带着他们的信任我把他们的故事转述出来,这次看似我是作家,其实写作的是他们自己。重启大道、重塑天道这是正确的吗?一场看不见胜利曙光的战争,三百六十五帝浴血奋战,只为守护最后安宁,他们是万族的唯一防线。穿越到大乾王朝的陈河,入赘叶家,本想着这辈子要不做个赘婿吧。   混吃等死算了。   谁想到新婚妻子娇艳如花,奈何天生体弱,红颜多薄命。   一本《伤寒论*小青龙汤》救了新婚的妻子。   一本《本草纲目》本奉为万世医典。   《神农本草经》济世悬壶,引得天下医道追逐。   多年以后,看着自己的济贤堂开遍大乾,陈河本想着这辈子也就这样过吧,娶个七八房媳妇,生个十几个娃,但没想到大乾内乱。   一纸诏令直达应天。   宣:陈河入宫!秦凡为救老婆,不得已暴露自身能看到宝物气息的能力,不断捡漏,只要是宝物,在秦凡的眼中都无所遁形,因此引起各方势力的注意,破真伪,看人心,鉴宝捡漏,玩转人生……
网络营销学哪一块好 信息安全工程专业兴趣研究报告 淘宝营销理念 网站策划图 网站建设视觉效果 饥饿营销是事例 优品上海品牌营销管理 这样建立自己的网站 淘宝营销理念 顺德手机网站设计信息 家庭关系中的矛盾如何解决?咨询【www.richdady.cn】 忧郁症的预防措施咨询【www.richdady.cn】 升迁障碍的案例分享【www.richdady.cn】 家庭关系的幸福指南有哪些?【www.richdady.cn】 前世老公的咨询技巧咨询【www.richdady.cn】 忧郁症的原因分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的轮回转世咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 祖灵【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 事业不顺的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的咨询技巧【σσЗ8З55О88О√转ihbwel 自闭症的前世因果【σσЗ8З55О88О√转ihbwel 缺心眼的表现及成因咨询【微:qq383550880 】√转ihbwel 与老公前世的识别方法咨询【σσЗ8З55О88О√转ihbwel 化解祖灵的仪式流程咨询【σσЗ8З55О88О√转ihbwel 人际关系不好的案例分享咨询【σσЗ8З55О88О√转ihbwel 人际关系不好的沟通技巧咨询【企鹅383550880】√转ihbwel 与女友前世的咨询技巧咨询【www.richdady.cn】√转ihbwel 迟缓儿的案例分享【σσЗ8З55О88О√转ihbwel 前世老婆的识别方法【σσЗ8З55О88О√转ihbwel 冤亲债主干扰有哪些案例?咨询【企鹅383550880】√转ihbwel 网络安全大事记 怎么建手机网站 商业网站设计方案 网络安全的特殊性 网络营销学哪一块好 如何成为顶级信息安全 信息安全等相关专业 2017青岛网络安全会议 我国信息网络安全现状分析 移动营销有哪些特征 2016网络安全大会视频 佛山外贸网站建设方案 国家信息化培训网络安全 网站策划图 北京网站优化公司 信息安全技能赛 安全狗 信息安全管理体系 珠海企业网站制作公司 网络营销师做什么 网络安全宣传情况 山东专业企业网站建设 中国科学技术大学信息安全测评中心 沈阳网站设计 网站颜色表 网络营销方向学什么不同 五级网络安全危 信息安全等相关专业 营销型网站建设sempk 新的营销新观念 秦皇岛网站建设 市场营销未来规划方案 微信营销活动公司简介 山东专业企业网站建设 聚美营销岗 黄鑫信息安全竞赛 有关网络安全的专业 做网站前 淘宝营销理念 网站说服力 广州h5网站开发 信息网络安全答案 信息安全类竞赛 微营销的目的 网站策划图 网络安全网关 企业网站管理 济南网站制作设计公司 建和做网站 上海营销 商业网站设计方案 深圳整合营销案例 全球网络安全市场报告 许可营销 网络安全实践 信息安全会议 infosec,-1 做网站收费网站站内优化 网络营销学哪一块好 深圳网站建设外包公司 石家庄的电商网站建设 网络安全扫描器 网络安全态势感知 宁夏网站建站 如何注意网络安全 饥饿营销是事例 长春880元网站建设 信息安全专业最新消息 营销型网站案例网站建设成都公司 国家信息安全产品认证 信息安全管理主管,-1 搭建网站 网页 江苏省网络与信息安全协调小组 信息安全机构认证 ids与防火墙联动的网络安全模型设计 我国信息网络安全现状分析 长春网站建设 中国科学技术大学信息安全测评中心 网络营销方向学什么不同 顺德手机网站设计信息 移动营销有哪些特征 微电影营销 大连 网站制作 全国大学生信息安全竞赛2017 2016网络安全大会视频 江苏省网络与信息安全协调小组 网站上线 营销发展史 佛山外贸网站建设方案 营销faq 全球网络安全市场报告 网络安全三级标准测评 国家信息化培训网络安全 长春880元网站建设 营销faq 信息安全工程专业兴趣研究报告 网站策划图 亚马逊 内容营销 信息安全工程专业兴趣研究报告 优品上海品牌营销管理 北京网站优化公司 通州顺德网站建设 整合营销方案是什么 石家庄的电商网站建设 信息安全技能赛 安全狗 上海手机网站建设电话咨询 滴滴出行网络营销策略 东莞市策划营销顾问 信息安全管理体系 网站建设师 视频网站设计 沈阳网站设计 珠海企业网站制作公司 营销型网站案例网站建设成都公司 建网站可靠 网络营销宏观环境包括! 网络营销师做什么 信息安全技能赛 安全狗 内蒙古网站建站 做网站成本 网络安全宣传情况 网络安全大讨论 2017青岛网络安全会议 网站怎么设置支付 山东专业企业网站建设 信息安全的组织机构 网络安全大讨论 做网站多钱 中国科学技术大学信息安全测评中心 网络安全法正式实施 做网站多钱 做网站前 沈阳网站设计 信息网络安全接入技术规范 优品上海品牌营销管理 ids与防火墙联动的网络安全模型设计 网络营销战略特点是什么