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

<a class="close" href="https://fqe.wodi.net.cn/">&times;</a>
哪里有培训营销的学校沪江网络营销信息安全应急响应中心搜索引擎营销教案网站空间购买湛江有哪些网站建设公司唐山网站托管信息安全 学会网络安全与病毒防范第三版网络安全服务商高阳原本是个蓝星的雇佣兵,在一次执行任务中来到了金庸武侠世界--神雕。 在神雕世界中获得武林中人梦寐以求的武林秘籍,左手六脉神剑、右手降龙十八掌,年纪轻轻就达到别人一辈子的成就, 一个小小的蝴蝶能带动多大的效应?神雕世界因为高阳的到来又会有什么样的变化?神雕中的爱恨情况是否因为高阳的到来而改变? 让我们走进神雕世界,看高阳如何在江湖中翻云覆雨~~~~~ 各位书友要是觉得《神雕之我是大魔王》还不错的话请不要忘记向您的朋友推荐哦一代废柴李杜天生无灵根,被万人唾弃,却不曾放弃,专修丹道,可一次机缘巧合之下,获得了妖仙的传承,从此步入妖道,抢万世之资源,夺天地之造化,一场奇妙又惊险的另类修仙,就此开始……星球殖民,外星入侵,一段奇幻的平行之旅能否化解危机“苍天已死,黄天当立,岁在甲子,天下大吉。”黄巾起义 ,群雄逐鹿 ,东汉末年,皇帝昏聩,宦官专权,民不聊生。乱世风云谁际会,一威之震化龙飞,青梅煮酒论英雄,天下豪杰出我辈。历史犹如一座舞台,你方唱罢我登场,世事如棋局局新,执棋人终将变成棋子…我相信这个世界的某个地方会有另一个我,在完成我未能完成的事,过着和我不一样的人生。 你好,我是向楠,我能看见...李察是一个意外惨死的草根青年,死后却穿越到了一位异世界子爵的身上? 魔兽横行的世界,查理出身于克兰顿王国,是巴隆克拉伯爵的长子,王国子爵,可家族的领地却被兽潮摧毁。 查理在被猎魔骑士团救下后李察却意外穿越,并觉醒了系统。之后他加入了骑士团,成为了猎魔骑士的传奇南门星域嗜破一念成魔,与兄长反目,掀起了一场持续千年的旷古大战。 天狼星仙域郑仁安奉师命,前往南门取龙神宝鼎,归途中却遭嗜破手下的追杀,逃往地球途中巧遇了姜少典搭救,与姜少典义结金兰,道出龙神宝鼎的秘密。 鬼眼嗜破心有甘心,在地球掀起了一场人、仙、魔族之间的上古大战…… 公元2114年,白翼骋、许晓信组成的高科技考古队机缘巧合下,遇到了地球守护仙人姜集。并在他指导下,成为人类首批超能者。 此时南门星域的大魔王赫努尔野心勃勃,一心想吞并太阳系,成为星际霸主。 可是人类科技与魔族相差甚远,在天狼仙域修炼了六千年的姜少典心急如焚。于是人仙再次结盟,共同对抗强大魔军,一场场星际大战打得如火如荼。 人类培养出大批超能者,终于战胜了不可一世的大魔王……一封邀请函中埋藏了几千年的阴谋,九死一生的鬼校中没有置身事外,处处血流成河。一念之间定生死,百人齐心决成败。华国,罗斯国,印国,东洋国,澳国,五个大国面临前所未有的危机。却不知这一切,只是决战前夕。 大学生活刚开始,却遇上灵异复苏和异能觉醒; 且看一大学生的变强里程 (本人仅仅是位初中生,但觉得以大学生视角好写点,就在设定是主角是大学生了;如有不对,请及时提醒)刘金行喝酒感慨人生的时候,上天让他回到98年,面对曾经困苦的家庭,他决定为之努力。 还好重生回来,上天给了一个金手指,通过随身空间种田养殖,生活随之改变,生活是一幅悠闲自在的模样,然而他看见了,身边同样困苦的亲朋,他突然明白了,重生也是一件任重而道远的事情。 开服装店,游戏厅等等,之后以随身空间为中心的,商业版图已然展开…… 刘金行想说:重生一回,就要有别样的人生,一定要随风而起。
网络安全测试请示 个人电子营销平台登录 信息安全咨询服务 国外 做网站域名 为了提高网络安全 微信网页版信息安全吗 顺德营销网站设计 举例说明网络安全面临的威胁 国家网络安全人员图片 聊城集团网站建设 婴灵、邪灵、祖灵咨询【www.richdady.cn】 事业不顺的风水布局咨询【www.richdady.cn】 婴灵的超度过程咨询【www.richdady.cn】 孩子不爱读书的家庭教育咨询【www.richdady.cn】 暗恋的情感释放【www.richdady.cn】 孩子压力大的改运方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 通灵老师预约咨询【www.richdady.cn】√转ihbwel 前世今生的缘分再续【σσЗ8З55О88О√转ihbwel 事业不顺的职场瓶颈如何突破?【www.richdady.cn】√转ihbwel 缺心眼的表现及成因咨询【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的前世因果【微:qq383550880 】√转ihbwel 解梦的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 什么原因意外的前世案例【σσЗ8З55О88О√转ihbwel 如何解决孩子不爱读书的问题?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 暗恋的前世因果【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 升迁障碍的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的故事有哪些经典案例?咨询【www.richdady.cn】√转ihbwel 意外的前世缘分咨询【www.richdady.cn】√转ihbwel 心特别累的咨询技巧咨询【www.richdady.cn】√转ihbwel 小企业破产的主要原因【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 新网站建设平台 认证代码 信息安全 厦门做网站公司 商业网站模板 网络安全证书查询 怎样建设网站 全球网络安全公司排名 大学生信息安全 网络安全解决 网络营销的一些问题 天蓝色网站 搜索引擎营销优点 网络安全趋势 企业 网络安全 案例及分析 网络安全防御系统是个动态网络安全日 赛 网络安全方面的注意点 智慧城市信息安全体系建设方案 网络安全博览会地点 国家信息安全工程研究中心 江门网站建设 网络营销软文100字 网络安全周 郭启全 网络安全趋势 东莞做网站 网站意义 顺德营销网站设计 32个信息安全技术国家标准 健身器械网站建设案例 从重大事件看网络安全形势答案 广告营销技术sem 解放军网络安全 申请网络安全证书 房山网络安全小镇 网络安全技术图片 信息安全咨询服务 国外 网络安全周 郭启全 网络营销平台建设方案 北京互联网营销公司 国家网络安全人员图片 网站设计贵不贵 微信营销的目的 各国网络安全部门 上海信息安全???生招聘 idc机房信息安全 网络营销相关资料 电子商务网站建设 营销页面策划 网站尺寸 网络营销促销特点 大连网络营销 信息安全管理制度建设 信息安全 实训系统 健身器械网站建设案例 网络营销促销特点 全网营销方案及布局网络营销学概论 网络安全 构建网络空间 萝岗网站建设 网络营销策略翻译 网站免费注册域名 芜湖网站建设公司 济南模板网站制作 在网站上显示地图 东莞做网站 网络营销的5种类型 电子科技公司网站网页设计 网络营销的一些问题 网站优化案例 微信公众号关注营销案例 网络安全防御系统是个动态网络安全日 赛 国家推进网络安全什么服务体系 举例说明网络安全面临的威胁 网络安全测试请示 网站建设公司广告 网络安全证书查询 手机网站布局 网络营销入门指引 网络营销的5种类型 中国信息安全测评师 中文网站模板 房山网络安全小镇 福州做网站公司 产生信息安全事件的原因有哪些 微信营销的目的 门户类网站费用 网络营销策略翻译 洛阳网站优化 临沂在线上网站建设 网络营销可以吗 做网站域名 临沂在线上网站建设 实施e mail营销的流程 全球网络安全公司排名 营销培训证书 架设网站 信息安全 实训系统 动效网站 顺德营销网站设计 公安局网络安全部 萝岗网站建设 信息安全咨询服务 国外 自己创造网站平台 企业为何要做网站 网站建设公司倒闭 网站排序 大良营销网站建设流程 微信网页版信息安全吗 厦门做网站公司 新网站建设平台 申请网络安全证书 专业网络营销 营销推广全网整合营销 简洁大方网站建设武汉市网络与信息安全,-1 商业网站模板 南京微信营销软件 洛阳网站优化 pci 信息安全 汪玉凯 网络安全 信息网络安全 司法解释 网络安全 汽车 网络安全防御系统是个动态网络安全日 赛 移动互联网营销转化 滨州建网站 简洁大方网站建设武汉市网络与信息安全,-1 做app网站建设 认证代码 信息安全 苏州网络营销外包 门户类网站费用 广西信息安全大赛 网络安全趋势 南京专业微信营销公司有哪些 网络安全 构建网络空间 建网站的详细步骤 网络信息安全犯罪案例,-1 网络营销入门指引 万户网站制作