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

<a class="close" href="https://so3m.xuvu.cn/">&times;</a>
ccf 信息安全,-1中国的信息安全技术深圳公司网站改版通知上海市网信办 信息安全网络安全在大学叫什么网站建设优化服务价格php信息安全竞赛电子商务是网络营销吗营销培训学校 - 百度两栏式网站本书以主人公于乐的成长经历为主线,描述了以于乐为代表的85后在社会快速发展浪潮中经历的种种改变。涵盖了童年、校园和职场等阶段,有励志、有青春、有怀旧、有伤感、有纯真的爱情和你我共同经历过的回忆。上一秒还在午休的我 下一秒我睁开眼睛发现一切都变得陌生 我新买没有一个星期的空调呢,没有你我该怎么活 不对,现在我应该在梦里。 可是为什么被打会这么疼 够了,住手。想知道是不是做梦你不会打自己呀 我一脸无语看着刚认识不久的网红小姐姐不爱写个人简介邪魔入侵,乱世已至。 被杀死的人皇背后隐藏着怎样的秘密? 诸神混战,人族的先辈又去了哪里? 战败的士兵逐渐失去了纪律; 无家可归的流民拿起了镰刀; 混乱逐渐取代秩序; 直到那持刀的少年从火焰中历练而出! 前世顶级杀手转生异界骷髅?! 诡异书页 ,神秘纹路,脑中突然出现的那是什么... 隐秘如一团团迷雾笼罩。 前所未有的异界大陆,阿尔伯特睁开了眼睛。 ”我的士兵,帮助你们的王铲除掉来犯的蝼蚁!” “你管眼前这个叫蝼蚁?!” 阿尔伯特的异界冒险,开始了!一不小心穿越到1662年的南明太子朱慈爝身上,是49年入某军,还是能够在末日余晖中绝地反击,肩负起复兴汉人江山的伟业?游戏竞技+重生穿越+星际战争+权谋争斗+自带系统+异世界 罗天,世界最成功元宇宙游戏《开元》的创立者,年薪百万,早已走上人生巅峰! 可当他醒来时发现,自己陷入了时间循环中,既然已经知道下一秒会发生什么,那要好好对付开除他的老板、背叛他的下属,对,更不能放过给他戴绿帽子的妻子! 刚爽完,竟得知所谓的人生循环不过是游戏副本,愤怒! 好在300年后重生的他,免费获得英俊潇洒的身体一枚。 啊?这身体还是皇帝的傻儿子,那好歹给我配个顶级系统吧! 且看罗天如何在未来的元宇宙世界里,呼风唤雨、无所不能,一边打赢星际战争,一边收获美女们的爱情,一步步成为宇宙主宰,拯救世界的大英雄!一代传奇摘星者! 新作者一枚,笔耕不辍,保证日更,谋生不易,求关注一波,送我上榜!这个世界上没有无缘无故的恨,也没有无缘无故的爱。人们活在一个阴冷的世界里,见不到光明,但亲情,友情,爱情赋予了这个世界另一份情感,这个世界被称作太阳系。本文主人公文春水,是个高考落榜的农村青年。本文主要写了文春水坎坷的人生,和他缠绵悱恻的罗曼史。他多才多艺,文静儒雅,一表人才。他为人正直善良,但命运坎坷,爱情多磨难…… 林峰重生在了高考前两个月。上一世的他三十多岁还一事无成,负债累累!重活一世,林峰发誓要改写自己的人生,去弥补那些曾经的遗憾......
全国信息网络安全协... 网络营销小案例分析 网络安全互助平台邀请码 中国网络安全公司招聘 8469网站 2009网络安全事件 信息安全管理协同体系 网络营销工具的分类 香奈儿网络营销策划书 实用网络营销教程 脑部不清晰的生活习惯咨询【www.richdady.cn】 孩子学习不好的心理调适咨询【www.richdady.cn】 儿子抑郁症的咨询技巧【www.richdady.cn】 大龄剩女的咨询技巧咨询【www.richdady.cn】 外灵干扰的咨询技巧咨询【www.richdady.cn】 大龄剩女的婚恋经验【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 暗恋的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 去世的母亲的前世解析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心慌胸闷头晕的原因分析【www.richdady.cn】√转ihbwel 脑部不清晰的案例分享【σσЗ8З55О88О√转ihbwel 孩子不爱读书的家长引导咨询【微:qq383550880 】√转ihbwel 婚姻生活不顺【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的改运方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家宅磁场的检测工具【微:qq383550880 】√转ihbwel 前世缘份【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 解梦的前世影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的心理调适【微:qq383550880 】√转ihbwel 莫名其妙感伤的情感释放【www.richdady.cn】√转ihbwel 冤亲债主干扰的化解仪式【www.richdady.cn】√转ihbwel 儿子抑郁症的症状与诊断【微:qq383550880 】√转ihbwel 设计君网站 信息安全峰会2017 免费企业营销网站制作 成都网站开发公司 浪潮信息安全 绿盟信息安全科技公司 重庆政府网站建设单位 网站设计 广州 信息安全相关单位,-1 营销培训基地 网站建设报价书 中国的信息安全技术 2009网络安全事件 大学生营销win10网络安全密钥 网络营销学习资讯 网络安全管理局巡视 信息安全评估多长时间 网络安全的紧急通知 8469网站 信息安全相关单位,-1 怎么建个自己的网站 网站制作公司合肥 微信火爆营销推文汇总 网站信息安全认证中心单页面网站 网站建设 银川 河南信息安全电子认证中心 华为网络安全解决方案 河南信息安全电子认证中心 网络安全渗透测试培训 信息安全管理协同体系 房地产 网站 设计制作网络营销的适可而止 汉中建网站 中国人民解放军信息安全测评认证 中国人民解放军信息安全测评认证 网站建设优化服务价格 深圳外贸响应式网站建设 信息安全是指 莱芜网站优化 湖南网站制作电话 第十届信息安全 网络安全培训学校 怎样自己创造网站 信息安全互联网公司 2014信息安全事件,-1 效益型网站 营销培训学校 - 百度 贵州网站优化网站创建公司网站 营销型网站和展示型网站的区别 信息安全管理员定义 狮山建网站 网络安全互助平台邀请码 谷歌网站地图 ccf 信息安全,-1 信息安全等级定级 重要保障期间网络安全保障方案 搜索引擎营销竞价账户托管 第三方支付网络安全 重要保障期间网络安全保障方案 游戏营销环境分析报告 互联网推广与营销的区别 网站建设报价书 中国网络安全公司招聘 卫士通信息安全技术有限公司 无线网络安全的应用 免费企业营销网站制作 怎么建个自己的网站 营销型视频 12. 简述计算机网络安全内容和系统安全等级 怎样自己创造网站 长春网站优化 电子信息安全服务测评 网站降权 鲲鹏网络营销策划 湖南科技大学信息安全 网络安全模式下 有限的访问权限 2009网络安全事件 网络安全相关技术 信息安全资质分几级 深圳公司网站改版通知 浪潮信息安全 web网站设计的 网站设计的简称 微商营销模式缺点 大丰网站建设 网络营销团队培训课程 青岛公司网站建设 胶州做网站 郑州网站建设哪家有 php信息安全竞赛 网站建设项目 浪潮信息安全 上海市网信办 信息安全 网站建设需要哪些素材 网络营销学习资讯 中美 网络安全 2017 营销策划部 网络安全的发展历史 网络安全大学生 8469网站 网络安全在大学叫什么 青岛制作网站哪家公司好 新网络安全法2017翻墙 中国网络安全技术 网络安全培训资质 营销培训学校 - 百度 微信营销的发展 时间 网络信息安全政策 胶州做网站 设计君网站 设计有关的网站 狮山建网站 网站配色方案 对比色 网站制作及排名优化 网络安全相关技术 青岛公司网站建设 营销大师客服电话 信息安全系统控制,-1 6p营销要素 汉中网站建设网络安全竞赛试题 微信营销的特点有 自学网络安全看什么书 上海网站制作公司 网站配色方案 对比色 网络安全培训学校 中国网络安全审计 网络安全 军民融合 信息安全相关单位,-1 广州网站推广 林芝网站建设 区块链 信息安全论文 东莞网站建设 信息安全条款 网络安全产品和技术 网站建设 银川 web网站设计的