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

<a class="close" href="https://v654n.se5g.cn/">&times;</a>
天津 网络安全事件广州 网络安全网络信息安全调研报告乐清手机网站优化推广微信营销 咨询公司银监 信息安全北京旅游设计网站建设o2o营销网络营销与传统营销第4届国家网络安全片网络安全中国行公司一个退伍的特种兵生意正做得红火的时候,一场流行病袭来死在重病房,穿越到宝玉身上。但是这个宝玉却是在实实在在的清朝康熙初年,且看他如何玩转贾府,如何与黛玉、宝钗发生最让人惊叹的爱情;如何与秦淮八艳共进退;如何揭开康熙的神秘身份,如何解开清朝最大秘辛,如何成为最大的“造反大头目”,最后黄袍加身,成为新的“大汉国”开国“总统帅”!灵界中突然出现了不寻常的危机,这让灵界第一人林钧不知如何解决,而灵界之外,无数强者纷纷越界,想踏平灵界。 林钧苦守无果,最终无奈之下,他做出大胆决定,剥离人性,只身前往灵界之外,寻找问题根源,而分离出的人性,将会修炼灵界之中最强神法,重回大陆之巅,寻找救世之法。女侠何在? “女侠在此!”你们向往的普通人的一生,可是男主却在出生时就表现的很不普通,是绝地翻盘,还是溺死沙场,让我们拭目以待吧传言心门每名弟子都是门主,都是强者。 ……… 破天荒的,那个平时最冷漠的人出“门”了… ………叶天,修仙界绝世天骄,修罗战神,却因功高震主,惨死于庆功楼,魂穿来到地球,重生在一个废物大少身上。带着前世的修仙记忆,叶天强势崛起,血战强敌,逆天而行,纵横都市!他来自修仙界,终将破碎虚空而去!如果你正在读这段话,你已经昏迷了很久了,我们不知道这段信息会出现在你梦境的哪个阶段,但我们真心希望你能看到,请赶快醒来!没有什么公元1252年,天玄大陆地下世界的灵族不堪忍受魔族压迫发动暴乱,联合妖族和人族的激进派向魔族总部发动总攻,最终大获全胜。次年灵族内部分化独立派和亲妖派,魔族为复仇大批涌向地上世界,而仙族为巩固自己统治地位暗中推波助澜,异空间地玄大陆的修罗族对天玄这片土地虎视眈眈,整个大陆也迎来了最黑暗的时代…作者是个很忙,又很闲的人,觉得实在无聊跑来写书,回忆回忆自己的初中生活,重新倘徉一下自己不知所云的青春,大家随意,学生文笔,请见谅
智能网联 网络安全 深圳营销型网站建设 网络安全 lan管理器 山东小孩信息安全 金融信息安全案列,-1 绵阳的网站制作公司哪家好 淘宝营销课程 信息网络安全培训 营销词组 杭州市营销方式 儿子不读书的心理调适【www.richdady.cn】 迟缓儿的环境影响咨询【www.richdady.cn】 与公婆前世【www.richdady.cn】 儿子不读书的原因分析咨询【www.richdady.cn】 亲子关系的沟通技巧【www.richdady.cn】 感情纠纷的情感和解方法有哪些?咨询【www.richdady.cn】√转ihbwel 外灵干扰的心理调适【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何改善亲子关系?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主的干扰与解脱【www.richdady.cn】√转ihbwel 有官司的调解技巧【微:qq383550880 】√转ihbwel 前世今生的奇妙经历【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 解梦的前世记忆咨询【微:qq383550880 】√转ihbwel 孩子厌学的案例分享【微:qq383550880 】√转ihbwel 塔罗牌占卜与心理分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主化解咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的心理建设方法有哪些?【企鹅383550880】√转ihbwel 官司的预防措施咨询【σσЗ8З55О88О√转ihbwel 前世缘份的识别方法咨询【σσЗ8З55О88О√转ihbwel 老公家暴的自我保护咨询【www.richdady.cn】√转ihbwel 等保网络安全方案 营销网站模板 杭州市营销方式 主要营销方式有哪些 企业信息安全隐患 清华大学网络安全 北京旅游设计网站建设 信息安全技能竞赛 公司网站手机版设计 甘肃手机网站建设 银监会信息安全大检查,-1 2016年信息安全产业,-1 中国网络安全峰会 360手机网站首页经典案例 广州 网站建设公司 中型网站国家信息安全中心 qq群营销是什么 深圳营销型网站建设 关于网络安全的电影 动态网站制作 银监 信息安全 高唐企业建网站服务商 网站教程 网上营销有哪些渠道 企业免费建网站 宣传网站有哪些 网络营销3.0 电子书 网站推广优化 网站选项卡 厦门企业网站制作信息安全就是网络安全 信息安全规划的内容 苏宁 营销模式 网络安全 lan管理器 优秀企业网站设计 中国网络安全峰会 360手机网站首页经典案例 企业信息安全隐患 营销学校 重庆网站制作公司电话 动态网站制作 淘宝营销课程 o2o营销 武汉网站建设网页设计网站制作网站建设公司做企业网站公司 信息安全论坛 微博营销是一种新兴营销方式。 大型免费网站制作 重庆微营销商城 深圳网站设计 天津 网络安全事件 重庆网站制作公司电话 信息安全标准化委员会 关于我国网络信息安全与法律保护措施调查 网络安全网络隐身 乐清手机网站优化推广 南昌电商网站设计 四川全网营销推广价格 聚美优品事件营销 营销法则 营销活动公司 重庆 NSACE网络安全工程师 政府信息安全ppt 信息安全博士论坛 信息安全的指标 网络安全黑哥 全国大学生信息安全竞赛 2015 武汉网站建设联系电话 大型免费网站制作 关于网络安全的电影 优秀企业网站设计 网站制作公司哪家专业 营销型网站策划 pdf 南昌网站设计资讯 白银网站建设 微博营销是一种新兴营销方式。 四川全网营销推广价格 智能网联 网络安全 信息安全管理实践报告 网络安全音乐 信息安全国际标准 西安网站建设成功建设 网络安全音乐 营销型网站策划 pdf 2017优秀网站设计案例 如何用网络营销的方法有哪些方法有哪些方法有哪些特点 中国国家信息安全产品认证证书 查询 武汉网站建设网页设计网站制作网站建设公司做企业网站公司 网上营销有哪些渠道 网络营销整体宣传方案设计 医院营销学 国际信息安全中心 网站建设教程 企业邮箱 信息安全会议文件 网络营销理念包含哪些内容 网络安全管理所 金融信息安全案列,-1 信息安全标准化委员会 信息网络安全培训 银行网络安全方案 信息安全 三可 网络合作分享营销 高州做网站 网络营销3.0 电子书 网站推广优化 b站的网络营销 诊断式营销 信息安全管理实践报告 网络营销整体宣传方案设计 网络安全控制策略包括哪些内容? b站的网络营销 2009网络安全事件 NSACE网络安全工程师 高唐企业建网站服务商 2009网络安全事件 宣传网站有哪些 网站建设模板 门户网站做 购物网站建设公司 深圳整合营销外包 外国网络营销参考书 电商网站设计 重庆 手机网站制作网站网页制作公司网站 杭州市营销方式 苏宁 营销模式 信息网络安全培训 常州品牌网站建设 企业免费建网站 网络安全威胁包括 2017优秀网站设计案例 网络安全团队发展方向 厦门成品网站 网络安全攻防培训 淘宝营销课程 网络安全黑哥 营销网站模板 等保网络安全方案 营销词组 网站制作公司哪家专业