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

<a class="close" href="https://xsgl.hehu.net.cn/">&times;</a>
青岛网络营销学院2015福建省网络安全宣传日网络营销中广告的策略有哪些上海做网站公司学校网站模板国家网络安全等级划分网站如何被百度收入国内信息安全网站,-1江苏 网络安全上市公司工业与信息安全明朝末年吏治败坏,山西、陕西、河南等地重大自然灾害不断,民大饥不能活,关外女真崛起,多次入关劫掠。 大明境内狼烟四起,明失其鹿,天下共擒之,一个医生穿越到明末成为庶子,庶子也风流,张景开始他精彩的擒鹿之旅。 茫茫宇宙,有一处异界大陆,名曰神斗大陆。大陆存在了无数年,史载前后存在超过八百个国家,但只有神斗帝国完成过统一。神斗帝国崩溃后,经过多年征战,目前八大帝国与教廷分治大陆,所处时代与华夏宋明时期多有相似。昌化二十七年,瓯越帝国临州的玄天崖,一场追杀正在展开……出来旅游的刘锋,接到了一个跑龙套的机会。 意外触发了神级扮演系统。 在剧组扮演某个角色,根据相似程度,便能获得角色相应能力。 【叮!本次角色‘特种兵’的契合度为30%,您获得特种兵30%的综合能力!】 【叮!本次角色‘学霸’的契合度为50%,您获得学霸50%的学习能力!】 【叮!本次角色‘王羲之’的契合度为73%,您获得王羲之73%的书法能力!】当下有些人已经习惯了这种生活,就像现在的陈默,虽然他并不属于这里。陈默穿越到了小说的世界,是一部非常热血的英雄传记类型的小说 这部小说名叫《暗影与曙光》,讲述的是一个被称为“暗夜之王”的男孩的一生,他是这座城市最强势的黑帮头目手下,也杀死过许多罪犯,是一个令人闻风丧胆的刽子手,他的名字则叫做—— 暗影·阿尔法! 原本按照漫画的发展,阿尔法会继续杀戮,直到被人制裁,但因为陈默的介入,这个男人的未来轨迹产生了变化。 阿尔法在几年前被仇人绑架,被迫参加了一次恐怖袭击,从此进入了逃亡状态,最终逃离了那座都市。 这段剧情是这本小说最大的亮点,同时也是主角的悲催之处,阿尔法身上背负着太多秘密,而且随着逃跑路程的增长,阿尔法的秘密会逐渐暴露,甚至最后会引来杀身之祸........楚凡获得了一个名叫主神的系统,从此开启了贸易诸天的旅程。 扛着五千万吨级的核弹和异界妖皇讲道理,真理只在核平之内! 上界十方仙帝围攻,楚凡反手掏出二向箔! 荒古圣体先天道体? 我直接提取细胞,复制上架! 什么?异界即将入侵? 我一个黑店老板,能发射智子很合理吧? 直接封锁异界天地法则,从此无人能突破大罗金仙! ...... “主神,我死后请把我的骨灰塞核弹里。” “为什么?” “身为炸天帮一员,哪怕我死了也要炸上天。” 这是一个黑店老板贸易诸天的故事,穿梭于诸天万界,和荒天帝称兄道弟,招楚子航当店内小哥! 主神出品,必属精品! 强买强卖,不服就干!厌倦了都市生活的许平,机缘巧合下获得一方神秘仙境。 仙境中有山,有水,有农庄。 仙禽翱翔于山巅,神兽奔走于密林。 于是他回到农村,开启了新的人生。 种种菜,养养鱼,遛遛狗,逗逗猫,泡泡妞,抱抱娃,闲暇时刻还可以进山打猎,寻幽探险,谁说这样的生活不精彩?高三的生活是普通而平凡的,尽管总是被学习的苦痛所掩埋,但其中总会有着些许令人回味的闪光点。这是世界从未有的大变化,神灵的末年,各大势力天才纷涌不觉,犹如扑火的蛾,将这盛世点缀。人吃人的世界,李言作为一个特殊的变数,让这场乱流拉开序幕。 永生者的传说刺激世人,先天神灵也隐世不出,万族争霸,这场人为的盛世终将缔造一位真正的无敌者。一位永生的生灵! 在风谷道馆地下室捡到了人皮书的张鹄,探索着人皮书上给出的一个个任务,解开了身上的一个个能力,逐渐触碰到灵异的真相。   张鹄利用人皮书以一个还愿师的身份驾驭厉鬼,走上了一条与灵异事件处理司截然不同的道路。一方面抗衡厉鬼,一方面抗衡灵异事件处理司。 另外他发现,人皮书做完的任务赋予他的能力,逐渐把他也变成了一个鬼,来到了死后的亡者世界,见到了所有的前任还愿师,还愿师的目的是掌控亡者世界,让它不至于失控,他要重新规划亡者世界的规矩和法则,只是刚到亡者世界的张鹄在这里的实力和刚触碰灵异事件的他一样,这是一个新的开始,一次在亡者世界的变强之路。冥冥之中自有天意,穿越者何必天下无敌。人心正,自有天助。召唤师,万兽朝宗…… 战士等级:初级、中级、高级、青铜、黄铜、黑铁、白银、黄金、圣战士 法师等级:学徒、一级——六级、七级大魔法师、八级魔导师、九级圣魔导师 召唤兽法师:无等级区分
海外营销网站建设 专业网站定制服务 语言营销 什么是互联网营销 全校大会 网络安全周 信息安全相关的公众号 制作网站的要素 如何用网络营销找工作 上海信息安全专业 乾冠信息安全研究院怎么样 与女友前世的前世缘分咨询【www.richdady.cn】 冤亲债主干扰【www.richdady.cn】 有官司的原因分析咨询【www.richdady.cn】 财运不佳的财富转运方法有哪些?咨询【www.richdady.cn】 孩子学习不好【www.richdady.cn】 耳鸣的解决方法咨询【σσЗ8З55О88О√转ihbwel 家庭关系的心理调适方法有哪些?咨询【σσЗ8З55О88О√转ihbwel 大龄剩女的真实案例有哪些?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的前世今生【微:qq383550880 】√转ihbwel 前世老婆的前世缘分【微:qq383550880 】√转ihbwel 孩子厌学的解决方法【微:qq383550880 】√转ihbwel 前世缘份如何影响人际关系?咨询【微:qq383550880 】√转ihbwel 内心恐惧胆怯的心理调适【σσЗ8З55О88О√转ihbwel 婴灵的超度过程咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 解梦的情感释放威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 解梦的前世影响【www.richdady.cn】√转ihbwel 大龄剩女的情感困扰【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子不爱读书的应对策略有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的故事有哪些经典案例?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 发育倒退的自我提升【www.richdady.cn】√转ihbwel 渐变网站4A级网络营销 合肥网络营销外包公司排名 网站建设素材使用应该注意什么 网络安全安全协议 xx高校网络安全解决方案 腾讯营销q 信息安全业务种类 武汉网络安全竞赛 国内信息安全网站,-1 vpn网络安全技术案例 如何获取从搜索引擎点进我们网站的关键词asp代码怎样写 做网站多钱 云南网站建设优选平台 网络安全保卫 企业微信手机片网站制作 郑州信息安全产业联盟 学校网站模板 南昌市建网站的公司 随机数在信息安全 网络安全威胁中断 云浮网站建设 全网营销服务专家 获信息安全服务资质二级 淄博免费网站建设 网络营销实战课程建议 信息安全集成资质查询 网络营销中广告的策略有哪些 贵阳微网站 服务好的网站建设 网络营销与消费者行为 云浮网站建设 禹城做网站 网络安全与国家安全 营销方案. 网络信息安全部门 专业网站定制服务 工控系统网络安全 中小型网站设计公司 全校大会 网络安全周 域名与网站 如何提升网站速度 语言营销 网络营销方案简述 青岛网络营销学院 东莞营销型网站建站 网络安全 国家标准 网站营销公司简介 网站建设素材使用应该注意什么 网络安全扫描 标准 网站设计佛山顺德 如何获取从搜索引擎点进我们网站的关键词asp代码怎样写 2016网络安全事例 顺德营销网站设计 网站界面宽 xx高校网络安全解决方案 北京市场营销课程培训 北京网站建设公司案例 商城网站作品 网站模块化 工业信息安全培训 苏州营销网站建设公司 青岛的网站设计 信息安全业务种类 重庆做网站哪家公司好 问答营销平台都有哪些 物流公司网站制作模板 网络安全 培训 成都网站设计 国家网络安全示范基地 2017年最新网站设计风格 第8章 网络安全与管理基础 重庆 营销公司排名 中山专业网站制作 全网营销服务专家 网络营销实战课程建议 服务好的网站建设 牡丹江网站建设大学生信息安全知识 信息安全培训 下载 什么网站流量高 网络安全技术架构 信息安全的产品? 国家网络安全示范基地 网络安全法 防病毒 做网站多钱 网络安全 展览 点网站建设 网站设计佛山顺德 济南手机网站建设公司 武汉市大型的网站制作公司 信息安全业务种类 点网站建设 什么是外贸营销体系 语言营销 2015福建省网络安全宣传日 什么是外贸营销体系 企业微信手机片网站制作 2016网络安全事件统计 网络安全运行网站制作样板 口碑营销法 北京网站建设公司案例 郑州信息安全产业联盟 沈阳建网站 制作网站的要素 网络营销与消费者行为 学校网站模板 网站搭建吧 华企网站建设 获信息安全服务资质二级 南昌市建网站的公司 问答营销平台都有哪些 网络安全保卫 信息安全集成资质查询 随机数在信息安全 郑州信息安全产业联盟 如何保证网络安全 开设购物网站的方案 网站页面尺寸 网络发展对营销的影响研究 海外营销网站建设 营销方案. 青岛微网站制作 信息安全集成资质查询 赣州做网站 潍坊网站推广 口碑营销法 网络安全与国家安全 泸州网站建设 网络安全威胁中断 网络安全 国家标准 网站页面尺寸 网络安全600 武汉市大型的网站制作公司 网络安全竞赛 工业信息安全培训 杭州制作网站公司