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

<a class="close" href="https://iow.uzrs.cn/">&times;</a>
个人网站设计欣赏信誉好的龙岗网站设计信息安全管理三个要素电子营销书免费网站申请网络营销出来有用没微信网站模板网络营销网www的网站怎么申请余姚网站建设公司一个个普普通通的少年,莫名其妙的穿越到了一个集练体、修仙、魔法和异能并存的世界,偶然间觉醒了来自于未来的吐槽系统,结果系统却告知自己他不是正主……方少藏站在金銮殿上,轻轻的拿剑抵住那位的喉咙,一脸无奈的说道: “我只是一个平平无奇的读书人。” “也只想读读书、下下棋、看看风景……” “顺便报个仇——” “至于为什么会弄得天下大乱,改朝换代。” “那跟我有什么关系!” 我只是个儒雅随和的读书人啊!现代科技盛行的时代,神异力量复苏。 正义与黑暗的抉择,科技与神异者的斗争正式打响。 这个世界谁对谁错,需要新的法则来制衡。少年天才于洋来到黄海市当保镖,且看他如何走上人生巅峰自己练笔随笔安放之处什么是教育,当前的教育存在那些痛点,当代大学生又该如何实现自己的教育抱负,且看林苍松是怎么做的…… 谁说选择教师,就是选择清贫。 谁说嫁人不嫁教书匠。 只要你有足够才华,有超凡的实力。 教师也可以做到数钱数到手抽筋。 也可以坐拥香车宝马,身边美女如云。 试看林苍松如何一步步走向事业人生的巅峰....... 谁也没想到病毒爆发的那么突然猛烈,一个两百万人的小城市一夜之间死寂无声,路边的夜市人们横七竖八的躺着,仿佛都在深眠,但每个人粗重的呼吸声和扭曲的面容又似乎在做着噩梦……描述本人在一次机缘巧合的情况下穿越了自己的首创小说作品《仙剑跨世代》当中,亲身经历进行小说作品历程,在小说作品中本人担当着每一个角色的视角来找出作品中的软伤和硬伤的所有漏洞并想方设法更改的过程,从而达到回到自己所属世界的前提,可是就当本人经历千辛万苦迂回曲折的历程后准备回到自己所属世界的时候,令本人料想不到的情况却又再度发生……有人说神话的尽头是科学,纵观人类历史,腾云驾雾与飞机火箭,无不正是遵循这一规律! 也有流言说科学的尽头是神学,时间终会找出造物主,但却只有建国以后不许动物成精的卖萌段子! 神河文明、科技文明,当两种几乎对立的文明不期而遇之时,是两者的灾难灭亡还是两者的共赢共生?又或是争锋之下此消彼长? 末世降临,人心一步步变质! 末世之下,是破茧成蝶的新生,更是种族灭绝的毁灭!天才少年敖夜遭挚爱背叛,更是被其挖脉夺骨弃于乱葬岗。 临死之际融合祖龙精血,开启了逆天龙墟神藏。 高深的功法和武技自行修炼,更有一座座神藏等待着他去开启,有吞天霸体、有荒古圣骨、有极道帝兵... 从此逆势崛起,世家天才、豪门少主,以及诸天仙神魔,不服者统统打爆!
营销型平台网站 珠海移动网站建设公司排名 五级网络安全状况 危 网络安全日郭启全致辞 营销社会环境分析 什么叫网站优化 第三方营销平台的发展趋势 有哪些公司是营销公司 互联网营销环境变化 国家信息安全服务 婴灵的化解方法咨询【www.richdady.cn】 婚姻生活不顺的自我提升【www.richdady.cn】 意外的前世缘分咨询【www.richdady.cn】 前世今生的故事解析【www.richdady.cn】 婴灵的存在有哪些科学依据?【www.richdady.cn】 与老公前世的识别方法咨询【企鹅383550880】√转ihbwel 迟缓儿咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何化解冤亲债主的干扰?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子压力大的案例分享咨询【企鹅383550880】√转ihbwel 改善脑部不清晰的方法咨询【微:qq383550880 】√转ihbwel 内心恐惧胆怯的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 构建和谐亲子关系的方法有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 强迫症的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与老公前世的前世解析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何预防过早离世咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 年轻人过世的常见原因咨询【www.richdady.cn】√转ihbwel 化解冤亲债主的有效方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主化解咨询【σσЗ8З55О88О√转ihbwel 感情纠纷的情感沟通方法有哪些?【www.richdady.cn】√转ihbwel 性压抑的原因分析咨询【微:qq383550880 】√转ihbwel 移动网络安全吗 网络安全控制应该在电商网站有哪些类型 网页设计分享网站 什么是营销型手机网站建设 旅行社网站模版 中国大学信息安全 网络营销公司 信息安全管理三个要素 互联网 与传统营销区别是什么 无锡市网站设计 武汉 信息安全比赛 2015营销大全 盛世国际网络营销团队 网络安全评估:从漏洞到补丁 西宁网站建设 南京网站推广 番禺网站建设怎么样 网络安全监测设备有哪些内容 信息安全产品评测 网站后台开发 雅虎网络安全小组 o2o电子商务网站 工信部信息安全资质 网站建设售前说明书 佛山微信网站建设 网站站内优化 怎么免费建网站 浙江网站建设企业 品牌网站建设维护 安徽信息安全测评中心 重庆市网络安全 网络安全解决方案试题 哈尔滨手机网站制作 网络安全日郭启全致辞 2017年 信息安全大会 普创营销策划有限公司 软文营销的作用及优势 信息安全国家标准目录 余姚网站建设公司 新型网络营销是什么 信息安全事件通报流程 国家信息安全服务 什么是移动网络营销 公安部网络安全产品销售许可证查询 中国大学信息安全 如何建立个人网站 上海建网站的公司 优秀网站建设网络安全法 金融机构 o2o电子商务网站 南京网站制作 宁波网络营销推广 南京网站推广 优秀网站建设网络安全法 金融机构 做一个网站要多少钱 公司网站建设总结 互联网 与传统营销区别是什么 哈尔滨网站设计公司 上海信息安全中心地址 网络安全评估:从漏洞到补丁 网站有哪些类型 重庆专业做网站 美国网络安全战略对中国有何启示 做一个网站要多少钱 投资网站建设 外贸网站模板 4p营销组合战略指的是 雅虎网络安全小组 如何建立个人网站 什么叫网站优化 电商营销课程培训课程 展示型网站建设流程 境外建网站 互联网营销环境变化 旅行社网站模版 微信网站模板 全国信息安全等级保护技术大会,-1 网络营销的基础与实践 网站建设仪器配置表 昆明网络营销实战培训班 江苏信息安全事件通报 什么是移动网络营销 网络安全和人工智能 昆明网站开发公司 网络安全测试方案 江苏信息安全事件通报 深圳网站设计工作室 2017年 信息安全大会 网站建设管理软件 网络安全的目标有哪些品牌整合营销 王者荣耀 有哪些公司是营销公司 电商营销课程培训课程 移动网络安全吗 上海信息安全中心地址 信息安全加密技术 中国信息安全测评中心属于 中国网络安全企业工信部 福州企业网站建设中央信息安全管理中心待遇,-1 日常网站维护 五级网络安全状况 危 公司网站的实例 网站整合营销 红色网站建设 免费kingcms模板影视制作公司网站模板+原程序下载 信息安全技术云操作系统安全检验要求 国外优秀企业网站 网站信息安全等级测评保护 重庆綦江网站制作公司哪家专业 嘉兴 网站制作 免费网站申请 从重大事件看网络安全形势 答案 内容营销 社会化营销案例 普创营销策划有限公司 注册信息安全管理人员 信息安全等级保护中心 公司网站的开发和网版的重要性 网络安全的目标有哪些品牌整合营销 王者荣耀 网站站内优化 网络安全解决方案试题 4p营销组合战略指的是 温州微网站制作哪里有 网络安全监测设备有哪些内容 宝洁网络营销案例分析 网站后台开发 公司网络营销的方案设计 有哪些公司是营销公司 外贸网站模板 网络营销网 中国区2010第一季度网络安全威胁报告 美国网络安全战略对中国有何启示 o2o电子商务网站 普创营销策划有限公司 医药企业网站设计制作 信息安全 研究员 网络安全的防御 共筑网络安全防火墙 网络营销公司做什么的