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

<a class="close" href="https://ap6qq.hehu.net.cn/">&times;</a>
烟台网站优化jsp网站地图生成器dede移动网站时广告管理里面的网址为什么还是原来的网站方案深圳网站开发网络安全技能大赛加强信息安全管理营销解决上海营销推广网络营销的缺点成都网站推广公司他在深海铜棺中沉睡了万年,此刻他醒来了,他手执弑天刀,对着污浊的苍穹呐喊:“若天道不公,我便踏碎这虚空!” 神奇的大陆,因神兽而支离破碎,又因神兽而得以重生!! 各方势力追寻多年的重宝出世,一场腥风血雨正在酝酿…… 有些人眼中他是救人于危难的神灵,有些人眼中他却是杀人如麻的邪神。 在这个以灵气为本源的大陆上,一代武神横空出世!!!那是神吗? 没有人知道...... 面对着未知,有的人迈出了脚步,有的人停滞不前。 在新世界了,人们会改变吗? 有人相信,会的。 会有人去行动,去证明。 不明日,灵气聚散,孕一神明,混沌始开。 清上浊下,天地得以开分。 绝地天通,分九重天,地十八层。 不周断,妖兽四起,尸山血海,民不聊生。 祖龙化力,平妖兽之乱,助秩序重修,现龙门、起天山,灵气借而复苏。 灵气始然,百家争鸣,拳脚技法、刀剑步招、丹药法门,皆而传之。 每逢十八,三界分合,灵气完足纯厚。 上天山,入重天,可获机缘,经劫难,入九重天,可为上神。 飞禽走兽,跃龙门,亦得造化。 妖兽鬼魅、近夜而行、夺精魄血肉、以逆天而修,堕入地浊,为大妖,称阎罗。 修士十八为修,替天行道,赶早悟化。 平常人家,不入不扰,食烟火、练拳脚,安之乐之。 周而复始,仙运再临,且看有缘者,乱世沉浮,得造化,显神通。 【江湖+鉴宝+盗墓】我从小没上过学,跟着一位漂亮女人学了十年手艺。十年时间,她锻造了我一对“鬼眼”,辨识天下奇珍异宝。练就了我一双“佛手”,破局下套横行无忌。教会我一身“神技”,从容玩转江湖乾坤。 我用多年来在古玩江湖摸爬滚打的亲身经历,告诉大家一个颠扑不破的真理:古玩不是玩古,而是玩人! 新人一个,求关注,星空中有一五行树和敌人打散成金、木、水、火、土4颗种子,土为本要守护自身,另外种子不知去向,难道这星空真的是牢笼,为什么这星空没有边界... 魔法与召唤为一体的他如何回归本体,与兄弟一起打败敌人 为了他活着他母亲从肚子里将他挖出,那是的,他还是一个只有巴掌,他没有掌权的婴儿。 半脚踏入修行,开局却遇到圣人,圣人有些不靠谱,但却又极其的心狠手辣,带他看净世间纷争。 百族当中,他去过很多地方,但这个是能离开之后他就走向了一条极其黑暗的道路。 灵山之巅,黄昏水河尽头,修罗神殿,魔界皇宫,神界八方塔,上古遗迹,洪荒地穴,八王古墓………… 也见过书本上人口中的传奇人物。 剑尊叶问天,十三星十三浩瀚天骄,西方九王之主项天羽,下六界之皇秦始皇,和魔界至尊神界之主,佛家之主。 从默默无名的兵到手握重兵的大将军,大元帅,随后又到一方诸侯王………… 修炼过不少秘术,也有不少隐藏法宝,一路修行到达世界之尊,超脱万物在百界虚空之上。游戏与考试有时可以实现完美结合,而道德也应该影响考试的结果,某个班级里的十五名男生也这么想。他们个个都在某些领域有着自己的专长,也有着自己致命的缺陷。他们有的出身显赫,父母都热爱读书;有的却不幸出身于一个思想境界低下的家庭,不慎被家庭影响,坠入无底深渊。突然,他们被卷入了一场场特殊的考试之中,他们需要用自己学过的知识去应对各种各样的险境。你认为他们能成功吗?A城中流传着有关另一个世界的古老传说,人群沸腾之中真相却愈加扑朔迷离,令人可怖的巨型落日,落日之中是否隐藏着白骨与宫殿?科技局频频消失的人员,谁也解释不清的末日传闻,究竟是谁在传播这些故事?全城警戒,车祸不断,枪战迭出,这一切的背后是怎样的黑手操控?落日之战,三分天下,黑科技武器迭出不穷,谁操纵了这个世界的程序,谁就是这个世界的王。从轮椅上的青年走上至尊王位,手下听命的不仅是骁勇善战的千军万马,更是大自然的风雨雷电,在这不可想象的逆袭背后,竟是一个庞大的科研计划,几代人的前赴后继,延绵成这个世界两万里白骨的奇观,而挽救末世危机的秘密,竟就隐藏在这虚拟时空之中.....刚穿越成蜀山剑派大师兄,就因为勾结邪魔教妖女,被废去修为,剥夺身份,羁押在锁妖塔! 好在绝望之际,楚风获得神级签到系统! 在锁妖塔前签到,奖励剑体之首,【无始剑体】! 在三皇殿签到,奖励【轩辕剑】! 在三清殿签到,奖励【紫金红葫芦】! …… 楚风本着不无敌,不轻易出山的想法,苟在蜀山默默签到! 但当三千年前的绝世邪魔,邪剑仙率众攻上蜀山剑派时! 楚风挺身而出,负手而立,横剑身前! “前方蜀山,妖魔禁行!” 
网络安全与对抗研究 网络营销市场定位策略 中华人民共和国网络安全法读后感 成都网站优化 网络安全问题原因 邢台网站建设服务 jsp网站地图生成器 网站虚拟主机 网络安全问题产生的原因包括( ). 海口网站建设 升迁障碍的原因分析咨询【www.richdady.cn】 与公婆前世的前世修行【www.richdady.cn】 老公家暴的前世记忆咨询【www.richdady.cn】 升迁障碍【www.richdady.cn】 公司破产的前世记忆【www.richdady.cn】 孩子压力大的改运方法咨询【企鹅383550880】√转ihbwel 婴灵【www.richdady.cn】√转ihbwel 莫名其妙感伤的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵对家庭的影响【σσЗ8З55О88О√转ihbwel 与男友前世的记忆解析咨询【σσЗ8З55О88О√转ihbwel 儿子不读书的自我提升咨询【www.richdady.cn】√转ihbwel 存不住钱威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 意外事故对家庭的影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 构建和谐亲子关系的方法有哪些?【企鹅383550880】√转ihbwel 与女友前世的影响分析咨询【微:qq383550880 】√转ihbwel 头脑混沌时如何提高注意力咨询【微:qq383550880 】√转ihbwel 家庭关系的相处之道【www.richdady.cn】√转ihbwel 什么是婴灵?咨询【企鹅383550880】√转ihbwel 婴灵的超度与心理安慰咨询【企鹅383550880】√转ihbwel 财运不佳的财富转运方法有哪些?咨询【σσЗ8З55О88О√转ihbwel 外贸网站建设 禅城区做网站策划 网络信息安全是智慧城市的基石 海口网站建设 代制作网站 深圳营销型网站 网站方案 微网站样式 大连企业网站 苏州市信息安全等级保护网 网站制作青岛 公安系统网络信息安全,-1 朝阳网站建设 长沙网站推 个人免费网站注册com jsp网站地图生成器 深圳网站开发 上海营销推广 网络安全设备品牌 网络营销微观环境因素 网络安全与大数据 企业网站app 朝阳网站建设 工具营销 网络营销市场定位策略 如何监管网络安全 网络安全管理规范 2016信息与网络安全国际会议 网络营销产品定价 搜索引擎营销如何使用 广州网站设计公司 昆明网站建设公司 电商营销培训课程大纲 装修营销课程培训班 html5网站欣赏 企业网站app 中央网络安全 网络安全百度网盘 上海专业做网站公 营销推介绍 网站建设策划方案 不属于网站后期维护 烟台网站优化 装饰公司网站建站 营销网址 门户网站建设注意事项 网络安全与我们的关系 中国信息安全著名专家,-1 河南信息安全有限公司 网络安全的研究 中国国安局 网络安全 机关网络安全视频 2016信息与网络安全国际会议 信息安全培训小游戏,-1 专业柳州网站建设 网站虚拟主机 厦门网站设计 网站添加关键词 个人主页网站模板 本地佛山顺德网站建设 信息安全标准分为 深圳营销型网站 青岛营销 网络信息安全经信委公安,-1 上海小企业网站建设 苏州市信息安全等级保护网 病毒营销互联网案例 河南信息安全有限公司 个人免费网站注册com 南通旅游网站建设 无锡制作网站 2015网络安全大赛攻防工具顺德公益网站制作 婚纱网站设计 大连模板网站制作公司电话 成都做网络营销 手机版商城网站都有哪 些功能 网络信息安全经信委公安,-1 云建网站 信息安全等级保护 国标2017年网络信息安全 电商营销培训课程大纲 html5网站欣赏 掌握营销app 网站建设的企业 网络信息安全是智慧城市的基石 jsp网站地图生成器 石家庄网站制作找谁 网站改标题 福田建网站 专业网站设计哪家好 莱芜网站推广 email营销的优劣势 无锡制作网站 中国信息安全监测中心 网站建设广告 泉州网站制作 农产品网络营销的策略研究现状 机器人 信息安全 信息安全标准分为 安天 网络安全 企业网络营销总裁培训 网络安全问题产生的原因包括( ). 信息安全监测预警系统 微网站样式 网络安全管理规范 武汉个人做网站 龙岩网站优化 农产品网络营销的策略研究现状 企业网站策划方案 中国信息安全等级测评网 搜索再营销没有了么 网络安全问题原因 海尔营销论文 网络安全 准则 张健 中国信息安全认证中心 禅城区做网站策划 上海大 小企业网站制作 营销推介绍 海口网站建设 手机网站案例 病毒营销互联网案例 深圳营销型网站 保定哪里有做网站的 社会化网络营销基础 微网站样式 浅论网络营销 网络营销产品定价 苏州市信息安全等级保护网 上海营销推广 网络营销市场定位策略 公安系统网络信息安全,-1 信息安全监测预警系统 网络安全 准则 长沙网站推 蓝色的网站 网络安全技能大赛加强信息安全管理