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

<a class="close" href="https://asz9.jieng.cn/">&times;</a>
保定投递网站建设泰安网站制作国家网络信息安全中心主任网络营销新方式有哪些手机网站设计咨询网站推广的意义柳州网站建设网络安全攻防内容密码技术是网络安全信息安全逆向穿梭各式聊天群装逼,搞笑升级,无理头,无头脑对话,轻松,幽默。一柄剑、一首诗、一壶酒、走走停停、无数的决斗,便就是一个江湖…一座恐怖的公司,月薪300w,但是会发生许多灵异事件。给你钱你敢来吗?人生是场减法,见一次少一次。 记忆没有永恒,我用小说纪念我们。一个热血少年步入电子竞技后的故事。波元前五亿年,这个星球产生了,不过这里一直是一片混沌,混沌的中心是光与暗的能量。直到有一天,大约在波元前两亿年,混沌发出能量波,出现了两个神——弗卡拉特和撒马利迪。弗卡拉特收集混沌,做成了大地。撒马利迪收集混沌,一部分不停的往上升,变成了天空,另一部分不停的往下降,变成了大海。弗卡拉特和撒马利迪都认为对方的最大威胁,于是他们开始了决战,他们杀的天昏地暗,最后未能分出胜负。这一场纷乱过后,弗卡拉特以及撒马利迪不再往来,弗卡拉特守护着暗能量,撒马利迪则守护着光能量。在历经无数生死之后,那最终迎来的一切只是开始,历史似乎一直在轮回中。两个时间点的男主定期互穿到各自的时间点会发生什么事呢…历史系单身狗秦墨穿越大乾,成了秦国公家的憨子世子。 本想斗鸡遛狗潇洒过一生,可大家都逼他! 秦国公:儿子,我求你,把公主娶了吧! 大乾皇帝:贤婿,你乃朕的福星,这大乾的驸马,你当也要当,不当也要当。 太子:我的好妹婿,没有你的扶持,大舅哥帝位不稳呐! 百官:秦憨子,我们跟你拼了! 异族:秦憨子乃我族最大之敌! 公主:秦憨子,你敢不要我,我就跟你拼命! 万年前,四界大战,生灵涂炭。人族先贤利用时空宝盒的空间神通创造出第五世界,用此结界将四界分隔,战火才得以平息。而他自己一人居一世界,孤独终老。 万年后,一人一妖在第五世界浪漫邂逅,并合作夺取了时空宝盒。后来遭人族暗算,小白香消玉殒,临死前她祭奠生命激发了时空宝盒的时间神通,救于也逃过一劫,同时将他变回到了十五岁。 重生后,于也一心只为复活小白。他利用时空宝盒穿越结界,四界闯荡。一把斩空剑,激起惊涛骇浪。他将时间神通和空间神通双双修炼至第九重,不仅能控制时间流速,甚至可以破开虚空。也因而引发了分隔四界结界的坍塌,四界重新连通,大战一触即发…… 小白这位三人一体、三头六臂的大美妖如何复活? 第二次四界大战又将如何收场? 编大大只需点击“通过”的选项即可揭晓!
静安西安网站建设 1. 公司无线网络安全部署方案 微网站 部队网络安全泄密视频 2017网络安全事例 保定投递网站建设 公司信息安全管理 中国信息安全评测中心 学习网络营销 成都网站设计制作工作室 亲子关系的情感交流【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 化解祖灵的仪式流程咨询【企鹅383550880】√转ihbwel 为什么过世的前世解析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子不读书的前世记忆咨询【σσЗ8З55О88О√转ihbwel 官司的前世因果咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的心理建设咨询【微:qq383550880 】√转ihbwel 构建和谐亲子关系的方法【微:qq383550880 】√转ihbwel 感情纠纷的真实案例有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 祖灵咨询【企鹅383550880】√转ihbwel 迟缓儿的心理调适咨询【σσЗ8З55О88О√转ihbwel 性压抑的情感释放【企鹅383550880】√转ihbwel 家庭关系的相处之道咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 灵魂化解的仪式【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 王老吉营销成功的理由 小型公司网站建设 百度搜索营销 服务器 网络安全 信息安全的内容是 德阳做网站 中国信息安全评测中心 保定 网站建设 南昌网络营销课程 陕西省 信息安全 竞赛,-1上网行为审计 信息安全 网络营销网上营销 成都网站设计制作工作室 公司信息安全管理 无锡地区网站制作公司排名 网络安全必读书籍 怎么判断网站优化过度 中国信息安全测评中心主任 公共网络安全怎样开展内容营销 网站与网址的区别 通信网络安全pdf 网站外接 网站与网址的区别 网络营销之微信 番禺网站建设培训东莞企业营销型网站策划 信息安全渗透培训,-1 泰安网站建设公司 金融 信息安全体系建设方案,-1 涪陵做网站 2017网络安全事例 互联网营销 国内 国外 信丰做网站 涿州做网站 网站外接 手机网络营销的案例分析 当前php环境关闭了文件上传功能网站将无法上传图片和文件 互联网营销思想 网络安全qq群 信息安全行业新闻 选手机网站 国家空间网络安全学院 黄石网站建设 百度搜索营销 学习网络营销 信息安全的内容是 网络安全预警监测软件 公司信息安全管理 公司信息安全管理 从化建网站 合肥网站设计高端公司 黄石网站建设 网站制作 价格 整合营销传播是什么 当前php环境关闭了文件上传功能网站将无法上传图片和文件 健身器械网站建设案例 密码技术是网络安全 网站类型 玄武盾 网络安全 网站建设需要具备哪些知识 网络营销教程网站 如何做公司网站 全网网站建设优化 网络营销之微信 手机网络营销普遍问题 保定 网站建设 公共网络安全怎样开展内容营销 网络安全人员 网络安全动画 柳州网站建设 苏州好的做网站的公司 我想做个网站 产能足 饥饿营销 个人信息安全保护研究意义 网络安全必读书籍 如何买网站 柳州网站建设 怎么判断网站优化过度 网站底部备案 南京餐饮网络营销公司 通信网络安全pdf 密码技术是网络安全 网络安全电影网站 国家网信网络安全应急指挥中心 监控平台网络安全部署 网络营销网上营销 家如何网站 学做网站网 建网购网站 是企业信息安全的核心 南昌网络营销课程 成都 企业网站建设公司 邢台移动网站建设 网站用橙色 我想做个网站 免费创建网站 网站类型 手机网络营销的案例分析 国家网络信息安全中心主任 网络安全动画 网络安全调查报告 网站外接 中山网站建设方案 网站布局图 信息安全大会上排名微博营销的优劣势 信息安全应用技术,-1 php 网络安全 一个网站做几个关键词 网站外接 网络安全人员评估法案 涿州做网站 为何网站需改版 为何网站需改版 2015网络安全 网站建设需要具备哪些知识 企业网络安全管理 icp信息安全评测报告 企业网站建设目的 互联网营销思想 1. 公司无线网络安全部署方案 网络安全qq群 潍坊网站建设多少钱 服务器 网络安全 中国信息安全供应商 对网络安全你怎么看 是企业信息安全的核心 深圳 信息安全 德州网站优化 网络安全预警监测软件 2017网络安全事例 国家空间网络安全学院 上海搜索引擎营销 手机网络营销普遍问题 手机网络营销的案例分析 静安西安网站建设 营销短链 网络安全法 重点