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

<a class="close" href="https://hhvdrc.xozu.cn/">&times;</a>
信息安全等级保护 整改,-1工业网站建设整合网络营销 客户病毒营销的定义与特点是什么信息安全应急响应服务网站交互性网络安全600易建筑友科技有限公司网站网络安全法新闻稿网络安全监测和预警情况网贷网络营销沈灰穿越到可以觉醒世界本源,创造属于自己世界,成为造物主的星球。 有人打造修真文明,有人打造科技文明…… 而沈灰觉醒的却是死亡世界,里面充满了死亡负能量。 一切活物都无法进行创造,被认为是毫无用处的废物世界。 不过作为知晓各种鬼怪,都市怪谈的沈灰,直接打造了一个不要生命的怪谈世界。 贞子,猪头屠夫,富江,警笛头,寂静岭…… 一个个诡异生物或者诡异区域被沈灰创造出来。 不知不觉中,沈灰打造的诡异怪谈世界,让全世界都为之感到恐惧!一次探险,两个好兄弟,同时穿越至大唐天宝年间,一个成了最有权利的太监,一个成了最有作为的皇帝,历经安史之乱,惩后宫,除阎党;运用现代技术,打回纥,平南诏,收吐蕃,威震天下!同时作品也歌颂了动乱局势下,那些为国泰民安牺牲的大人物与小平民。五年前,因为一场陷害,震惊江城的一件事情,我离开了这从小到底都在这里生活的地方。 五年后,我成为了战神,创立战神殿,独立边境震慑诸国,满身荣耀的回去寻找那对我做梦都想去弥补的妻女。刚穿越就遇到了富家公子强抢名女的经典场面 沈墨渊心想‘这不是到我装B的时候了吗’ 【检测到宿主意愿,参考宿主战力,请选择】 A、脱光衣服并大喊我是伞兵’吸引敌方注意 B、系统将宿主变为女性,使敌方注意力从救援对象身上转移到宿主身上 C、什么都做不了的你个废物变成一条臭水沟 好像不太对啊?为什么没一个正常选项啊,选哪个好像都要社死啊 【系统重申】 【请从选项中选择,倒计时】 【十、九、八、七。。。。】美女别跑呀! 落魄单身狗---林枫内心抓狂。 《人生游戏》? 你,这是个什么样的游戏软件呀? 魔幻! 令人不敢想象,可这一切正诡异地发生着…… 老天爷哪!这个世界到底怎么了? 世人震惊地看着这个变幻莫测的世界,眼里满是恐惧…… 红芒! 满眼是红芒! 抽刀难断回忆的河,剪不断,理还乱,多少少年烦心事,都随时间去异冰世界,武法并存,在最危险的冰封之巅里,有一个武法士在闯荡,他叫星空,是个傻子,他偏偏来到了他不该来的地方。在这里,他以傻子的觉悟活着,无论遇见的是人还是怪,他都以真心相待,或许,在冰封之巅里,傻子更容易生存。穿越到修仙界以后,苏淮身负神级灵脉,本想从此加入宗门扬名立万,却没想到触发了摆烂系统,只要隐藏灵脉签到就能不断获得奖励。 所有修士究其一生都难以获得的高阶功法和灵物,苏淮只需摆烂不去修行就能直接获得。 签到给奖励,相爱三年的妻子也温柔大方,隐居在小城里无欲无求,苏淮对这样的生活很满意。 直到某一天,人族遭遇空前灾难,苏淮被人族诸位巨擘恳求出世,他独自端坐在皇朝中州大地,太上剑宗的飞升仙台之上,却发现自家那贤淑温婉的妻子正率十万妖军朝自己这里疾驰而来。 “娘子,你原是妖族女皇?” “夫君,你竟是人族准圣?”陆霆风睁开眼睛发现自己正身处于几乎被丧尸占领的世界,老师,学生,环卫工人,快递小哥等等全部变成了浑身脓包,面容枯槁且吃人的行尸走肉。 人类文明百年铸就的钢铁森林一点点腐朽,大地被鲜血染成了绯红色,滔天山火,汹涌洪流,大雪灾,酸雨······当货币金钱和权力失去了诱人的颜色,那贪婪与自私便成了幸存者的代名词,末日里只有水与食物才是硬货币,所有人都在祷告这场灾难早早结束,可这却不是一场游戏,没有人是最后的赢家。 活下去! 不要被其他人吃掉! 陆霆风唯一的信念就是找到弟弟陆雷云,并想方设法从满是丧尸的东川市逃到几千里外的【人类幸存者要塞】,他会成功吗?你是崇尚自由还是权力? 你是喜欢逍遥还是爱情? 是与否?
网站建设预览 网络营销 短期培训 网络安全竞赛 网络营销思维 瓦房店网站建设 信息安全 一级个性化定制网站 2017 信息安全 设备 蘑菇街微博营销 华为信息安全服务证书 北京大学信息安全实验室 忧郁症的咨询技巧【www.richdady.cn】 官司的原因分析咨询【www.richdady.cn】 去世的父亲的前世故事【www.richdady.cn】 外灵干扰的环境影响咨询【www.richdady.cn】 家庭关系的前世记忆【www.richdady.cn】 前世缘份的重逢故事咨询【www.richdady.cn】√转ihbwel 投资项目咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 强迫症的家庭支持【企鹅383550880】√转ihbwel 孩子厌学的家庭教育【微:qq383550880 】√转ihbwel 财运不佳的财富转运方法有哪些?咨询【σσЗ8З55О88О√转ihbwel 冤亲债主干扰的化解仪式咨询【微:qq383550880 】√转ihbwel 前世缘份如何影响情感生活?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 内心恐惧胆怯的解决方法【企鹅383550880】√转ihbwel 财运不佳的投资建议【σσЗ8З55О88О√转ihbwel 精神不振的咨询技巧咨询【企鹅383550880】√转ihbwel 精神不振的心理调适咨询【微:qq383550880 】√转ihbwel 强迫症的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 外灵干扰的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 公司破产后的员工安置问题威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 有官司的解决方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 企业营销网站建立 网络安全运行 快速营销 关于网络安全报道 中科大信息安全 上海网站设计开 成都 网站建设 360网络安全大会 长沙网站托管 简述城市信息安全管理的意义 科技网络安全应用 信息安全行业招聘 上海建站网站的企业 做网站多钱 网站建设案例怎么样 制作网站的要素 网络安全供应商 中山企业手机网站建设 网贷网络营销 微信网站 中国计算机网络与信息安全学术会议 信息安全管理发展历史 上海建站网站的企业 江门网站制作 地产网站建设 信息安全意识培训ppt2017年最新网站设计风格 对网络营销的感悟 信息安全等级保护 整改,-1 三金网手机网站 秀设计网站 华为信息安全服务证书 整合网络营销 客户病毒营销的定义与特点是什么 中科大信息安全 信息安全风险评估做什么 衡水做网站推广的公司 网络营销能力秀等级 网络安全供应商 17做网站广州 网络安全密码如何查找 网络安全日志审计 保定网站建设 网络安全密码如何查找 信息安全等级保护 整改,-1 商务网站设计 中国风配色网站 关于信息安全的比赛 在东营怎么建网站 科技网络安全应用 网络营销产品缺点 东莞网站开发推荐 华为信息安全服务证书 考网络安全什么证书做网站的公司 网络营销的职责 信息技术与信息安全考试系统 上海建站网站的企业 如何修改网站关键词 网贷网络营销 专业网站定制服务 网站建设案例怎么样 南京制作企业网站 高级网络安全 2014信息安全培训 信息安全行业招聘 网站权重低 快速营销 广告公司网站模板 大数据信息安全安全 网络营销产品缺点 网络安全服务方案 整合营销的失败案例 网络营销师在哪里考 开启网络安全认证检测 摄影网站建设 蘑菇街微博营销 2016国内网络安全事件 网络安全竞赛 网站权重低 军用信息安全等级军b级 优质的常州网站建设 中科大信息安全 衡水做网站推广的公司 营销的产品策略 娱乐网站 建站软件 微信网站 工业网站建设 衡水建网站 市南区网站建设 建网站地址 高档网站设计 视觉营销网站 网页信息安全 网络营销师在哪里考 如何创办网站 重庆南川网站制作公司电话 广州知名营销策划公司 网站知名度 整合网络营销优化 高级网络安全 信息安全我国 新潮网络营销 2017 信息安全 设备 企业网络营销方法 福田网站设计 信息安全等级保护背景,-1 中国的网络安全防御水平信息安全创新创业报告 深圳网站建设流程 网站知名度 武汉手机网站建设动态 漯河网站建设 日本国家网络安全中心 三金网手机网站 网络安全测评教程 福州网站建设费用 长沙专业做网站 网站建设干货 瓦房店网站建设 网络安全日志审计 成都信息安全类公司 发改委信息安全专项 常见的信息安全认证有: 2014信息安全培训 网络安全优化方案 网络安全技术的新认识 福田网站设计 的营销推广措施分析 网络安全 网站 广告公司网站模板 网络安全法新闻稿 上海信息安全等级培训 如何创办网站 企业网络营销方法 福州网站建设费用 建个营销型网站多少钱 上海网站设计公司 网络安全600