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

<a class="close" href="https://unvd.885588.cn/">&times;</a>
做的好的网站网站建设公司销售招聘信息安全等相关专业海军工程大学信息安全地方门户网站制作网站的互动2月17 国家信息安全广州h5网站开发搜狗搜索营销湛江网站优化响应式网站设计的要求不知哪个无良老祖立的狗屁祖训,要夺魁才能入世,老子是全能好不?上知天文,下晓地理,琴棋书画样样精通!要不是这几年,看不了师妹们楚楚可怜的目光。会老屈居第二?一尤其那几个老不死的,要不是以后可能成为本少的老丈人,就凭你们老笑我半吊子,不打得你们半身不遂,我配姓隆?!今年比的是武功和医术,看谁能与我争锋?今年我一定要下山,大师姐都下山六年了,要是我找到她,她牵几个小屁孩叫我舅舅,那我找谁哭去?天地不仁以万物为刍狗,圣人不仁以百姓为刍狗。将离,一个初出江湖的少年,仗着胸中侠气替天行道,但这江湖,似乎并不是他所期待的模样。金陵子弟来相送,欲行不行各尽觞,将离的命运如何,且听我慢慢道来!穷了十好几代,你告诉我叶家有个仙尊老祖? 叶不凡不得已,牵着牛儿,开始了一段弑仙屠魔的之旅! 修炼我又快又猛,杀人我又猛又快! 惹到了萧家?大武朝最鼎盛的修真家族? 那得说声抱歉了,因为主角外挂已到货! 纳尼,老祖下线? 不要紧,都不要紧,我和牛儿冲上仙罡杀天尊! 秦洛昇穿越了,穿越到一个虚拟技术极度发达的平行世界。 进入《命运维度》,意外觉醒SSS超神天赋,获得升华之力和魅力值MAX。 当别人还在为爆出一件黄金装备而沾沾自喜时,他已经满身神装。 当别人还在小心翼翼的揣测NPC性格和喜好时,他已经和众多NPC推心置腹,各种隐藏任务,特殊职业,无敌技能,逆天装备,不要钱的给他送。 曾经的热血少年,帮会龙头大哥,一朝出狱,情人被抢,地盘被占,看苏忆南如何逆转命运无情不公! 商战上屡次破产,历经磨难坎坷,重头再来,投资股票,期货翻倍,看金融圈怎样拜倒在苏忆南脚下! 多少年后,一代国际军工巨头集团横空出世,帮助国家抵御外敌,定国安邦,开拓宇宙空间,登陆外星,苏忆南说其实我很低调。 三十年股票市场大起大落,见证一代宗师王者。由于我兄弟孟强的死,我走上了侦探之路,更是接触了很多喜气股改的事情,拐卖儿童、情杀仇杀,总结出了一条经验,不要挑战人性叶晓天,一个23岁的大学毕业生;《破晓》一款称作“第二世界”的游戏,第一世界的咸鱼在第二世界会是怎样的呢?召唤到异界,校园生活,恋爱,战斗,朋友,生死,召唤兽,魂主魂奴简介:穿越平行世界,许聪收获了一个可爱的女儿。 可还没等到好好疼爱,女儿就被逼捐,被体罚。一怒之下,拥有系统的许聪,叫来了娱乐圈的一位天皇巨星! “敢欺负许先生的女儿,你这辈子就生活在阴影中吧!” 从此,许聪一边和小姨子带娃,一边靠着系统,在娱乐圈迅速崛起。 歌后,影帝,顶流,想得到我的指点帮助,成为我的门徒?先问问我乖女儿再说! 宣传、策划、投资,想开会和我商量一下?等着,没时间,没看我正陪女儿看喜洋洋呢吗? 乖女儿,来,亲一个!mua!绝世神王,重生一世,修无上逆天功法,有神王传承记忆,偶尔指点一下那所谓的天下大师,随手收几个天才做弟子跟班。 “缺少功法?那很简单!” “没有丹药?容易至极!” “问题是,你跟我混了么?” 这一世,叶星辰注定要踏上那巅峰至强者,以强凌云,以武逆天。
网站后台更新没有变化 信息安全预警分级 上海网站维护 四川省信息安全测评中心业务 如何办网站 搜索营销的主要模式 娃哈哈营销策划主题 地方门户网站制作 静安西安网站建设 网络安全人员评估法案 大龄剩女的自我提升咨询【www.richdady.cn】 纠纷的案例分享咨询【www.richdady.cn】 感情纠纷的情感咨询如何进行?咨询【www.richdady.cn】 耳鸣的案例分享【www.richdady.cn】 与老公前世的前世修行咨询【www.richdady.cn】 孩子厌学的心理调适咨询【σσЗ8З55О88О√转ihbwel 财运不佳的财富积累【www.richdady.cn】√转ihbwel 与公婆前世的故事分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主的干扰解决方法【σσЗ8З55О88О√转ihbwel 冤亲债主干扰对生活有何影响?【www.richdady.cn】√转ihbwel 去世的父亲的前世修行【微:qq383550880 】√转ihbwel 无形干扰【σσЗ8З55О88О√转ihbwel 婴灵的安抚与超度【企鹅383550880】√转ihbwel 内心恐惧胆怯的前世影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与女友前世【σσЗ8З55О88О√转ihbwel 外灵干扰咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的教育建议咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子抑郁症【σσЗ8З55О88О√转ihbwel 外灵的驱除方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子不爱读书的家长引导咨询【www.richdady.cn】√转ihbwel 山科信息安全怎么样 网站建设分几个阶段 网络安全监测设备有哪些内容 网络安全图片和文字 我想做个网站 宝洁网络营销现状 山东网络安全大赛报名 网站开发费用报价单 广西网络安全技术大赛 信息安全算什么院 重庆网站布局信息公司 湖北省信息安全等级信任对营销的重要性 网站构建 你对网络安全怎么看 静安西安网站建设 网站制作换下面友情连接 网站的目录结构 2月17 国家信息安全 搜狗搜索营销 宣传网络安全广告 网络安全法对央行履职 建行手机网站 今日头条 移动营销 2016我国信息安全十大问题 今日头条 移动营销 重庆网站设计公司排名 三只松鼠新媒体营销 网站公司 南昌网站忧化 网络安全管理证书 宁波网上营销网 网络安全和java工资 外国教程网站有哪些 上海集团网站制作 涪陵做网站 信息安全算什么院 网络信息安全技能大赛 2017年信息安全竞赛 搜索营销的主要模式 宁波网站设计 餐饮网上营销 泉州做网站 饥饿营销现状 网站制作 价格 信息安全赚钱 网站开发费用报价单 广州h5网站开发 健身器械网站建设案例 怎么创建网站/ 饥饿营销现状 网络营销分为哪些特点是什么 2015年网络安全厂家 上海集团网站制作 宣传网络安全广告 句容做网站 重庆网站布局信息公司 招聘 信息安全,-1中国网络安全研究院 广州网站建设信息科技有限公司 网站色彩的搭配原则有哪些 email营销的基本要素 鹤壁做网站 网站公司 5设计网站 你对网络安全怎么看 义乌做网站 网络安全 篡改 西安网站维护 济南网络推广网络营销软件公司 2016我国信息安全十大问题 2016我国信息安全十大问题 深圳建设网站 宁波网上营销网 公安部网络安全测评中心 网站模板的好处 门户网站制作 ids与防火墙联动的网络安全模型设计 email营销的基本要素 专业网站建设 信息安全预警分级 句容做网站 网络营销目标市场分析 涪陵做网站 响应式网站设计的要求 重庆綦江网站制作公司推荐 石家庄的电商网站建设 广州h5网站开发 宝洁网络营销现状 2017年信息安全竞赛 政务类网站 制作网站我国信息安全法规概述 邢台网站制作哪家强 网络安全软考 台湾网站建设 微网站自助建站后台 网络安全管理证书 信息安全等相关专业海军工程大学信息安全 上海网站维护 即时通讯工具营销 昆明网络营销网站 网站兼容工具 网站转移 移动网络营销平台有哪些 成都网站建设龙兵科技 网络安全技术新方向 2015年网络安全厂家 健身器械网站建设案例 邢台网站制作 怎么创建网站/ 播客营销 网络安全监测设备有哪些内容 天枢信息安全协会 网络安全和java工资 南京网络安全赛 重庆网站布局信息公司 企业宣传网站建设 昆明网络营销网站 饥饿营销现状 饥饿营销现状 网络安全技术新方向 南宁网站推广 网络安全和java工资 我想做个网站 制作网站我国信息安全法规概述 义乌做网站 山东网络安全大赛报名 石家庄的电商网站建设 360信息安全大赛 专业网站建设 娃哈哈营销策划主题 上海网站维护 网站推广营销案 信息安全技能赛 安全狗 网络安全 篡改 网站色彩的搭配原则有哪些 网站推广方法