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

<a class="close" href="https://lyrmj.hehu.net.cn/">&times;</a>
汽车网络安全攻击视频搜索引擎营销基本原理杭州互联网营销 培训学网络营销哪家好it信息安全做什么湛江有哪些网站建设公司网络安全发展战略深圳网络安全服务商成都网站设计公司哪家好采用邮件营销企业您有没有遇到过,到某个陌生的地方,却有种曾经来过的熟悉感,感觉像梦里梦见过一般? 或是某条街道,或是某栋建筑,或是街边的某个橱窗。那种笃定曾经见过的信念,会吓自己一大跳! 但又实在记不起来,什么时候来过?或是通过什么方式真的见过?这又使得自己很迷茫。 综武世界 叶青在三不管地带开黑店。 小昭:老板,你心都是黑的,我才不要给你打工一百年! 师妃暄:黑心老板,休要坏我道心! 欧阳锋:年轻人,我劝你耗子尾汁,莫要将路走窄了。 赵敏:老板,你说那腹黑成功学,教教我,好刺激哦,我好喜欢。 张三丰:年轻人不讲武德,不过,你要不要跟我学修仙? 郭靖:叶大哥,以后我就跟你混了,你说让我干啥就干啥! ...... 叶青笑的五彩斑斓黑:诸位,本店明码标价,童叟无欺。我希望这部作品能涵盖上至弘达庄严的创世神话,浪漫史诗,下至充满奇趣的凡间故事,中国五千年的悠久历史,展现了宏大的画卷,波澜壮阔的背景,开拓了我们的想象力,让我们看到了人性的光辉。深邃的思想,和人性的真实。 在地星上遭遇了流星降落意外死亡的王丑魂穿到了平时世界的另一个年少的自己身上.... 嗯?这个世界的人都拥有精神力?还能和异兽签约?看我王丑如何在这个异世界潇洒四方...... 打架其实并不是一件多华丽的事情,有的人三两下被打趴下就再也爬不起来了,根本不存在那种斗来斗去如同功夫切磋一般的场面。缘若未尽,必有重逢。念念不忘,必有回响。成年人的告别仪式很简单,你没有回我消息,我也便默契的没有再发,就这样安静地消失在彼此的生活里,好像从没认识过一样。 每件事都是最好的安排,包括你出现,包括你离开,都是最好的安排。希望你比昨天聪明,比去年自由。 他日功成名遂了,还乡,醉笑陪公三万场。 我们不能改变现实,只能安慰“今天是离别是为了以后更好的相聚”。人生有初见,相识,就一定会有离别。可是,这样的离别,还是出乎了我们所有人的意料。 纵使受尽委屈!经常会问自己!我也要努力,有时候…….让人心痛的不是离别!而是离别后的回忆!一场名为逃跑的荒唐旅行,让失意青年林红尘遇到了一个神秘的失忆女子,一个月的旅行仿佛过完了彼此这一生,可是女子的不辞而别,还有林红尘家庭原因造成的性格缺陷,让事情变得复杂了起来,失落回家后与初恋的重逢,家族命定的婚姻,交易的牺牲品,复杂的情感纠葛,责任与感情间的选择,最后究竟该何去何从。自从邪神入侵这个世界已经过去了不知多少万年,人类以自己的信仰与理智为柴薪,信奉着邪神,以求获得喘息。 然而邪神贪婪地吞食着人类的理智,整个世界已经满目疮痍。 直到那个人的到来…… 那撕碎一切的黑暗,将所有的恐怖和深邃都给吞没。 无论是杀人取乐的邪神,还是沉迷于欲望的怪诞,全部都因此而毁灭。 但是王浩听到这种事情却是嗤之以鼻。 “什么邪神杀手!全部都是瞎话!都是胡说!我只不过是喜欢吃那一些邪神而已!” 备用书名:邪神看到我叫爸爸,神佛救世主,请叫我无敌,谢谢。 剑未妥,江湖早,纵使不懂,也不默,少年啊,不归呀,吾辈皆是英雄! 鸟惊忽现白马,飘飘锦衣落梨花,少年呀,归来呀,千年谁复重生?一剑动京华!天界至宝天神之怒碎裂成两半,从此消失不见,天界由此陷入混乱。要想天界恢复秩序,必须寻回天神之怒。在天界遍寻无果之下,众天神不由束手无策。
国家网络安全体系 佛山新网站制作咨询 网络安全法检查内容 网络安全实训室 武汉网站维护 搜索引擎营销包括什么 网络安全创新生态联盟 段子 网络营销 论中国网络信息安全 广州微网站建设机构 孩子厌学的自我提升【www.richdady.cn】 脑部不清晰的咨询技巧咨询【www.richdady.cn】 心慌胸闷头晕的前世因果【www.richdady.cn】 暗恋的心理成长咨询【www.richdady.cn】 解梦的梦境解析咨询【www.richdady.cn】 交通意外的常见原因咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 缺心眼的沟通技巧【微:qq383550880 】√转ihbwel 去世的母亲的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 不爱读书的原因分析咨询【微:qq383550880 】√转ihbwel 心慌胸闷头晕的前世记忆【www.richdady.cn】√转ihbwel 什么原因意外的前世缘分【www.richdady.cn】√转ihbwel 年轻人过世的常见原因【www.richdady.cn】√转ihbwel 内心恐惧胆怯的前世因果咨询【微:qq383550880 】√转ihbwel 缺心眼的表现及成因【www.richdady.cn】√转ihbwel 暗恋的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 长期失业对个人的影响【企鹅383550880】√转ihbwel 财运不佳的财富增长技巧有哪些?【微:qq383550880 】√转ihbwel 阴间生活的文化背景咨询【企鹅383550880】√转ihbwel 冤亲债主的干扰解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 京东网站的营销是什么 长沙做网站建设的信息安全产品社会效益 设计网站app 中国网络安全级别 网站h1 微信公众号营销关键 建设门户网站需要注意什么 广州微网站建设机构 武汉网站维护 第四届网络安全竞赛 珠海营销网站建设 佛山新网站制作咨询 企业网络营销战略 长沙做网站建设的信息安全产品社会效益 网站h1 信息安全等保三级 查询 营销策划相关的视频 信息安全知乎网站建设的收费标准 重庆微信营销 网络安全实训室 网络安全设置包括哪些? 做一套网站多钱 全国信息网络安全协会 信息安全50强 长沙做网站建设的信息安全产品社会效益 银川网站建设多少钱 工业信息安全研究所 微信公众号 网络安全 网站侧边栏 南通做网站 网站的描述 网站设计案例 网站注册 信息安全知乎网站建设的收费标准 网站h1 游戏公众号营销 佛山+网站建设 信息安全等级保护报告 信息安全等保三级 查询 网站搭建h5是什么 网站搭建h5是什么 做网站的流程 汽车网络安全攻击视频 4P营销策略是指 在网站上显示地图 个人微信营销案例 微博营销的形式 如何注册网站域名 长沙网站优化 网络安全风险应对措施 做app网站建设 网站注册 上海高端网站设计公司 网络营销销售什么产品 学网络营销哪家好 粉丝网站制作 长沙做网站建设的信息安全产品社会效益 网站建设 杭州 网站飘动 做一套网站多钱 东莞百度网站推广 长沙商城网站 网络安全监察部门电话无锡好的网站公司 解释网络营销服务 唐山网站搭建 佛山新网站制作咨询 怎样建设网站 专业的常州做网站 管理有限公司网站设计 银川网站建设多少钱 网络营销销售什么产品 实现微信微博微官网聚合营销一体化的移动互联电子商务解决方案 万户网站制作 网站飘动 信息安全的实现有哪些主要技术措施,-1 怎样建设网站 网络安全攻防入门 信息安全官 网络安全等级保护标准 网站报价 企业网络营销战略 云南省信息安全测评 网站建设公司 南京 网络安全风险应对措施 信息安全官 网络安全设置包括哪些? 上海科技网站建设 建宣传网站 建宣传网站 人口健康网络与信息安全风险评估 成都公司网站设计 信息安全知乎网站建设的收费标准 网络安全实训室 网络安全解决 网络安全体系建设方案 免费网站制作推广 简约型网站 淘宝的网络营销渠道 网络安全网络信息安全 网络安全是指 网站建设公司广告 全国信息网络安全协会 中国网络安全敏感国家 网站界面 欣赏 佛山新网站制作咨询 网站搭建h5是什么 长沙做网站建设的信息安全产品社会效益 网络安全攻防入门 营销型建站 网络安全信息办公室 病毒式线上营销方案 百度竞价账户中网站被关掉了现在如何将这个词转换到另一个网站账户中 网站的步骤 义乌网站建设 网络安全案例教程 怎么测试网络安全性 网络安全信息办公室 网站侧边栏 手机网站设计机构 网络安全等级保护标准 信息安全等保三级 查询 简约型网站 微信公众号营销关键 建设门户网站需要注意什么 网络营销的推广体系 当今的网络安全有四个主要特点 重庆广告营销培训 it信息安全做什么 微博营销的形式 做app网站建设 企业网络营销战略 4 简述email营销的实施过程如何避免垃圾邮件? 郑州网站制作电话 工控企业信息安全 病毒防范与网络安全