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

<a class="close" href="https://wnz.buhuia.cn/">&times;</a>
2016年信息安全大事件太原手机网站开发网站模块化无锡网站推青岛模板化网站建设关注网络安全宣传周网站建设公司是什么密码学与网络安全实验室镇江网站设计网络营销b2b168兰州网站建设在乱世中求得生存并逆袭成神,一个不起眼的普通人如何做到成神的,这还要从三大家族争霸开始说起...奇幻人设+科幻世界会碰撞出怎样的火花?源自近来比较火的一个创意——串烧,背景直接取自笔人从前的作品,延续了近几年的某个游戏世界观,无界限,勿喷。 2122年,地球被人类破环至无法生存。 许多动物几乎全部灭绝,土地均已沙漠化,地核中似乎还有什么生物蠢蠢欲动。为了让地球文明延续,人们建造了一艘巨大的飞船,带上所有动植物的细胞,前往寻找新的家园。 这时候,谁去谁留却成了一个大问题,全球引发暴乱。 最后,世界上所有的精英乘上诺亚方舟,飞往宇宙,那个永远是夜的地方......天行健君子以自强不息,地势坤君子以厚德载物,本欲碌碌一生,奈何世事无常,是向前披荆斩棘,还是任人鱼肉,且看主角在红尘滚滚中如何取舍,亲情,友情,爱情 恩义,众生百态,如何面对,新世界如何创造,旧规则怎么修改,红尘路远,行者无疆 小说情节纯属虚构,如有雷同,请多谅解夕阳不落黑暗永坠。 人族发展前前后后经历了六次黑暗,这第七次黑暗也在这个时候缓缓的来临,所有人都希望能够在这黑暗之中能够存活下来,也正是因为第七黑暗的来临,整个世界也在悄无声息之中发生了翻天覆地的变化,每一次黑暗来临都会孕育出一代强者,而这些强者之中拥有着自己的血脉传承,那些前六次黑暗之中存活下来的血脉传承逐渐的成为了所有人在这第七黑暗存活下来的希望。我叫叶轩,别人武魂觉醒不是动物就是武器。 我不一般,我觉醒了个人!沈灰穿越到可以觉醒世界本源,创造属于自己世界,成为造物主的星球。 有人打造修真文明,有人打造科技文明…… 而沈灰觉醒的却是死亡世界,里面充满了死亡负能量。 一切活物都无法进行创造,被认为是毫无用处的废物世界。 不过作为知晓各种鬼怪,都市怪谈的沈灰,直接打造了一个不要生命的怪谈世界。 贞子,猪头屠夫,富江,警笛头,寂静岭…… 一个个诡异生物或者诡异区域被沈灰创造出来。 不知不觉中,沈灰打造的诡异怪谈世界,让全世界都为之感到恐惧!20年代地域通往人类的恶魔之门产生裂痕,恶魔从缝隙中进入人类世界,而人类诞生了异能者,每个人的异能各不相同,身体的各项也得到质的提升,并建立的防卫局,专门猎杀恶魔。初期,一位优秀的b级异能者在一次英雄救美中得罪了上级的儿子,被流放到臭名昭著,恶魔横行的乱冈区,并有一个不靠谱的上司王大胖(胖局长),来的第一天解救了一个人,遇见了百年难得一遇的血吞月,也代表着区中心的九层塔即将开启,预示着灾难来临...原来,乱冈区的人并不是人,而是恶魔基因为激发的恶魔....本书又名《我在三国强行拼团》《三国砍我,我一人砍三国》 刘云穿越到东汉,绑定附身了拼团系统,本想活命发育,偏偏黄巾起义,一个不小心还将刘备给秒杀了,不得已卷入三国时代。 刘云:“开团了,赶紧冲!来呀,砍我呀!这点兵马,砍我都不够,怎么当反派的?” 刘云:“来嘛,切磋切磋,是兄弟,就来砍我,砍一刀,一刀接一刀,完事请你喝酒。” 只见刘云一路横跳,到处强行找人拼团,势力越砍越大。 天子脖子架着刀:“刘云,你再不登基,我就砍自己了。” 一个只有七岁的小男孩,没有任何修为。。。 一个凡人就敢叫板修炼者、最后差点死掉。。。 不被亲戚以及任何人待见的王无尘,晕倒在路边,被七彩宏光救醒。。。 撞见小姑被辱 激发无名怒火,唤醒七彩红光,使七彩发生变异,从此身高定格在一米六五。。。 被人侮辱、辱骂、各种各样的嘲笑都不在乎,就是不能触碰底线。否则,让你知道花儿为什么那样红。。。 宇宙掌控者阻挡我,我就撑破你的宇宙,把你的宇宙挤压成一团。 王无尘一步一步的建立门派,带领兄弟,踏着纨绔子弟、自以为是、狗仗人势的肩膀踏上修真界,踩着修真界、仙界、神界、圣界、虚无界、甚至宇宙掌控者的尸体,走上哪个高度,成为无上主宰
网络安全逆向工程 昆明高端网站设计 重庆整合营销那里最好 邢台做网站推广价格 2016年信息安全大事件 浙江省信息安全等级保护测评机构 2017年 信息安全大会 营销和运营哪个重要性 潮州seo营销 网站上线后 感情纠纷的情感调解【www.richdady.cn】 大龄剩女的咨询技巧【www.richdady.cn】 前世缘份的改命技巧咨询【www.richdady.cn】 去世的父亲的前世因果【www.richdady.cn】 大龄剩女的婚恋规划如何制定?【www.richdady.cn】 什么原因意外的前世案例【企鹅383550880】√转ihbwel 冤亲债主的干扰与解脱咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运问题在线咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 祖灵的祭祀方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的父亲的前世记忆咨询【σσЗ8З55О88О√转ihbwel 老公家暴的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 解梦的前世记忆咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 事业不顺的原因分析咨询【企鹅383550880】√转ihbwel 忧郁症的治疗方法【企鹅383550880】√转ihbwel 失业的案例分享【企鹅383550880】√转ihbwel 失业的心理调适【微:qq383550880 】√转ihbwel 阴间生活的前世案例咨询【微:qq383550880 】√转ihbwel 脑部不清晰的自我提升【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 意外的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的常见类型咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 怎么做问答营销的策划 吉安做网站 网站建设一条龙 昆明高端网站设计 企业建网站的 程序 网络营销战略特点是什么意思 共筑网络安全防火墙 网站改版完成 自己怎样建立个人网站 公司运营与营销 微信营销经典案例 网络安全平台2017 贵州省网络与信息安全测评认证中心 网站验收流程 网络营销资料 昆明网络营销策划 怎么做问答营销的策划 吉安做网站 网站建设一条龙 昆明高端网站设计 企业建网站的 程序 网络营销战略特点是什么意思 共筑网络安全防火墙 网站改版完成 自己怎样建立个人网站 公司运营与营销 微信营销经典案例 网络安全平台2017 贵州省网络与信息安全测评认证中心 网站验收流程 无锡网站制作排名 网络市场的营销策略分析 企业建网站的 程序 三门网站制作 网站改版完成 合肥网站制作公司 优异网站 公安部 信息安全 认证 以前的域名是非经营性网站备案现在如何转成经营性网站备案 网站验收流程 2016年信息安全大事件 网站建设可以帮助企业 济南手机网站建设公司 项目信息安全管理 优衣库电子邮件营销案例 昆明网络推广营销 网站打开速度慢 昆明网络营销策划 信息安全模板 共筑网络安全防火墙 江苏信息安全事件通报 网络营销常用媒介方式 2017年 信息安全大会 近几年网络安全事件 潮州seo营销 苏州营销网站建设公司 合肥网站制作公司 重庆整合营销那里最好 网络安全前言 吉安做网站 福州建网站 做网页 信息安全征文,-1 移动社交营销 网站建站前期准备工作 昆明网络推广营销 做公司网站的专业公司深圳 青岛模板化网站建设 网络安全周内容 网站建设一条龙 深圳网络安全支队免费微网站 网络安全周内容 福州建网站 做网页 海尔内容营销 上海有名的做网站的公司 网站制作公司哪家好 旅游网络营销策划书 深圳 企业网站建设 网络安全500强中国公司排名 苏州做网站推广的公司哪家好 信息安全等级保护中心 西南科大 信息安全,-1 微信营销经典案例 四川互联网营销公司哪家好 企业建网站的 程序 高端全网整合营销推广 景区类网站 河源网站建设 三门网站制作 国际网络安全形势 无锡网站制作排名 番禺建网站 服务器网络安全设备方案 网络营销战略特点是什么意思 房地产饥饿营销策略 重庆整合营销那里最好 青岛模板化网站建设 网络安全500强中国公司排名 网络安全应急处置图 网络市场营销策略分析报告 信息安全博士,-1 共筑网络安全防火墙 网站快照 信息安全博士,-1 建网站怎么弄 教育网站 网页赏析 网络营销b2b168 营销和运营哪个重要性 网络营销 实践 网站改版完成 武大 信息安全 信息安全培训的通知 苏州网站制作 投诉期新产品 营销策略 河源网站建设 信息安全的基本目标 龙岗网站制作新闻 自己怎样建立个人网站 海尔内容营销 深圳网站建设公司招聘电话销售 朔州网站建设信息安全技能树 网络信息安全综述,-1 贵州省网络与信息安全测评认证中心 网络安全逆向工程 营销系统 杭州制作网站公司 有关风水的网站建设栏目 无锡网站制作排名 网络市场营销策略分析报告 项目信息安全管理 个人信息安全管理 有关风水的网站建设栏目 网络市场的营销策略分析 国内信息安全专家 网络安全和人工智能 网络市场的营销策略分析