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

<a class="close" href="https://gf1.teladd.cn/">&times;</a>
ibm 高级信息安全顾问内网网络安全珠海网站网络安全设置包括哪些?复旦+信息安全信息安全综合设计与实践,-1网络安全 加强培训无人机网络安全珠海网站如何加快网站访问速度皇帝统治末期,国库空虚,军中已三月无饷。商贸日益凋敝,多有囤积垄断之现象。国政松弛,军机各部亦有欠款之举,海政疲惫,几近崩溃。司法沦为铢两悉称,律令之行惟强者是瞻。全国一片凋零,百姓苦不堪言。以平民出身的议员何志明、海军巡洋舰队司令高柏加少将和备受冷落的皇族子女刘丽嘉决定起义,推翻皇帝,建立共和。与此同时,在外流浪多年、高柏加少将的孙子高楠也回国助他们一臂之力。然而革命成功三年后,“洛基之子”与“撒旦骑士团”的到来让新生的共和国摇摇欲坠...龙飞穿越到大唐初期,成为了“混世魔王”程咬金的大儿子程处默。 李世民:“处默,颉利可汗率领二十万狼骑到渭水河畔了,赶紧给我灭了狗日的。” 李丽质:“处默哥哥,你虽然又黑又丑,但是你是真英雄,等我长大了嫁给你好不?” 李雪雁:“我不要当什么文成公主,我要当处默哥哥的小公主。” 武则天:“我这一辈子,最大的心愿就是跟着程处默。”魂殇 红尘浊世,崖外桃源 九霄云中,情丝谁牵 白衣皓雪处,落红颜 两相依,两心恋 怎奈何,天长地久阴阳断 江湖风雨,百千浮莲 恩怨情仇,岁岁年年 刀剑争鸣后,魂未散 月光冷,月影寒 一声叹,山盟海誓不复还 情难了,恨难填 却只剩,前路潇潇醉古兰 情未了,恨已残 斜阳下,踏歌杳杳几峰峦 一壶酒,一把剑,梦从前 一个人,一支歌,两缠绵 穿越到异界,一切茫然,如何成就一番事业? 一个已被世人所遗忘的姬姓,一名贫困山区大学生姬小天如何穿越到三国之封神天下的,再现祖上荣光的他是前地狱特种部队的铁血狂徒。 她是温文尔雅的美女人气女作家。 她是一位跨国公司的霸道女总裁。作为主角“昆仑”因为吃泡面噎死穿越之后,怎么可能没有金手指呢!“恐惧系统”这不就来了嘛!   有没有见讲鬼故事修仙的,我昆仑就是。嘿嘿嘿~   地府消失...   神明消失...   包括过鬼故事也消失...我,穿越了,不过有个大问题,我对历史的了解不多,所以,面前这个狼烟四起的战争场面是什么情况,救命哇!一睁眼竟然来到另一个时代。 这是哪,我是谁,这人是谁一个发生在魔法科技并行高度发达世界的故事。 一些不平凡的人和平凡人共同铸造的世界,在和平繁华的表现之下,这里暗流涌动危机四伏,藏匿于久远历史之中的秘密在世界时局变动之际缓缓解开.... 身世不明的少年与这样的时代里步步前行,在推动世界历史的齿轮缓缓前进之时却也在缓缓迈向世界的尽头 少年会成长,孤独的影子却常常伴随。 这是另一个世界的漫长故事,是一段充满了秘密的传说....
公安机关网络安全 信息安全综合实验系统 木马入侵与检测 ssh参数设置 网络安全工作汇报 网站h1 网络安全法举报网站 如何做公司网站 微信营销企业案例分析 中国国家信息安全漏洞库 cnvd 搜索引擎微信与口碑营销 灯塔网站建设 心特别累【www.richdady.cn】 如何提高孩子的阅读兴趣?咨询【www.richdady.cn】 家庭关系中的矛盾解决【www.richdady.cn】 存不住钱的环境影响咨询【www.richdady.cn】 如何识别外灵干扰的症状【www.richdady.cn】 前世今生的轮回转世【www.richdady.cn】√转ihbwel 为什么过世的前世缘分咨询【企鹅383550880】√转ihbwel 前世缘份的重逢有何迹象?咨询【σσЗ8З55О88О√转ihbwel 大龄剩女的婚恋建议【σσЗ8З55О88О√转ihbwel 化解婴灵的最佳时间【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的自我提升【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵对家庭有哪些影响?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 自闭症的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 内心恐惧胆怯的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的故事如何改变命运?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的缘分如何解读?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 迟缓儿的心理调适咨询【www.richdady.cn】√转ihbwel 性压抑的解决方法【σσЗ8З55О88О√转ihbwel 学习成绩差的前世因果【σσЗ8З55О88О√转ihbwel 头脑混沌的案例分享咨询【企鹅383550880】√转ihbwel 信息网络安全工作 美国政府重视信息安全 建网站 网络餐饮营销案例 信息安全专业最牛导师 信息安全等级保护测评师考试 网络安全专业 建永久网站 专业的常州做网站 信息安全测评服务 信息安全内控,-1 三门峡网站建设 微信微网站统计 企业网络安全 ppt 网络安全人员 广东手机网站建设费用 信息安全测评服务 网络安全创新生态联盟 怎么判断网站优化过度 信息网络安全工作 华为 信息安全 复旦+信息安全 中国可信计算与信息安全会议 成都公司网站设计 事件营销可执行方案 中国信息安全管理机构,-1 东莞做网站公司 cdn信息安全管理系统 搜索引擎微信与口碑营销 网络安全平台登录 网站底部备案 企业网络安全 ppt 哈尔滨商城网站建设珠海专业网站建设价格 企业网站建立哪 单位网络安全等级保护工作部署情况 专业的常州做网站 建网站 网络安全的案件新余做网站 珠海网站 信息安全和信息管理 微信营销企业案例分析 工作中的信息安全 专业网站制作公司 信息安全测评中心 凌晨 黄石网站建设 上海高端网站设计公司 傲盾信息安全管理 当今网络安全的四个特点 陕西企业网站建设 ibm 高级信息安全顾问 信息安全资质咨询 建网站 温州购物网络商城网站设计制作 黄石网站建设 南昌网站建设服务器 网络软营销 单位信息安全等级保护工作 途牛网络营销 织梦建网站 青岛网站建设培训 玄武盾 网络安全 长沙商城网站 营销搜测 如何做公司网站 第三届网络安全与执法 搜索引擎微信与口碑营销 2013网络安全威胁报告 全国信息网络安全协会 手机网站做成app 常用的信息安全防护技术 网站建设策略 网站搭建h5是什么 网络营销什么软件好使 对可口可乐营销的思考 东莞做网站公司 微信营销代 网络营销效果报告 河南网站制作 信息安全内控,-1 怎么判断网站优化过度 网站底部备案 手机网络广告营销策划 手机网络广告营销策划 cdn信息安全管理系统 定制跟模板网站有什么不一样 国家网信网络安全应急指挥中心 企业网站建立哪 简约型网站 专业网站制作公司 哈尔滨商城网站建设珠海专业网站建设价格 网络安全实验总结 网络安全技术实训报告 中国可信计算与信息安全会议 上海科技网站建设 长沙商城网站 2017网络安全事例 提供网站建设设计 美团网营销内容 电子邮件营销怎么做 学校网站建设措施 信息安全 身份认证 信息安全测评服务 成都公司网站设计 东莞做网站公司 互联网营销的好处 傲盾信息安全管理 信息安全测评服务 网站的步骤 信息安全专业最牛导师 科技部 网络安全 东莞做网站公司 国家网络信息安全网 网络安全技术实训报告 单位网络安全等级保护工作部署情况 网站信息安全等级保护 网络安全qq群 广东手机网站建设费用 网络营销工程师教材杭州互联网营销 培训机构 手机网络广告营销策划 网络安全实验总结 网站细节 网上信息安全 企业网站建立哪 广东网络安全标准 网站搭建h5是什么 网站底部备案 网络安全培训 信息安全等级保护测评师考试 国家网络信息安全网 网络营销经典 全网营销策划公司 网站建设策略 360网络安全攻防实验室 成都公司网站设计 美团网营销内容