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

<a class="close" href="https://m77d.4881.com.cn/">&times;</a>
烟台网站建设联系电话网络营销基础第三版单位建网站H5建网站网络营销o2o海口做网站海尔网络营销策略功能性网站制作辽宁信息安全测评中心青岛网站建设找许家废少竟是万年难遇火神体?!且看废少逆袭之路!“那些瞧不起我的,嘲笑过我的,骂过我的,今天,我许言就在这玄武擂台上挑战所有人,谁敢与我一战!”天山、冰雪、楼兰、大漠、剑侠、少女、狂魔、妖姬? 江湖盛传天血教就是空心宫,而天血教教主就是空心宫宫主——“空心飞侠”易天剑! 空心宫宫主易天剑,素以“空心神功”和“空心飞天斩”两大绝世神技威震武林。 天血教教主金面人,从未露出庐山真面目,一向以金面具示人,凭借“天血泪珠”和“天血掌”杀遍江湖。 空心宫?天血教?易天剑?金面人?宫主?教主? 空心宫——饮誉江湖的第一大威严神密的正派。 天血教——江湖人闻风丧胆的第一大杀手邪教。 到底正乎?邪乎?正邪一家?正中有邪邪中有正? 但易天剑却三下天山,明挑天血教。一时间激起江湖大乱,血腥四溅!整个江湖因此陷入一场空前的血腥混战大浩劫...... 青龙,又称苍龙、孟章,是中国古代神话传说中的形象,为“天之四灵”之一的东方之神,对应“四象”中的“东方七宿”。 帝谕,又称帝令、八荒,是传说中法师和炼体师的尊称,为“万物之主”主宰的无上意志,统御“大千”中的“万法世界”。 李才,一个平凡、普通的年轻人,因为一颗“黑珠”踏上了辛苦的修习法术之途。他没有过多的幸运突然降临,也没有无敌的人格魅力让所有人围绕。 让我们和李才一起经历这真实、精彩的旅程吧! 一个从小就没有丝毫灵力的废材少年,在一次偶然的机遇下得到高人的指点,由此开启了灵识并慢慢孕育出了只存在于灵修灵海之内,并且需要经过反复发掘和巩固之后才能孕育出的灵冢。 在一向以强者为尊的仙灵大陆上,灵修的修炼层次和速度完全取决于自己灵冢的优劣程度。一般来说,一个灵修灵海里只会孕育出一个灵冢。而被外人都称之为废物的他,灵海里竟然孕育出了两个灵冢,由此也开启了他的万世传奇之路。你相信鬼怪吗? 起初我是不相信的,直到那一天降临了.....本文根据民间传说以及部分地方史志创作完成,从一个一个小小的侧面,为读者展现围绕鞶镇这片北方的土地上,人们生生不息,千年来上演的一幕幕世事人伦、爱恨情仇及家国情怀。本文由一些相对独立的故事组成,虽有关联但不紧凑。首先,从一个人物说起……二次穿越的异世界勇者与他的伙伴接受神谕来到了一个被诅咒的世界,一个未知神灵祈求他们解除世界的诅咒,拯救世界。在经过一系列的金牌猎魔人的杀人事件中,勇者一行人逐渐找到了诅咒的源头,并得到了想得到的答案。   拥有冥界权能的金牌猎魔人突然开始大肆残杀人类,并与异世界的勇者们相遇。异世界的勇者们认为诅咒的来源就是这位金牌猎魔人,他们为了阻止他残杀人类,分布世界各地追捕这个猎魔人。任人欺凌的吴用,从小就梦想有一天,挺自腰杆行侠仗义。 胸大无脑的杨茜茜,一直幻想着成为商界的女强人。 碌碌无为大半辈子的齐叔,总想着把45平米的洗衣店做到全国开花。 “做我陈越的朋友,心想事成,荣华富贵唾手可得。” “与我为敌,看看那些原始森林一般的坟头草,就知道他们的下场有多么的凄凉。。”研究生毕业孙淼回家种田,他家的猫咪会 说话,乌龟会爬树,鹦鹉会唱歌,带你见识一个从小山村走向巅峰的人生。《黑暗圣经·启示录》:第一位天使吹响号角,冰雹、火与鲜血倾倒于大地,烧毁了三分之一的草木与土地; 第二位天使吹响号角,着火的群山被扒入海洋,三分之一的海水被血污染; 第三位天使吹响号角,燃烧的群星坠落与于三分之一的水源,将所有饮水之人带入冥府;第四位天使吹响号角,毁灭了三分之一的日、月、星辰,从世间夺去了三分之一的先明;第五位天使吹响号角,陨星在大地上撕开无底的深渊,让三分之一的人类挣扎守生与死的边缘;第六位天使吹响号角,心弦波封印于幼发拉低河的国王挣脱锁链,他们分别掌管政治、经济、军事和宗数,遵从神的旨意,于此年、此园、此时东灭全人类的三分之一; 当第七位天使最终展齐漆黑的羽翼,吹响 “审判” 的号角,统治宇宙的大权已经属于我们的主
营销话术 手机信息安全保护论文 网络安全 信息 网络安全:两小时破译无线路由器pin码算法获得路由密码 nike网络营销案例 辽宁信息安全测评中心 小米网络营销定价策略 网站怎么办 青岛网站建设找 自适应网站优点缺点 孩子学习不好【www.richdady.cn】 莫名其妙感伤的前世因果咨询【www.richdady.cn】 前世老婆【www.richdady.cn】 头脑混沌的原因及对策咨询【www.richdady.cn】 前世因果咨询咨询【www.richdady.cn】 家庭关系中的矛盾解决【企鹅383550880】√转ihbwel 感情纠纷的解决方法咨询【微:qq383550880 】√转ihbwel 如何应对突然失业的情况咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心慌胸闷头晕的原因分析【企鹅383550880】√转ihbwel 与公婆前世的记忆解析咨询【企鹅383550880】√转ihbwel 心特别累的自我提升咨询【企鹅383550880】√转ihbwel 精神不振的解决方法咨询【企鹅383550880】√转ihbwel 4. 财运与事业发展咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系中的矛盾解决【微:qq383550880 】√转ihbwel 去世的父亲的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何克服“缺心眼”的问题咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 无形干扰的前世故事咨询【www.richdady.cn】√转ihbwel 意外的前世修行【σσЗ8З55О88О√转ihbwel 干扰【www.richdady.cn】√转ihbwel 忧郁症的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 电信网络与信息安全 海口做网站 web安全和网络信息安全 网络安全整体解决方案 代加企业营销qq好友内网信息安全 网络安全 人才队伍 杭州网络科技网站 西安网站制作开发 网络安全技术学什么 2016信息安全真实案例 信息安全等级保护级别,-1 长安网站优化 重庆网站平台建设 杭州互联网营销 培训课程 国家信息安全资质认证 富阳市网站 医疗网站设计 秦淮网络营销系统 网络营销o2o 信息安全新闻 辽宁信息安全测评中心 千人群营销 淄博网站优化首选公司 外链发原创文章那这原创文章是属于我网站原创还是外链网站原创? 3g手机网站 衡阳网站优化 北京数据营销培训机构 淮安网站设计 网络营销公司培训 辽宁信息安全测评中心 功能性网站制作 网络安全行业招聘 手机网站首页经典案例 互联网公司怎么营销策划 外链发原创文章那这原创文章是属于我网站原创还是外链网站原创? 单位建网站 郑州计算机网络安全 网站设计理念 北京微博营销服务商 营销型网站建设定制 营销学视频 冯英健 内容营销 梅州营销策划 优帮云 网络安全技术应用期刊 丰台手机网站设计公司 网站建设成都公司 营销型网页 属于信息安全产品 手机信息安全保护论文 珠海建网站 信息安全意识动员讲话 营销型网页 南通网站怎么推广 搜索引擎营销顾问 网络安全月报 南通网站怎么推广 合肥网站建设的公司 网络安全 人才队伍 网络安全企业协会 手机网站首页经典案例 信息安全等级保护基本要求 青色系网站 功能性网站制作 电商网站规划 南京需要做网站的公司企业平台网站建设 国家信息安全研究院 网站群方案 设计网站的优势 电信网络与信息安全 H5建网站 如何搭建自己的网站 信息安全管理的原则 制作企业网站 杭州网络科技网站 广州建外贸网站 北京新营销 自适应网站优点缺点 信息安全培训试题,-1 小米网络营销定价策略 梅州营销策划 优帮云 网络营销的实践应用 医疗网站设计 代加企业营销qq好友内网信息安全 全案网络营销 网站打开速度优化 广告网络营销推广师 许可email营销的特点 张掖网站建设 信息安全培训试题,-1 网站建设成都公司 网络安全和信息安全it系统开发新技术展示探讨系列课程it信息安全课程 富阳市网站 网络营销的实践应用 杭州互联网营销 培训课程 为什么要重视网络安全 一个空间建多个网站 网站打开速度优化 营销竞争 南和邢台网站制作 高校网络安全建设方案 国家信息安全研究院 信息和网络安全会议 摄影网站制作 2016信息安全真实案例 设计企业网络营销策略 北方明珠网站建设 张掖网站建设 互联网营销策略 总经理 网络安全技术学什么 信息安全风险评估服务人员 成都网站建设市场 营销话术 视频营销软件都有什么软件 为什么要重视网络安全 淘宝网店营销培训 网站制作 手机 洛阳做网站 长安网站优化 网络营销环境特性 一个空间建多个网站 中国信息安全大会 网络运维与信息安全 信息安全风险评估服务人员 深圳网站制作公司 讯 国外网站设计 台州网站设计 信息安全意识动员讲话 网络安全和信息安全it系统开发新技术展示探讨系列课程it信息安全课程 开展网络安全 上海平台网站建设公司排名 2016信息安全真实案例 营销学视频 内容营销作用 2014第十五届中国信息安全大会 关于网络安全的新闻稿