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

<a class="close" href="https://qjvvnr.jiee.com.cn/">&times;</a>
无限动力网站外贸网站建设公司网络安全售后服务上饶做网站现在手机网站设计软件信息安全认证新媒体营销成功案例ppt模板营销案北京市信息安全中国网络营销环境研究现状在地球结束千年的内战,面向宇宙发展的时代之后,科技在不断进步,能源也在不断替代,同时新的危机也在悄然降临,为此地球一些预知者集结了财力人力,提前创建了一支名为守护的组织,提前代替军队同那些侵略异端生命体战斗,在条件达成后开始下一阶段守护人类的计划。 联系qq:3220027841一直想说一个没有任何技能的普通人怎么在一个动荡的年代生活,没有金手指,没有逆天的系统,没有丰富的历史知识,更没有化工知识,对军事更是一个白痴,甚至对古诗词也之记得几首的一个真正普通人,他能否在那个年代生存下来?大明万历四十八年,陈操因为一次意外魂穿明朝,开启了人生霸业之旅 普通版本简介:陆有恒在陪女朋友逛街加班途中,撞到一根诡异的电线杆上重生了。重回十年前大一入学之际,平平无奇(俊雅清逸)的陆有恒只想通过前世记忆经验,合理安逸轻松地做个普通人。 装逼版本简介:数学分析习题中神秘遁去的“三”,开启了陆有恒的玄妙装逼之路,“鸿蒙剖破玄黄景,又在人间治五行。度得轩辕升白昼,函关施法道常明”的太上道祖,与陆有恒究竟有何关联? 十年前,杀星江峰横空出世,枪挑修道世家,剑夺美人娇妻,娶了13个老婆。 后来被雷劈死了。 子嗣江川,拥有超凡能力却无法修行,百年岁月就要沦为黄土… 仰天长啸,苍茫星海,如何走出长生路?   李乘风穿越到一个妖魔横行的世界,成为青城山的一个守山人。   奈何他没有灵根无法修炼,只能安安分分做一个普通人。   但是有一天,他的系统突然变异了,从此成了一个令一众妖魔闻风丧胆的得道高人……   这妖怪也太弱了,我都没有出剑呢,怎么就死了。   我养的一条狗,居然是横扫妖界的一方妖王。   我池塘里的乌龟,竟然蜕变成了洪荒神兽。   之前跟我下棋的老头子,最后竟然成仙了。   还有那个最喜欢听他吟诗作对的漂亮姐姐居然修仙界第?仙?。   知道这些真相之后,李乘风开始怀疑人生:   我该不会真成为绝世高手了吧? Faker:单杀叶一修?你在开玩笑吧?什么人能单杀一座防御塔?我单杀他的唯一机会就是在输掉比赛后跟他握手的时候。 Theshy:修哥,我们五五开好不好?我们安稳发育好不好?求求你别再单杀我了。 污渍:他才是世界第一VN! 山泥若:修神,永远滴神! 听着众人对自己的评价,叶一修偷偷看了眼自己的白银段位,额头狂冒冷汗。 不懂就问,如果一个世界冠军被人发现其实是个白银的菜逼,会不会被人给打死?在线等,挺急的!!一把钥匙打开了异世的大门, 【位格】的会议拉开了最终纪元的终焉。 终局到来前,星神,主宰,旧王,时局, 六个纪元的恩怨纠葛,阴谋算计,终将迎来终结。幸运与不幸,冥冥之中自有定数。幸运也好,不幸也罢,既然来到了这世间,怎么也得好好看看,这是个怎样的世界!当气温骤降,末日是否即将到来? 直到人们发现,这一切的一切才开始救赎。智慧的头脑与冷静的心,是面对这一切的最好决策。现代科技不断更新迭代,那厚厚的冰墙却还是亘古不变。为什么? 冰的另一端是什么?这没有人知道。或许是另一个国度,又像是真理的尽头。虚无缥缈的希望与能砍破一切的破冰刀,在人们的手中,又有多少的绝望? 破冰者,这个时代的荣耀,但谁又知,成就之困难。唯有在绝望中诞生的,或许可以借助这一切,去往之真理的圣地。 “所及之处,处处是路,处处是光明,还有先辈们的脚印与他(她)们的热血_”
新媒体营销成功案例ppt模板 网络营销目标市场案例 保定网站优化 外贸网站建设公司 网络营销创新模式 新媒体营销成功案例ppt模板 软件信息安全认证 常德网站建设 天津信息安全比赛 中国网络营销环境研究现状 精神不振的咨询技巧【www.richdady.cn】 孩子学习不好的环境影响咨询【www.richdady.cn】 孩子学习不好的原因分析咨询【www.richdady.cn】 耳鸣的前世记忆咨询【www.richdady.cn】 老公家暴的心理调适咨询【www.richdady.cn】 升迁障碍的职场策略有哪些?咨询【σσЗ8З55О88О√转ihbwel 大龄剩女的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 头脑混沌的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 迟缓儿的自我提升【σσЗ8З55О88О√转ihbwel 阴间生活的描述与传说【www.richdady.cn】√转ihbwel 人际关系不好的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 失业期间的心理调适方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 投资项目的收益分析咨询【微:qq383550880 】√转ihbwel 婴灵的形成原因【www.richdady.cn】√转ihbwel 孩子厌学的环境影响【微:qq383550880 】√转ihbwel 冤亲债主干扰的超度方法咨询【微:qq383550880 】√转ihbwel 家庭关系的相处之道咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 什么是婴灵?【www.richdady.cn】√转ihbwel 缺心眼的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 意外的前世修行【企鹅383550880】√转ihbwel 大良网站公司 网络安全百强 全国大学生信息安全竞赛题目 电商与微营销 信息安全攻防技术 常用的信息安全技术 中国网络安全形势2016 网络信息安全项目 网络信息安全的基本功能,-1 信息安全博览会,-1 信息网络安全检查 网络安全 bbs 无限动力网站 兰州营销型网站建设 微信营销软件招代理 陕西信息安全管理中心 网络营销目标市场案例 网站互联 信息网络安全知识培训 全国大学生信息安全竞赛题目 海尔企业的营销文化 信息安全 国产化 打印机 信息安全-信息系统安全等级保护基本要求 免费足网站 无限动力网站 4g网络安全 关于进一步推进人民法院信息安全等级保护工作的通知,-1 中华人民共和国公安部网络安全保卫局 东营设计网站建设 软件信息安全认证 金融行业信息安全市场 太原推广型网站建设印度 网络安全企业 收购 网站制作呼和浩特 网络安全 bbs 重庆整合营销哪家最好 网络信息安全评估 陕西省网络信息安全保护网 网络营销目标 信息网络安全检查 网络信息安全的基本功能,-1 假期网络安全分析 当今的网络安全有四个主要特点 大数据网络安全专业 上海平台网站建设公司 网站h标签 网站托管费 网络营销有什么性质 基于h5的个人网站建设 传统营销的价值建微网站 中国网络营销环境研究现状 如何理解IT信息安全 营销推钟员 网络安全风险提示单 网站建设常州 企业网络安全加固 国家信息安全等级保护网 重庆网站建设公司那好 网络安全形势严峻 网络营销新媒体技巧 常德网站建设 基于h5的个人网站建设 蓝色网站建设上海市网站建 上饶做网站 网络安全产品有哪些 保定网站优化 海尔企业的营销文化 电子邮件营销十大禁忌 小米的创新营销之道 当今的网络安全有四个主要特点 保定网站优化 网络安全 比赛 网络安全的特点有哪些 成都网站推广 包头市计算机公共网络安全协会 外贸网站建设公司 企业网络安全加固 2012年国家下一代互联网信息安全 专项产品测试成绩 网络安全流程 手机网站生成app 蓝海国际版网站建设系统 重庆整合营销哪家最好 深圳网站设计平台 陕西信息安全管理中心 下列不属于搜索引擎营销管理分析的是 学好网络安全法规 短信 全国信息安全大赛培训 中国网络营销论坛 中国电子网络信息安全 广东手机网站建设报价表 浙江 网络 营销 好 网络营销虚拟性 网络安全 bbs 企业网站程序 沈阳做网站哪个好 网络营销学徒是干嘛的?浙江乾冠信息安全 太原网站设计 4g网络安全 福建信息安全就业 重庆网站建设公司那好 网络营销目标市场案例 包头市计算机公共网络安全协会 4g网络安全 网站f式布局 末加密的网络安全吗 番禺做网站 国家网络安全中心 英文 下列不属于搜索引擎营销管理分析的是 网络营销创新模式 太原推广型网站建设印度 网络安全企业 收购 网络安全 僵尸网站 小米的创新营销之道 网络安全百强 营销与销售有什么区别 网络营销有什么性质 网络信息安全的基本功能,-1 北京市信息安全 贵阳建网站 2013网络安全博览会 武汉做网站公司 郑州网站推广流程 信息安全 采访 广东网站建设专业公司 怎么看待网络安全 网站优化西安 网络营销策划的分类 医院怎样进行网络营销 网络营销服务包括哪些 营销案 企业网络安全加固 陕西信息安全管理中心 成都网站建设市场分析 信息网络安全检查 石家庄网站排名软件 黄岛网站建设 软件信息安全认证