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

<a class="close" href="https://qeh8.shuanshu.com.cn/">&times;</a>
免费手机个人网站咸宁做网站南京专业做网站的公司哪家好设计网站考虑哪些因素万户网络网站顾问网站内容要突出什么原因网站管理公司响应式网站开发软件信息安全测评中心待遇,-1营销和推销生命就是一场经历。没了高中的紧张,大学里放松了很多。 思想上的经历,可以通过多读书来实现。但生活上的经历,只能是自己切身体会。 大学四年,在酒吧兼过职,处了舞蹈系最漂亮的女朋友,球场上跟体育生比过武,跟英语专业最牛逼的男生交了朋友,社团招新上出名全校,也受过其他学生的欺凌,看到过同学生命的逝去,也一直结识更多新的朋友。 小说来源于现实,现实又何尝不是一部小说。这是一个全球灾变数千年后的世界。 在这里,每个人都可以召唤来自异世界的存在进行战斗。 而穿越到这个世界的白夜,激活了成就系统,召唤出了异界最强的元素精灵! ”震惊:天才召唤师初始召唤竟然是精灵!“ ”不可思议!饱受整个学院希望的天才,竟然一朝成了废物!“ ”她太白太嫩,根本就每办法战斗!“ 一时间,所有人都在纷纷议论,没有一人看好白夜。 而作为穿越者的白夜表示: ”对于元素精灵的力量,你们一无所知!“ 人类图是女娲造人之际留存的一部秘籍,其中用图的方式记载着造人的秘密。中华大地,唯有诸葛明这位蓬莱岛上仙知晓人类图秘密。诸葛明的第108代传世弟子——东方仙人预感人间将引发一场浩劫,唯有通过人类图集结的五位使者可以拯救人间!于是将人类图心法撰写成《人类图秘籍》,传授于他的爱徒——火显使者,并要他完成与土生使者、金显使者、水映使者和木射使者的集结联盟,实现拯救苍生的重任。不料,火显使者的师兄孤独厉心生怨恨,集结邪恶势力争夺人类图,破坏五位使者的联盟! 与孤独厉的交战中,五位使者经历了灵魂转世,分别投生于中国的现代家庭,化身为冯南熠、李中域、郑西鎏、孙北泉、张东梨。但重新转世的五人早已忘记之前的约定,其独有的天赋也被各自所在的家庭和学校严重制约! 为重新唤醒五人,东方仙人化身为不同角色,让五人重新找回自己,实现灵魂使命!最终,五人共聚五台山,合力成为新新人类,铲除邪恶势力,完成了拯救世界的任务!   我有一剑可诛世间一切之敌 一掌让日月暗淡,诸神为禁 一人于不详中倔起,带领人族在诸天之中无敌,以自身为禁只为打破这桎梏。不管未来是否成功,为了所在乎的人,必须横扫这一切之敌,只为求得那一线希望,我为帝,当立诸天,佑万民。千百年前,在另一处不可见的精神领域,一场不为人知大战爆发,致使传说中地府崩碎,鬼神匿迹。 自此,精神领域陷入无序的混乱之中。 时至现代,精神领域与现实之间的屏障日渐薄弱,各种诡异怪物降临,超凡也开始复苏。 谢珏无意间激活祖传玉牌,继承了无常之位,成为地府现存的权位最高者,也获得地府部分职能。 与此同时,他不停穿梭于两界之间,收集着地府崩散后的碎片,自身能力逐渐强大,旧时地府也在重建中慢慢恢复。 随着时间推移,两界屏障彻底消失,精神领域全面入侵现实世界,人类瞬间陷入巨大灾难。 危难之际,谢珏左手持千般鬼神,右手掌轮回六道,强势降临。 “诡异们,你们的皇帝回来了~”一洛之海,万丈之深,水是命源,洛海之根这个暑假,14岁的初中生李文染和他的同学及其表兄乘坐快艇出海旅行。但船只却在途中撞在了礁石上,即将沉没。无奈,三人被迫弃船逃生。历尽艰难终于登上一座海岛后他们才发现,原来这里,早已被一群凶猛的“猎手”所统治。别人穿越都是封侯拜相,为啥我穿越过来就只有半个小时的命? 还好有系统送了100亿两黄金! 花1两黄金就得1分钟寿命?这买卖划得来啊! 有什么事情,是用金元宝解决不了的? 1个金元宝解决不了,那就用100个、1000个! 一个落魄书生,靠着黄金开道,称霸天下的故事!大战后一个月,他独自一人来到故地,完成他未完成的事件,现世会如何与现在的他,都没有任何关系了。他,只想追求自己心中的光。新的故事,开始了。 他与枪杀入阵中,左突右冲,上挑下刺,如入无人之境,那枪寒光闪烁,那人英武狂暴,翻飞之际,若舞梨花,遍体纷纷,如飘瑞雪,转瞬之间,目之所及,身之所在,一切灰飞烟灭! 血色战场,唯有一枪,无上! 万界永世,唯有一人,不败!
自适应网站好建们 网站选域名 网站免费搭建 丹阳网站建设 万户网络网站顾问 成都网站建设龙兵科技 学校信息安全部 免费网站专业建站 rsa信息安全大会 深圳市能士信息安全公司 干扰对人的心理影响咨询【www.richdady.cn】 性压抑的案例分享【www.richdady.cn】 暗恋的自我提升咨询【www.richdady.cn】 家宅磁场干扰的原因【www.richdady.cn】 成人发育倒退的可能症状【www.richdady.cn】 祖灵的祭祀方法咨询【www.richdady.cn】√转ihbwel 家庭关系的矛盾化解咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的存在有哪些科学依据?咨询【σσЗ8З55О88О√转ihbwel 孩子学习不好的自我提升【www.richdady.cn】√转ihbwel 前世老婆的识别方法【σσЗ8З55О88О√转ihbwel 前世缘份的修行建议咨询【www.richdady.cn】√转ihbwel 前世缘份的缘分再续咨询【σσЗ8З55О88О√转ihbwel 性压抑的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的自我提升【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系中的沟通艺术咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的情感交流方法有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 无形干扰的心理调适咨询【微:qq383550880 】√转ihbwel 意外的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情纠纷的情感咨询【σσЗ8З55О88О√转ihbwel 忧郁症的治疗方法咨询【σσЗ8З55О88О√转ihbwel 南京专业做网站的公司哪家好 百度 营销策划 2013网络安全事件 什么是病毒营销方案 长春专业网络营销公司哪家好 cmcc web 网络安全吗 网站网络安全方案 网络信息安全 考试系统 中山大学 网络安全 以下对信息安全风险 自己建立网站 电信运营商网络安全天津网站建设揭秘 唐山网站托管 成都营销 网站免费搭建 微网站自助建站后台 万户网络网站顾问 鹤壁做网站 支付宝营销策划案例分析 怎么做好一个网站 网站制作换下面友情连接 唐山网站托管 旅游企业网络营销案例 中科信息安全共性国家工程研究院 网络安全小卫士 网站管理公司 营销型企业网站建设教案 学校信息安全部 rsa信息安全大会 曲阜做网站 嘉兴 网站 制作 高校网络安全培训 网站内容要突出什么原因 网络安全应急处置图 网站口碑营销 建站视频教程全套 asp网站源码网页制作设计建设视频教程百度云 企业网站建设定制 丹阳网站建设 微信营销的模式有哪些功能 网站建设与推广是什么 信息安全风险评估的一般步骤 微网站自助建站后台 网络安全是指通过 网站创建 网站管理公司 成为网络安全专家 电信运营商网络安全天津网站建设揭秘 网站升级改版 信息安全取证,-1 网络安全测试标准 网络安全部 乐清网站优化推广 英多微营销 怎么样 网站免费搭建 网站口碑营销 网站免费搭建 嘉兴 网站 制作 万户网络网站顾问 网站选域名 重庆网站 整体营销 手机网络安全会议2017 网络安全手机可视化 税务系统信息安全 江苏省公安厅网络安全 网络营销 你的课 网上营销策划公司 南京餐饮网络营销公司排名 网络安全小卫士 成都营销 中山大学 网络安全 中国网络安全信息化领导小组名单 展示型网站 响应式网站开发 网站建设与推广是什么 信息安全黑客吗 小红书线上营销 杜跃进 信息安全 大学生 网络安全 rsa信息安全大会 税务系统信息安全 长春专业网络营销公司哪家好 网站创建 网络安全小卫士 网络安全的攻击报告 小红书线上营销 为加强信息安全管理windows系统的采用安全措施有哪些 梦想网络安全技术论坛 郑州微网站 自助外贸网站制作 单位网络安全 信息安全神话培训学院网站规划方案 风格网站 网上营销 手机网络安全会议2017 邵阳做网站 建立网站原则 嘉兴 网站 制作 网路营销以什么为基础 cmcc web 网络安全吗 网络安全测试标准 网络安全 资源平台 济宁做网站 网站建设用哪种语言最好 曲阜做网站 网络营销的危害性 国家信息安全一级认证 旅游电子商务网站的建设包括哪些步骤?网站建设中有哪些常用技术? 网站网络安全方案 涿州网站建设 网络信息安全 考试系统 网络安全监测 邵阳做网站 巴彦淖尔市 网站建设 免费网站专业建站 网络安全测试标准 信息安全等级证书姜堰网网站 网站网络安全方案 网站制作换下面友情连接 企业网站的建设 网站建设的好处 好三网网站 制作公司网站价格 四川大学网络安全研究院 信息安全评测 名单 自适应网站好建们 企业网站的建设 中山大学 网络安全 美国网络安全框架 pdf 郑州微网站 信息安全取证,-1 2014信息安全竞赛题目 软件注册信息安全吗 信息安全个人简历 网络安全 北大