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

<a class="close" href="https://fw9n.5124.com.cn/">&times;</a>
周口网站建设清华大学网络安全课程网络安全协议是什么旁路控制 信息安全济南营销型网站公司个人信息安全培训通知网络安全评估指标网络安全暴力攻击原理青岛建网站江阴网站建设叶辰懂医术,会古武,下山后的他,还在幻想着自己逍遥纵横都市,吊打一切不服! 万万没想到,参加自己婚礼的时候,新郎竟然不是他……战争、掠夺、同化、我们在不同的世界探索,我们见证着文明的交替。 我们是见证者,但我们也参与其中,有人说我们是血腥的屠夫,有人说我们是光明的使者,我们不被善恶所定义,我们只是不顾一切的幸存者。 一起见证吧,这一个个荒诞的世界,也许有一天,这一切就会发生在你身边。 “准备好,一会就要动手了。” 啪,一朵微弱的火苗突然驱散了黑暗。 “搞什么呢,都要动手了,谁还要抽烟,快把打火机灭掉。” “什么打火机,这是魔法!魔法!火球术你懂不懂?” (原创副本+荒诞主义+无厘头,小清新误入,未成年人请在老司机陪同下观看。) 千年前,元帝之子烈无锋,被未婚妻棽雪背刺一剑,身死道消。千年后,意外魂归,再活一世。 如今的棽雪,却成为一界之尊,受万人敬仰。 烈无锋看向那棽雪雕像,心火怒起,眼神冷冽。 百年,只要百年,我烈无锋要了你的命!群雄争锋的年代已过,诸王割据的时代早已不在,百载太平安稳下却又暗藏危机。 凡人道:“修仙赛得真神仙。”却怎知平凡是福不是苦? 三尺之剑,不为与天下人争锋,只为护得身旁人。高武世界,人妖并立,人族式微,人奸横行,比妖兽更可怕的是人心,且看小人物罗文辉在逆境中成长,杀皇证道,成就人族守护神的故事。少年苏行,在天命之子觉醒后被视弃子,被害濒死的他修习禁术的炼天魔功,为保护妹妹走上斩灭心中一切不平之剑道。 吞噬世间气运,横扫万千妖孽,现无上之资。 一剑斩断世间不平事,一剑破尽世间无上法。 踏破日月星辰,剑斩阳阳破晓。 胸有一剑,看淡一切生死事。 修魔功,吞天命,谁说天命难违,我要我这一剑破天……昆明,又叫春城,这是现在众人皆知的名字;但很少有人知道,这座约三万年前,即有人类生活的地区,就是古代佛经里经常提到的“膳戒城”。而更是鲜为人知的是,这座城市又叫龙穴。有龙穴的地方就有龙,有龙的地方就会有一个神秘而又古老的职业,那就是锁龙人。 而在民国时期,战乱不止妖孽横行,锁龙人在昆明一带活动频繁,大部分锁龙人降妖除魔的事都发生在这座城市之中,只是时间久远,不一定全是真事。我说你听,这是一个关于锁龙人的故事。“但得妖娆能举动,取回长乐侍君王......” 我竟穿越到了气运即将耗尽的商纣? 而且我还就是那个最昏庸无道的纣王帝辛? 骂我好色?忍了! 骂我嗜酒?也忍了! 骂我昏君?绝对不行! 拉龙族灭灾患抗天庭,维护人皇权威! 盈国库普教育得民心,重振大商雄风! 天庭西方阐教,我都不服 人族神族妖族,我全都要 我就是人皇帝辛!史上第一明君!东方曜穿越洪荒,投靠刚建立不久的天庭,成为一名扫地仙。 同时获得签到系统,只要在不同的地方打卡,就可以拿到系统奖励。 “叮!恭喜宿主遣云宫打卡成功!” “获得大道玉佩!” “叮!毗沙宫打卡成功,获得【八九玄功】。” “叮!五明宫打卡成功,获得圣龙仙丹!” “叮!兜率宫打卡成功,获得先天灵果一枚。” …… 就这样,东方曜在众仙无视中在天庭签到了几百年。 直到有一天,下界妖族举兵来袭,天庭无人能敌。 他们一路杀到了凌霄宝殿,遇到了正在扫地的东方曜……传说中的神话人物是否存在,如果存在,他们现在又在哪里?如果不存在,那我又是谁?行走在黑夜中,谜团,不断地被解开,又不断的出现,真相最终展现在眼前时,竟那么悲壮。
塞班斯法案 信息安全 网络安全要有什么基础知识 近五年网络安全大事件 集团公司网站方案 2015年 信息安全 会议 网站制作致谢词 linux网络安全配置 网络安全失泄密黑板报 如何让外部的人员能够访问企业网站了解企业的产品及相关信息 温州网站制作价格 意外的原因咨询【www.richdady.cn】 前世今生的因果关系【www.richdady.cn】 大龄剩女的幸福指南有哪些?咨询【www.richdady.cn】 家宅磁场的检测工具【www.richdady.cn】 存不住钱的理财建议【www.richdady.cn】 特殊学校【σσЗ8З55О88О√转ihbwel 脑部不清晰与生活习惯的关系咨询【微:qq383550880 】√转ihbwel 迟缓儿的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子抑郁症的案例分享咨询【www.richdady.cn】√转ihbwel 冤亲债主干扰的解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 性压抑的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感修复【www.richdady.cn】√转ihbwel 暗恋的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 灵魂化解的方法【企鹅383550880】√转ihbwel 头脑混沌的解决方法【企鹅383550880】√转ihbwel 外灵干扰的前世故事【微:qq383550880 】√转ihbwel 解梦的情感释放咨询【www.richdady.cn】√转ihbwel 前世缘份的解读方法【σσЗ8З55О88О√转ihbwel 升迁障碍的前世因果【σσЗ8З55О88О√转ihbwel 自闭症的前世因果【www.richdady.cn】√转ihbwel 公司建设网站重要性 简单建网站 网络安全技术与应用 官网 信息安全服务一级资质 陕西省网络安全 网络安全要有什么基础知识 信息安全等级保护第五级 网络营销网上观察法 网络与信息安全 访问控制 上海网络安全会议 长春网站制作 长春制作门户网站的公司 龙岗高端网站设计专家 信息安全等级保护制度是国家对 信息安全竞赛软件,-1 信息安全高峰论坛深圳公司网站改版通知 网站支付接口 网络安全 公司资质 网络整合营销4i 网站建设与应用 中国网络安全有限公司 团购营销 网站建设的素材处理方式 网站中文域名续费是什么情况 科技平台网站建设 以防火墙为核心的企业 单网页网站 以防火墙为核心的企业 网络安全产品idc排名 信息安全的虚拟世界中型网站 无线网络安全措施 怎样学好网络营销 工信部信息安全中心 通辽网站制作公司 重庆网站设计制作价格 湖南专业做网站企业 网络安全协议是什么 写网站代码 京东校园营销 信息安全等级保护制度是国家对 网络安全管理的功能 京东校园营销 网页网站 平邑做网站 国际信息安全专家,-1 网络安全方法 wap网站模板 中国 网络安全 注册信息安全讲师 中国网络安全有限公司 网络安全综合治理行动 什么网站流量多 工信部信息安全中心 信息安全标准 认证 网络安全合作 网络营销ftp服务 飞鱼星 网络安全 陕西省网络安全 网络安全审计原理 4i营销理论的优缺点 网络安全的最新技术 微商城网站建设平台 工控信息安全 责任 广州网站建设优化 售后服务网站 宝安做网站 网络营销资讯站 注册信息安全讲师 网络营销必看 书籍推荐 顺的品牌网站设计信息 公司建设网站重要性 怎样学好网络营销 网站单页低价网站建设 北京网站制作排名 广州网站建设优化 信息安全等级保护第五级 写网站代码 深圳市信息安全测评中心地址 西安网站建设公 2015年 信息安全 会议 信息安全三级等保资质 网站微博营销哪个好用 网络安全管理的功能 网站支付接口 陕西省网络安全 信息安全三级等保资质 网站建设三合一 关于网络安全的一句话 网络营销的优点 诊断式营销 网络安全技术与应用 官网 公司建设网站重要性 2017信息安全奖学金,-1 网络安全演练流程图 德州网站seo 以色列 网络安全 十大网络安全事件 共建网络安全 共享网络文明 顺的品牌网站设计信息 宁夏网站设计公司 网站信息安全维护协议 百科营销 特朗普发布网络安全法 信息安全竞赛软件,-1 网络信息安全 网络间谍 数据 长沙网站制作服务 招聘网络安全 台州卫浴网站建设 简单建网站 青岛建网站 信息安全咨询 企业 合肥全网营销 网站建设的素材处理方式 网站空间租赁 信息安全的任务是 近五年网络安全大事件 诊断式营销 4i营销理论的优缺点 xctf网络安全对抗赛 网络营销资讯站 网站域名怎么进行实名认证 免费网络安全吗 网络营销是什么意思? 特朗普发布网络安全法 营销网站卖产品方案 网络安全技术与应用 官网 宝安做网站 网络安全法与网络直播 网络营销灰色项目真假 工控信息安全 责任 网络营销ftp服务 网站建设的素材处理方式 卡通画风的网站 重庆网络安全培训机构 信息安全 是哪三者紧密结合的系统工程