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

<a class="close" href="https://ud7fh.c8.org.cn/">&times;</a>
做网站多钱中国政府 信息安全网站改版手机微信网站建设网站建设案例常见的信息安全认证有:高档网站设计渠道策略的网络营销北京网站建设有限公司济南营销型网站公司江湖有传,陈一的刀,楚狂的笑。 陈一,来历成谜的刺客,冷静坚忍,他的刀,能杀人,也能救人。 楚狂贺北沙,武功盖世,狂放不羁,然却身患奇症,每隔十五日,便需要服用灵药续命。 一日,贺北沙派人找上了陈一,因为,自己赖以续命的灵药被盗了,他们的故事,就从这里开始了……无尽虚空,暗域缘起,幻境连绵,魂牵梦萦。如泡现盈破,似影隐现。通篇尽是浮想联翩,异想天开之事物,是略显温和的怪谈。内蕴玄机,有缘人或可勘破。主角林凡意外的从现代穿越到神魔大陆修仙世界,由于这个世界的修仙者实力都比较弱小,导致整个世界几乎差点被魔皇控制掉,可就在那时候,有几位比较厉害的修仙者去攻打魔皇,最终签订了和平协议,但是直到那几位修仙者飞升之后,魔皇不遵守条约继续攻打修仙者。 而林凡则是在这个世界上撩起了妹,组成了这个世界上最强的战队,带领他们攻打魔皇。一拳可开辟天地,一气可灭三千袁宇,就是这么一个强大而可怕的存在,却也逃不过七情六欲的熏染,反而活的越来越像个人了。 外婆口中描述的一段传说,一处死寂之地,是如何令周边村民闻风丧胆,老吴的失踪,奇怪的梦境,民间探险队介入,又会有什么样的冒险在等待着他们,迷雾重重,是阴谋?是算计?还是本就该注定的?多维时空,平行宇宙,甚至可以超越时间和跨越次元......那能做到这些一切的至宝,就那么被时万逸得到。 今日之事完全可以重来,而过去之事也足以挽回,至于人们口中的未来,在他的眼中也早已不是未来。当空间位面相互交错,那些只存在于漫画和小说中的时空,那些超出人类认知的东西,他都能够见到。就连那些不会有联系的世界,都在悄悄搭建桥梁——西游遇上水浒,强秦联合大唐,所有时代的名臣武将都齐聚一堂。 “你在寻找什么?”数次的时空穿梭中,一道声音突然传来。而在这无数个时空中,时万逸似乎找到了答案。 或许只有时间的流逝轻而易举。一位山中女子,深入江湖,无奈她身边爱她的人一个个离她去,为了保护她想保护的人,学习武术,变强大,在江湖中风卷残云,江湖门派听到她的名号无不闻风丧胆.....一个中土废材艺术家,获得了穿越神魔两界的能力,成为超级异能人,同时发生了一连串既可笑又匪夷所思的事情,打破了三界千年的机械化运作,重新恢复了人类世界的生机活力,找到了爱情和生命的真正意义。一场车祸,一枚神秘戒指,带着夏天穿越诸天。 我曾和张三丰坐而论道,与小龙女烹雪煮茶;曾掠夺斗帝异火,也曾迎战诸天神佛! 诸天万界,都藏于一枚小小的戒指中。 科技为刀有两面, 毁灭、创生一念间。 恶人持刀则为恶, 善人持刀则为善。 科技笼罩下的欲望狂野生长。 黑暗来临,动荡将起! 在这个天色已晚天未亮的世界中, 必然有人提刀换天明! 而在黑暗笼罩下的林清也将会成为其中的一员……
专业网站定制服务 长沙网站策划 色调网站 外贸公司的网站建设模板下载 深圳营销网站 成都信息安全类公司 中国信息安全期刊 国外网站模板 重庆 营销公司排名 军事网络信息安全 性压抑的案例分享【www.richdady.cn】 公司破产后如何重新创业咨询【www.richdady.cn】 耳鸣的医学检查咨询【www.richdady.cn】 冤亲债主干扰有哪些症状?咨询【www.richdady.cn】 大龄剩女的婚恋困惑如何解决?咨询【www.richdady.cn】 强迫症威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感调解技巧有哪些?【微:qq383550880 】√转ihbwel 外灵咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的婚恋现状如何改变?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的互动模式有哪些?咨询【微:qq383550880 】√转ihbwel 有官司咨询【微:qq383550880 】√转ihbwel 发育倒退对孩子心理的影响【www.richdady.cn】√转ihbwel 冤亲债主的干扰原因【微:qq383550880 】√转ihbwel 忧郁症的环境影响【企鹅383550880】√转ihbwel 感情纠纷的解决技巧【σσЗ8З55О88О√转ihbwel 冤亲债主的化解方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何克服“缺心眼”的问题【www.richdady.cn】√转ihbwel 事业不顺的职业规划【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 升迁障碍的职业发展咨询【企鹅383550880】√转ihbwel 网络营销是企业整体营销战略的一个重要组成部分.( )对错网络与信息安全基础 从故事中看网络营销 台州做网站哪家好 网络信息安全基础 快速营销 做网站多钱 企业响应网站 简述城市信息安全管理的意义 2014年网络营销大事件 教育部信息安全研究中心 网站如何做 传式营销 合肥网站制作需 外贸公司的网站建设模板下载 济南营销型网站公司 网络安全600 渠道策略的网络营销 网络信息安全服务包括哪些内容,-1 做网站多钱 武汉市大型的网站制作公司 经典网站设计 中国政府 信息安全 舆论营销 网络安全600 网络安全供应商 沈阳网站优化 渠道策略的网络营销 专业网站定制服务 惠州网络营销 北京网站建设有限公司 上海网络营销 珠海移动网站建设报价 认证代码 信息安全 信息安全管理 实训室 网络安全运行 营销六要素 企业的网络安全 手机店微信如何营销策略 2017年最新网站设计风格 网络安全运行 认证代码 信息安全 整合网络营销 客户 微博特点与微博营销策略 信息安全月 制作网站的要素 武汉市大型的网站制作公司 常用的网络安全系统日志分析工具 顺的品牌网站设计信息 制作网站的要素 专业网站定制服务 简述城市信息安全管理的意义 卫龙整合营销宝安网站建设公司 中国政府 信息安全 北京网站建设有限公司 如何提升网站速度 网络营销方向学什么 软件营销吧 企业响应网站 网站建设案例 安全部 信息安全认证 网络安全供应商 如何提升网站速度 中华人民共和国网络安全发 2017网络安全生态峰会 xx高校网络安全解决方案 信息安全典型案例 整合网络营销 客户 珠海移动网站建设报价 天津信息安全等级保护 惠州网络营销 网络安全竞赛 东莞做网站公司 安全局管理网络安全吗 网站开发需要什么技术 东莞营销型网站建站 传式营销 网络安全技术与实践 专业网站定制服务 凡客诚品网络营销评估 上海网络营销 网络营销的前瞻性 微博特点与微博营销策略 建立网站例题 网络安全标准范畴 北京网站建设有限公司 成都社会化营销 网络安全 展览 长沙网站策划 信息安全世界学校排名 网络安全维护项目指标上海三零卫士信息安全 美食网站案例 企业网站配色绿色配什么色合适 广州市信息安全 网络安全 展览 网站备案 主动营销意义 网络营销方向学什么 从故事中看网络营销 高档网站设计 专业网站定制服务 营销资源网 售后服务网站 数码产品与移动网络营销 外贸公司的网站建设模板下载 整合营销的失败案例 网络安全竞赛 深圳网络安全局 企业网络营销问题研究 网站大图片优化 物流服务网络营销方案 营销六要素 成都信息安全类公司 顺德公益网站制作深圳电商互联网营销 b2b技术型社区营销 保定网站建设 网络安全供应商 建立网站例题 北京信息安全测评认证中心 重构网站 高档网站设计 网站改版 网络安全运行 中国国家网络安全局 莆田网站建设 海外营销网站建设 网站二次开发 顺德网站建设公司价位 快速营销 网站建设 趋势 网站建设 趋势 网络安全供应商 网络安全技术与实践 莆田网站建设 教育部信息安全研究中心 2014年网络营销大事件