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

<a class="close" href="https://wkw.woqa.cn/">&times;</a>
网络安全 成都信息安全分级系统自查广州网络安全平台登录信息安全等级保护论文,-1信息安全研究网站用途营销型网站代理台州优秀网站设计网站用途论网络营销本是千万富翁,却遭遇破产危机,结婚六年的妻子还送给我一顶大大的绿帽。 人生低谷,却无意间结识美女总裁。 为还自己清白,我重振昔日辉煌,不仅要手刃仇人,我还要让那些瞧不起我的人跪下来叫我爸爸。 人性是善是恶,争论千年无休止。 而我的故事就要从人性上开始说起…在空灵大陆上,修为决定着每个人的命运。大陆上,人的修为分为融体境,坚身境,铸心境,幻灵境,天元境,破玉境,芥子境,真元境,虚仙境,天神境,能登上天神境的强者少之又少,男主元翼在磨难中一步一步成长,在他向往的世界里,爱过,失去过,被人背叛过,终成一代强者。修真界里除了有漫长的修行之外,还有永不休止的杀戮。蔡狗蛋意外穿越平行世界,这个世界秦国没有统一天下,甚至其余六国还大变样了! 韩国魏国,不再是原先世界中,战国后期孱弱的形象。 赵国燕国的领土不断的向外扩展 齐国凭借着贸易,被誉为天下第一富国。 楚国疆域最大,人口最多。 本来想着当好自己的贼二代,混吃等死一辈的蔡乾,却被乱世搅得一刻也不安宁。 为了自己可以混吃等死一辈子,那就创造一个不会打扰到自己的国家!风动衣衫雨动帘,楼外青山人未还,烟波江影及时休,月照清水满河畔。本是天之骄子,却被下毒陷害,险些命丧黄泉,流落江湖,纳兰枫烬,势要杀回九重天阙,夺回属于自己的一切,从此之后,皇城江湖,唯我独尊。穿越了,我是大孝子。 穿越东汉第一天,我拳打郡守老爹,脚踩七旬老太。 新婚媳妇要杀我,张八百要对我赶尽杀绝。 城内百姓恨不得将我生吞活剥,于是干脆聚众造反。 这还没完,城外更是有十万饿急眼的黄巾军扬言要冲进城来,砍下我昭昊的脑袋。 怎么办?在线等,很急! ...... 本书无系统,有外挂。 腹黑热血+爆爽,带读者老爷们体验不一样的三国。 喜欢本书的读者老爷们,快到碗里来吧!。。。。"三阴绝脉"者,史书所载;凡患此症者非但终生不能修武,并且几乎无一人能侥幸活过十三岁。命运关上所有的幸运之门,却开了一扇窗,令其在绝境中峰回路转,当其踏着尸山血海攀上巅峰之时,骇然发现一个惊天之秘。暮然回首,惊觉自己脚下的这片世界幌若恒河之沙粒,渺若微尘。何去何从……原本在地球上生活的宅男陈轩穿越异世大陆,获得了一个徒儿养成系统。 “什么?这个徒弟又有大帝之资??” “啊?你要问我有多强大?别问!问就是我无敌于世间!” …… 【单女主】+【无敌流】别人的高三可能都是抓紧时间去考大学,而他的高三却是在生死之间徘徊,甚至干脆直接就冒着生命危险去和凶手对峙了。当然虽然这份人设有点过于单调,所以说在这过程中也是开开后宫。玩弄并感受着人情世故,也被人情世故玩弄着,或许这就是人生吧。 明显最开始,只要不去刻意的管的话,那么一切都是安稳起来的。但是因为有着强大的好奇心,所以便有了之后的这份回忆录…
网络与信息安全办公室 重庆互联网营销 网络安全改造 网络安全服务相关国标 网络安全感谢信 网络营销的安全性 北京网站建设第一 网络营销自学课程 优秀网站案列 广州网络安全平台登录 不爱读书的环境影响【www.richdady.cn】 前世老公的咨询技巧【www.richdady.cn】 前世老公【www.richdady.cn】 灵性成长工作坊【www.richdady.cn】 迟缓儿的家庭支持咨询【www.richdady.cn】 暗恋的原因分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 迟缓儿的治疗方法咨询【企鹅383550880】√转ihbwel 前世今生相关【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的轮回存在吗?【σσЗ8З55О88О√转ihbwel 无形干扰对工作效率的影响【企鹅383550880】√转ihbwel 暗恋的前世因果咨询【企鹅383550880】√转ihbwel 为什么过世咨询【www.richdady.cn】√转ihbwel 精神不振的前世记忆咨询【σσЗ8З55О88О√转ihbwel 冤亲债主干扰的化解仪式咨询【微:qq383550880 】√转ihbwel 自闭症的环境影响咨询【微:qq383550880 】√转ihbwel 如何改善人际关系咨询【σσЗ8З55О88О√转ihbwel 投资项目的自我提升【σσЗ8З55О88О√转ihbwel 前世今生的缘分再续咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 去世的母亲的去向解析咨询【σσЗ8З55О88О√转ihbwel 学习成绩差的心理调适咨询【微:qq383550880 】√转ihbwel 网络营销策划机构 信息安全 西安 企业 青少年维护网络安全 网络安全法 6月1日 2015年工业控制网络安全态势报告 大学生如何维护国家信息安全 信息安全与保护 成都网络营销推广 信息安全等级策略,-1 网络营销宣传方式有哪些 网页制作免费网站建设 网络安全改造 信息安全认证 安全工程 商城网站模板 网站没收录 网站死链查询 网站文章图片加标签加 网络安全安全专业 成都网络营销推广 信息安全等级保护的测评工作中应如何规范行为规避风险 福州网站制作 网站用途 大学信息安全等级保护,-1 河北手机网站制作企业 网络安全服务相关国标 以下不属于计算机信息安全的是 大学信息安全等级保护,-1 房地产饥饿营销策略 中国国家信息安全 关于网络安全基础知识 微信营销软件 封号吗网站建设服务 长沙网络营销推广 网络市场营销 湖南 信息安全公司排名 以下不属于计算机信息安全的是 全球华人网络安全大赛 加强网络安全培训 资阳建网站 什么叫整合营销机构 客户信息安全保护管理遵循 客户信息安全保护管理遵循 网络营销的营销技巧 网络与信息安全办公室 北京网站建设第一 信息安全是否考研 网站建设公司平台 家庭网络安全 信息安全知识培训 上海信息安全技术支持中心有限公司 仙桃网站建设 信息安全等级保护论文,-1 网络安全检测办法 北京网站建设第一 计算机病毒与网络安全 网络安全安全专业 教育类营销案例 教育类营销案例 做门的网站建设 建网站视频 信息安全等级保护论文,-1 网络与信息安全办公室 网络安全预警方案 北京wap网站开发 家庭网络安全 网站文章图片加标签加 重庆互联网营销 网络营销的营销技巧 python信息安全 广州网络安全公司 信息安全市场 idc 信息安全等级保护的测评工作中应如何规范行为规避风险 大学信息安全等级保护,-1 b2b营销推广软件 中英文网站设计 信息安全知识培训 网络营销服务外包 2017网络安全周武汉 计算机网络安全实验报告 网络安全等级保护级别 北京wap网站开发 一般设计网站页面用什么软件 网络安全网页 营销优势和劣势分析 上海信息安全技术支持中心有限公司 网络营销的营销技巧 房地产饥饿营销策略 东莞魔方营销 网站死链查询 手机派网站 福州网站制作 微信营销美文 做门的网站建设 网络安全应急基础平台 湖南 信息安全公司排名 信息安全所 东莞网站设计 网络营销策划活动 信息安全认证 安全工程 网站没收录 网站挣钱网 网站设计模板免费建站 重庆互联网营销 上海信息安全技术支持中心有限公司 网络安全法 6月1日 网络安全状况分析 传统营销需要改变的原因不包括网站中主色调 论述我国信息安全管理现状 免费企业网站创建 微信营销美文 中英文网站设计 网络安全检测办法 des加密算法 网络安全 2013 中国计算机网络安全年会全部ppt.zip 信息安全是否考研 下沙做网站 网络安全网页 中英文网站设计 网络安全 成都 青少年维护网络安全 网络安全感谢信 北京网站建设第一 五种网络营销方法 东莞网站设计 郑州网络营销公司 论述我国信息安全管理现状 科研 信息安全 制度,-1 1号店微信营销方案 网络安全动态分析 番禺网站推广 网络与信息安全办公室 网络营销的安全性 网络营销策划活动 下沙做网站 公安系统网络信息安全,-1 客户信息安全保护管理遵循