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

<a class="close" href="https://a3cu.upjay.cn/">&times;</a>
中国信息安全联盟网站的标准展示类网站官方网站怎么建设的网站承建网站首页页面设计网络安全仿真系统如何进行internet信息搜索?有哪些搜索引擎网站?电子商务网站制作深圳网站建设新闻免费企业网站模板  【迪化+种田+幕后+伪心声】   林天穿越洪荒,成为一名地仙。   只要每天写日记,就能获的相应的奖励。   从发牢骚至洪荒大事,都被林天写了进去。   【长耳定光仙是截教的叛徒】   【多宝是个反骨仔,后来成立佛教,化名如来】   【天道圣人,也是鸿钧的阴谋而已】   写日记,也获得了相应的奖励。   可林天不知道的是。   通天却能看他写的日记,于是怒斩定光仙,并自废圣位! 千古一帝李玄烨在登基之日享受四方来贺之时惨遭妻子师父联合杀害,但竟意外转世重生,成为一废物皇子,但凭借君王的权谋与自身强大的力量再回巅峰,当其带兵直取二人狗头之时,得知其中秘辛,从此……  夏朝自太祖皇帝公孙鸿登基以来已经延续五百余年。京城玄氏与法隆寺,地仙门、黄钟观从龙征战天下,建不世之功,四处圣地的掌门人被朝廷敕封‘天’‘地’‘玄’‘黄’四柱国。十年前,当朝皇帝公孙建瑞年老体衰,欲从众皇子中确认太子之位,八皇子贤王公孙德勾结魔道魁首天机府突然发难,二皇子庆王公孙霄汉生死,四处圣地被捣毁殆尽。十年之后,四大派残余势力建立雪神宫,并谋划复仇大计。   一个小和尚和一只狗成为了整个计划的最重要的钥匙,机缘巧合之下,从未入世的一人一狗开始了自己的旅程。是被当作工具完成复仇大计之后九死一生,还是查明真相并且拥有保护自己和亲人的实力。了脱给你带来不一样的江湖,这里有神兽、有佛子、有圣女、还有玄甲军。。。在江宁区的一个小村庄里,有着一栋具有百年历史的别墅,那里的村民都不敢靠近那栋别墅,相传那栋别墅里闹鬼,这天,来了一群不速之客,他们是某音主播,他们不信这里有鬼,带着直播工具来到了这栋别墅,他们白天在别墅里看了一圈,别墅里破破烂烂,楼梯走上去都带有“咔嚓、咔嚓”的声音,楼上除了几个破烂不堪的卧室外什么也没有,很快夜幕降临他们也准备开始直播,直播开始半个小时,人数已经到达了几千人,刷礼物的人数不胜数,顿时间他们的氛围灯不亮了,瞬间直播被关闭了,这件事在微博上传的沸沸扬扬的。一对初恋情侣,阴差阳错分隔了二十多年。再次相逢时,已是物是人非,想爱也不能,彼此把那份爱深埋于心,不去触碰。当命运的厄运的再次降临时,把他们重新联系在了一起,两人恪守着人伦道义,彼此煎熬。他们无法逾越道德的界线,就这样一直默默的为对方付出着,不在乎世俗的异样眼光。直到女孩最终撒手西去,男人才得以从那份理不清,理还乱的情感之中解脱。一代冰皇的成长日记,接受黑暗之眼的男魔法师,在冰霜洗礼下成就阿拉德大陆最强冰皇金天问身具极品根骨,但是被青梅竹马的玩伴谷艳红陷害,使用邪术盗走了极品根骨,这让金天问成为了废人。 金天问发誓一定要报仇雪恨的,但是,谷艳红已经成为了武功派掌门的亲传弟子,位高权重,势力庞大,金天问只能暂时隐忍,等待报仇的机会。 为了斩草除根,谷艳红恳求武功派掌门派人将金天问掳来,放在悬空的铁索桥之上,铁索桥的两端,有剑气逼人的灵剑和凶猛的妖兽赤目白猿阻挡,让金天问无法离开,只能等死。 此时,金天问觉醒了万倍模拟修炼系统,能够让时间暂停,修炼上几百天、几千天,如此,金天问在系统的帮助下,终于可以修炼了,达到了金刚境第三重的境界,拔出了剑气逼人的灵剑,然后斩断了赤目白猿的铁链,放走了赤目白猿。时间的滚轮在某一刻轧过,将无数人的命运牵入其中。堕落天使看见了涯角的希望。裂空中传来的号角声,揭开了冒险的帷幕,故事从亘古已经开始,关于第四大陆的秘密,将被揭开。21世界的凤凰男昊天不幸战死酒场,怨气冲天,魂魄不散,穿越重生到大草原,拯救昊氏于危难之中。 昊天运用在21世纪所学,带领昊氏统一大草原,进而逐鹿中原,建立王朝。叶鑫是一名普通高中生,某天发现自己被惊悚副本选中。   副本只有4.3%存活率。   凉凉!无助!   叶鑫绝望时觉醒了人鬼皇系统:他能看破鬼怪生前!他能看见好感度!他还能使用鬼怪的武器!   从此以后,骚鬼如风,常伴吾身。
国家信息网络安全标准 信息安全等级化保护规范 建交友网站 景德镇网站建设 沈阳做网站的公司排名 网络营销工作任务 网站建设技巧 网络营销对传统营销模式的影响 2016网络安全大事 信息安全管理实践报告 婴灵对家庭的影响咨询【www.richdady.cn】 老公家暴的原因分析咨询【www.richdady.cn】 什么原因意外的前世因果【www.richdady.cn】 亲子关系的心理建设【www.richdady.cn】 前世缘份的重逢故事咨询【www.richdady.cn】 灵魂治疗与心理辅导威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感咨询咨询【企鹅383550880】√转ihbwel 不爱读书的环境影响【σσЗ8З55О88О√转ihbwel 去世的父亲的去向解析【微:qq383550880 】√转ihbwel 强迫症的康复训练咨询【www.richdady.cn】√转ihbwel 亲子关系中的沟通艺术有哪些?【σσЗ8З55О88О√转ihbwel 去世的母亲的前世记忆咨询【微:qq383550880 】√转ihbwel 婴灵的化解仪式咨询【微:qq383550880 】√转ihbwel 大龄剩女的案例分享【微:qq383550880 】√转ihbwel 感情纠纷的情感咨询咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子压力大的自我提升咨询【企鹅383550880】√转ihbwel 家庭关系【σσЗ8З55О88О√转ihbwel 化解冤亲债主的有效方法咨询【微:qq383550880 】√转ihbwel 财运不佳的改运技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 意外的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 展示类网站 网络安全的实施 网站制作公司 番禺 深圳网站建设新闻免费企业网站模板 实战全网营销是干什么 网络营销成功的案列 静安区品牌网站建设 合肥微网站 整合营销 河北大学信息安全专业 饿了么网络营销策划书 2016网络安全大事 广州品牌设计网站建设 网站建设技巧 网络安全检测评估 Fastcgi做网站 网站缺点 品牌型网站 外贸网站推广软件 营销动态 河南省信息安全对抗赛 电子商务的网络安全 网络营销对传统营销模式的影响 罗湖网站制作 银行员工如何防范信息安全 网站建设官方网站 酒店电子邮件营销案例 功能类网站 天津 网络安全事件 网站建设技巧 idc信息安全管理系统架构 cu eu 网络营销成功的案列 互联网营销项目 中国大学生网络安全 南昌建网站的公司 全网整合营销 电子商务网站制作 网络安全与应急管理制度信息安全与无线网络 深圳网站制作公司人才招聘 大连 做 企业网站 品牌型网站 网站制作及排名优化 网络安全检测评估 营销的图片 网站制做公司 近年来信息安全大事件 酒店电子邮件营销案例 云网站系统 网络安全交流协会 怎么制作网站 网络信息安全教材,-1 网络营销工作任务 外贸网站推广软件 网络营销要素 网站设计行业资讯 营销式网站 怎么建个自己的网站 简约大气网站设计欣赏 信息安全等级保护实验室 小米手机网络营销目标 Fastcgi做网站 openssl与网络信息安全 下载 莱西做网站 Fastcgi做网站 网络营销要素 深圳企业网站建设公司哪家好 石家庄网络营销推广 网络安全基础ppt 国家信息网络安全标准 实战全网营销是干什么 信息安全国际标准 河南省信息安全对抗赛 网络安全管理人员 学院网站规划方案 国内渠道整合营销 中国信息安全联盟 网络安全风险评估情况 网络营销成功的案列 银行员工如何防范信息安全 国家网络安全中心 网络安全狗招聘 网络安全漏洞的定义 营销外包效果 如何进行internet信息搜索?有哪些搜索引擎网站? 信息安全管理实践报告 沈阳做网站的公司排名 景德镇网站建设 网络信息安全教材,-1 小米手机网络营销目标 信息安全国际标准 广州品牌设计网站建设 景德镇网站建设 营销动态 合肥微网站 建交友网站 营销动态 北京建设网站的公司 南昌建网站的公司 静安区品牌网站建设 网站推广报价 简约大气网站设计欣赏 整合营销 企业网站优化 深圳大型网络营销公司 网站创建公司网站 东莞建网站 中国大学生网络安全 网站的标准 深圳网站建设新闻免费企业网站模板 河北大学信息安全专业 营销短视 蓬莱建网站 茂名网站建设信息安全等级保护大会 网站建设周期 智能网联 网络安全 idc信息安全管理系统架构 cu eu 大丰网站建设 网络安全交流协会 信息安全运维实用技术国家注册信息安全员 长安网站优化 网络安全漏洞的定义 北京高端网站设计外包公司 网络安全宣传信通公司 营销动态 网络营销要素 银行员工如何防范信息安全 小米内容营销分析 互联网营销学习 国家信息网络安全标准 app手机网站设计 交通标识用品适合网络营销吗? 深圳大型网络营销公司 网络安全管理人员 信息安全规划的内容 石家庄微网站建设