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

<a class="close" href="https://jxndpv.upjay.cn/">&times;</a>
企业网站模版宁波seo营销网络营销的支持度顺德精品网站建设什么产品需要网络营销中国网络安全 制度贵阳设计网站做信息安全需要的技能企业网络信息安全培训班外贸社交营销的关键未来,一些被抛弃的人走上绝路,在这被命名为大西洲的陆地上“送死”。 “世界人口膨胀,那些不够完美的人还是消失了好。”某位政治界高官的女儿如此说道。 于是每年送一批无法就业或走投无路的人来这个地方。 “很多人会死。”主办方如此断言。 唯一的生路就是徒步走到大西洲南部的殖民地。宣传来这里可以成功的消息骗了所有人。 被称为“第二块净土”的陆地上,遍布生物。阳衡意外穿越异界,觉醒亿万增幅修炼系统 系统:“少年,你想变强吗?来来来,只需首充六块下品灵石,你就是本系统尊贵的VP1会员。” 阳衡:“会员有啥用。” 系统:“能够解锁亿万倍增幅修炼,还能额外赠送系统大礼包。’ 叮,恭喜你充值成功,成为尊贵的VIP1用户,你将获得十倍增幅修炼,获得天赋神通固若金汤。 叮,恭喜你充值成功,成为尊贵的VP1用户,你将获得百倍增幅修炼,获得天赋神通六星火神之赞。 一个神奇的游戏,一次穿越时空的冒险,一个奇异的游戏时空,不可思议冒险。所有的历史人物齐聚于此,展开一场生与死的厮杀玄元大帝斗兽失败,列国入侵,判乱四起,群雄逐鹿,看国仇家狠,儿女情长,英雄热血,何去何从.....三绝才子,重生异世,成为大华朝戎疆王,打倭寇,剿匪军,万里奔袭拯救安西军,探索神魔女的传说,一路走来发生了许多啼笑皆非的故事,只能感慨一句:这个王爷太难当!上天给了李锋一次重生的机会, 意外寻得神器翻天印, 丹药随手便可炼制;神兽轻易收服;美女投怀送抱。 这一世,李锋发誓一定要诸天万界称雄…… 意外穿越修仙世界的他,获得诸天神魔系统,从此走上人生巅峰,收圣兽,建宗门,泡妞,踩人,那不过是小意思。打不过?没关系!系统,安排!给我降临一个神魔下来。一个打不过?那就一群!“三个月后灵气复苏,全民兽化植物化!” “同时,蓝星原住民远古蛮兽会走出地壳,两极反转,人类危矣!” 重生回到灵气复苏时代降临三月前,白良提前变异成柳树。 通过制造神迹,他被中州奉为通天建木! 国家一边疯狂喂养白良,一边根据白良的指引开启一系列准备计划,每一天都在震惊全球! “中州竟然开始迁都了!” “中州围绕江南市建立新天都!” “中州收回了所有外驻部队,千万军队围绕江南市建立绝密保护区!” “江南市上空有一层万米高空屏障!卫星完全侦察不到!” “中州江南到底隐藏了什么?” 三个月后,灵气复苏时代降临! 全球人类深陷水深火热,弱肉强食! 而此时白良于江南市公园中崛起,鞭劈八面蛮兽,以柳神之名抵抗四方兽王,甚至硬撼兽皇! 这次,换他来守护中州族人! 柳神庇护之下,其余国家人类还在四处躲避蛮兽之时,中州族人正在不断诞生一尊尊神!  21世纪的是一个第一次接触魔兽争霸的业余玩家,变身绿皮兽人,掌控兽族大厅。   拥有精湛剑术的剑圣   深受萨尔信任强大的萨满祭司   战场上的他们英勇无畏,总是身先士卒,挥舞着战戟横扫敌军的牛头人酋长   行踪神秘、足智多谋的暗影猎手   何解以族长之名,踏上复兴兽族的征程单亲家庭的沈飞在父亲离奇失踪多年后,准备以父亲在他儿时讲述的《光明战士》的故事为素材,创作一部新的动漫,在与主管苏洁商量如何修缮人物形象的时候,突然天降惊雷,沈飞和苏洁被吸入进了二次元的世界,蛋生在了一个叫马来西的王国并被赐名“洛克”,在遍布黑暗的二次元世界里,他结识了很多伙伴,收获了很多在现实生活中还没有体验过的人情冷暖,开启了一段奇妙的二次元之旅,旅途中沈飞(洛克)意外地发现了父亲的蛛丝马迹,这让他感到意外地喜悦,十几年了终于有了父亲的下落,沈飞(洛克)按图索骥开始了寻父之旅……
杭州建网站 个人网站的开发与设计 国家信息安全部大数据上市公司 网络安全产品国外品牌 顺德精品网站建设 网络营销调研 分析一个网站 免费搭网站 小米营销优势 网络营销的好处和弊端 感情纠纷的原因有哪些?咨询【www.richdady.cn】 亲子关系的问题分析咨询【www.richdady.cn】 亲子关系的教育策略有哪些?咨询【www.richdady.cn】 儿子抑郁症的康复训练【www.richdady.cn】 去世的父亲的去向解析【www.richdady.cn】 公司破产的原因分析咨询【σσЗ8З55О88О√转ihbwel 去世的父亲的前世解析【企鹅383550880】√转ihbwel 公司破产对股东的影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的矛盾化解方法有哪些?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世老公的前世解析咨询【企鹅383550880】√转ihbwel 财运不佳的理财技巧咨询【微:qq383550880 】√转ihbwel 亲子关系改善建议咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 公司破产的应对策略咨询【企鹅383550880】√转ihbwel 有官司【企鹅383550880】√转ihbwel 学习成绩差的自我提升【微:qq383550880 】√转ihbwel 无形干扰的咨询技巧咨询【www.richdady.cn】√转ihbwel 意外的前世故事【σσЗ8З55О88О√转ihbwel 心特别累的原因分析【σσЗ8З55О88О√转ihbwel 强迫症的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 互联网营销总结 上海高端网站设计公司 网络营销的发展过程 高唐网站建设服务商 企业网站模版 杭州建网站 福州网站制作公司名字 厦门酒店网站建设 网站的维护 济南微信网站 手机网站前 云南网站优化 网站h1 电商营销公司做什么的 访问京东为网站选择5个核心关键词和30个长尾关键词? 网络安全漏洞解决案例 菏泽网站制作 企业如何做全网营销 视频营销适合哪些行业 网络安全主要特征是什么 云计算与网络信息安全 中央 信息安全 山东网站建设推广 营销型网站哪家好? 分析网络营销环境分析报告 访问京东为网站选择5个核心关键词和30个长尾关键词? 网络安全法案 杭州高端定制网站搜索引擎营销sem概念 哈尔滨网站建设 国家计算机网络与信息安全管理中心广东分中心信息安全 中央,-1 做网站推广邢台 管理有限公司网站设计 分析一个网站 引擎营销关键词 华为 网络安全特性 全国网络安全教育 网络整合营销推广公司 网络营销效果评估指标 网络营销的支持度 贵阳设计网站 高唐网站建设服务商 园区网站建设 口碑营销的经典案例 百度竞价营销 网站搭建h5是什么 成都公司网站设计 软件营销站 网络营销的发展过程 做网站推广邢台 企业网站模版 flash网站制作教程 营销型网站哪家好? 视频营销适合哪些行业 重庆微信营销培训方案国家信息安全中心主任 无线局和网络安全 建公司网站 ctf网络安全 flash网站制作教程 企业网站建设 情感营销策略案例 网络安全主要特征是什么 网站建设步骤 网络营销效果评估指标 长安建网站公司 福州建网站 网络营销的好处和弊端 e春秋网络安全平台 网站上传文件存储方式 云计算与网络信息安全 企业网络信息安全培训班 域名系统网络安全保障 南通哪里有做网站的 网络安全与信息安全 网络安全法案 茶叶网站建设 营销 作用 杭州高端定制网站搜索引擎营销sem概念 网络营销的支持度 信息安全产品分类标准 网络安全产品国外品牌 企业网站模版 成都建设网站 网络安全企业排行 个性化网站 网络营销 购物网站怎么创建 麦包包营销 分析网络营销环境分析报告 哈尔滨网站建设 南通哪里有做网站的 信息安全管理体系的通用步骤 复旦信息安全怎么样 2016近期网络安全事件 2016近期网络安全事件 手机网站前 成都公司网站设计 企业如何做全网营销 中央 信息安全 网络营销经典书 淄博网站设计 可口可乐网络营销总结 网络安全法 解读 营销型网站方案ppt dw做网站 中国顺德手机网站设计 小米营销优势 网络营销调研 信息安全独立评审,-1 网络安全漏洞解决案例 四川微信网站建设 贵州网站制作哪家好 网络安全 统计 信息安全产品分类标准 华为 网络安全特性 网络安全 政府 研究室 2016网络安全技术发展趋势 分析一个网站 全国网络安全教育 云南网站优化 移动终端信息安全,-1 菏泽网站制作 制作网站软件 王老吉 春节营销案例 互联网营销有关专业术语 网站模 网站模 网络安全 统计 网络安全与信息安全 移动终端信息安全,-1 美团采用什么营销模式 网络安全的问题营销型网站试运营调忧 做网站推广邢台 上海做网站 公司 大学网络与信息安全研究所 云南省网站建设