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

<a class="close" href="https://gj2.6590.com.cn/">&times;</a>
信息安全学院笔试大连网站制作公司信息安全职业生涯网络营销注册师营销推钟员网络安全信息管理系统网监部门信息安全,-1信息安全会议 2015营销外包价格产品网络营销分析报告苏辰穿越到平行世界,恰逢末日降临!   在所有人都疯狂逃亡时。   他的精神力却在穿越的时候变异了,开局能够操控丧尸。   当别人过着生不如死的逃亡日子,苏辰却活得越发滋润,还有大小美女相伴!   过起了没羞没噪的生活!   不仅如此!苏辰还发现只要不断吞食晶核,精神力就能够操控一切!   物体、重力、星辰、空间、时间...   ···   我叫叶紫萱,是一个重生者!   未来的我觉醒了宇宙4大力量之一磁场掌控,威震八方,人称万磁女王!   可就在我觉醒之时,妹妹却因救我而死!   这一世,我要守护她!   就在我领着她要去最大的基地时,一个叫苏辰的男人出现了,并不怀好意地盯着我们俩。   为了守护妹妹,我只能咬牙挺身而出...一个普通人的奇幻经历踌躇满志考大学,不想2022高考竟是如此之难!考完英语那天下午,林易仰天长啸,痛哭流涕!无颜回去面爹娘,只能凭着手机缓解心绪,谁想一场奇异正向他驰来……在城市中,人们发现自己身边的朋友总是会流传着一种说法 不要自己一个人待在一个没人的地方太久 或许会消失也说不定,谁知道呢? 进入暗室,进入新的世界,或许我们能找到答案 摘 要 年轻的张婷婷因车祸穿越异世,在这古老又陌生的世界里,她是一个普通且贫穷的农村女孩,身无分文的她该怎么带领家人活下去?她又在这个陌生的世界里将会有一场怎样的境遇呢?大家敬请期待。 民国小道士玄虚被系统团子陪伴跨越命运长河,成就命运魔神。是混沌中众位魔神的阴谋算计,还是临死时回光返照的大梦一场? 初见鸿钧,是命运分支的偶然,还是命运运行的必然? 本体沉睡中不断变强,是冥冥中的算计,还是命运的馈赠? 纯粹的混乱是否真的没有意义存在? 世界的毁灭能和意识有多大的联系? 当元宇宙的概念引入适合野蛮生长的文明,对生命体是好是坏? 杀兄弑父能被文明的生命体称为英雄,好人不长命,祸害遗千年。又当又立的恶心生命体真实存在,是真是假? 众生为棋子,如何让他们在虚伪和愚昧中逐渐消亡? 当有棋子超脱棋盘,万法皆空是否已成定局? 成住坏空的佛家魔咒;孤阴不生,独阳不长的道家真理是不是所有世界的真谛? 绝对的理智,绝对的理性,世界会因此变好,还是持续变坏? 混沌中魔神们的俄罗斯套娃,无数的洪荒在命运中起起伏伏。 修仙的真实世界最纯洁是怎样,最残忍又是怎样? 让牲畜们相信黑森林法则,零和博弈,不要让他们有反抗的机会。一列神秘的列车,无限的末日之旅,传说中的奇诡道术,影视剧里才会存在的怪物,无数个位面,无数次末日,惊奇、诡异、神秘、暴乱,谁也不知道列车的目的到底是什么,也不知道是谁发明的列车,他们更不知道自己到底怎么样才能走下列车…一个少年得到仙笔的故事 皇帝倒台后,各地军阀割据,民不聊生。货郎一家五兄弟各自走上不同的道路,老大小货郎一步步逐渐做成大生意,开的分号遍及周边。鼎盛时期竟然可以自己发行小区域流通货币。 老二在家务农种田。老三更是成为一代当地名医。老四和老五分别参加了不同的对立双方,直至把枪互相。怎样抉择?敬请阅读本书小道士出世当警察,收魂、灭魄、封神明,几世轮回定天下。 布局不断为世人。 正可谓:时光为盘,魂做子,千年棋局起风云!
深圳营销型网站公司电话 ps做网站 网站改版升级总结 信息安全应急处理服务资质认证 合肥整合营销平台 杭州高端定制网站 网络信息安全防范技术研究 信息安全方面的软件 京东目标市场营销策略 美国网络安全评估报告 灵魂化解的具体步骤咨询【www.richdady.cn】 性压抑的前世记忆【www.richdady.cn】 升迁障碍的职场晋升技巧有哪些?咨询【www.richdady.cn】 与公婆前世【www.richdady.cn】 财运不佳的财富增长【www.richdady.cn】 前世今生的轮回传说咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 存不住钱的咨询技巧【σσЗ8З55О88О√转ihbwel 什么原因意外的前世案例咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的情感维护咨询【σσЗ8З55О88О√转ihbwel 有官司的法律援助【微:qq383550880 】√转ihbwel 婚姻生活不顺的沟通技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子不读书的改运方法【www.richdady.cn】√转ihbwel 意外的前世影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世的识别方法【微:qq383550880 】√转ihbwel 灵性提升课程【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世记忆恢复技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的缘分再续咨询【微:qq383550880 】√转ihbwel 大龄剩女的婚恋规划咨询【www.richdady.cn】√转ihbwel 孩子不爱读书的阅读环境咨询【www.richdady.cn】√转ihbwel 孩子压力大的改运方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 企业建网站多少钱 重庆商城网站制作报价 信息安全等级备案 桌面端的信息安全 网络安全信息管理系统 网络安全应急响应时间 无锡做网站哪家好 网络信息安全管理,-1 重庆商城网站制作报价 免费建设网站平台 桌面端的信息安全 信息安全业务 网络信息安全防范技术研究 手机网站制作服务机构 电脑信息安全文件,-1 广东做网站 企业网络安全状况 美国网络安全评估报告 信息安全管理体系要素 信息安全证书有什么 营销邮件免费模板下载 知识营销中间页 网站建设策目标 信息安全征文,-1 信息安全的内容包括( ). 创新的商城网站建设 信息安全会议 2015 郑州营销网站托管 简约网站 织梦网站图片代码网络安全流程 营销培训v6 ps做网站 众筹网站建设 四平做网站 信息安全检查管理办法 信息安全员 网站计算机网络安全论坛 网络安全数字签名和手写签名 成都企业网站建设公司 中山网站推广 陕西网络营销公司 国内十大信息安全事件 星巴克的微博营销案例 广东做网站 义乌网站 微信公众号市场营销方案 中国网络安全归谁管理 昆明网站设计电话南通哪里有做网站的 如何创建个人网站 信息安全证书有什么 长沙营销型网站设计 无锡做网站哪家好 企业网络安全状况 公司营销效果怎么样 小米公司内容营销分析报告 o2o电子商务网站 第二届国家网络安全宣传周 创新的商城网站建设 网络安全法 重点 营销策划推广执行 网监部门信息安全,-1 信息安全防范技术 广东做网站 深圳营销型网站公司电话 信息安全学院笔试 商城网站要怎样设计 python. 信息安全 信息安全管理体系要素 商城网站要怎样设计 网络安全法 重点 信息安全工程类 网络安全情况 自己建网站的优势 深圳网络营销资讯 域名搭建网站 骗局 网络安全应急响应时间 高端网站制作 温州网站优化 京东目标市场营销策略 2017网络安全周时间 ipad网络安全 营销培训v6 网络安全工作思路 网络安全交流 给个营销型网站 ps做网站 衡水网站设计费用 武汉市网站制作 安徽网络营销 李强 网络安全审查 广州营销我国信息安全形势 智能建网站 airbnb 中国营销 亚马逊营销方式是什么意思 宣传型网站 桌面端的信息安全 智能建网站 昆山网站 联想电脑网络营销 陈舒 福建省网络与信息安全测评中心 昆山网站 网络营销注册师 营销广告宣传语 信息安全征文,-1 2017网络安全周时间 镇江网站优化 网络安全评估时间 信息安全专业实验室 网络安全宣传周信息 香港网络安全 网页设计分享网站 中国信息安全认证中心在职人员 信息安全 数据分类 国家信息安全监管部门 信息安全职业生涯 2016重大网络安全事件网络安全盒子 医院信息安全解决方案 北京网站的建立 深圳网站订制开发 网络安全评估时间 网站的版式 信息安全知识竞赛 《网络营销学》 网站-网站建设定制 武汉市网站制作 合肥整合营销平台 国内十大信息安全事件 网站乱码 网站-网站建设定制 网络安全培训新闻稿 幼儿园网站设计 深圳网站设计制作 网络安全培训新闻稿 社会化口碑营销 国家信息安全监管部门