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

<a class="close" href="https://wvgz.jushishang.cn/">&times;</a>
网络安全设备厂商深圳信息安全公司排名广州好的广告公司能独立承担汽车品牌营销策划推广服务个人如何建网站等级保护和网络安全法全网营销服务有限公司湛江有帮公司做网站如何提高信息安全意识,-1网站设计公司无锡台州网站建设企业印尼 网络安全他本是一介俗人,在命运的戏弄,世人的险恶下,渐渐的成为了那个为利为长生不顾一切的人。一个王者的职业梦 ,一个平凡男生守护女友的愿想。一个为了胜利可以牺牲自己的玩家。 一个怀揣梦想却无能为力的大龄青年重新回到18年,势要改变自己的命运。 从校园到主播,从主播到职业选手。已经是2678年,地球资源即将枯竭……在一个极度内卷的时代,今天又该如何生存是一半人每天都在思考的问题。大部分人沉迷在虚拟的世界中,等着生命一点一点的逝去……文中的“我”只是一个学生,却不甘现实的虚无,在这个被资本支配着的,麻木的社会,寻找着书中提到的“乌托邦”。 【穿越+战神+灵异+搞笑+腹黑+热血】 “禁灵剑噬魂,神明亦无轮” “三尺桃木,斩出生路,一百零八,护她前行。” 薛顾意外来到大虞王朝,他成为大虞战神之子,在外人眼中他是一位纨绔世子。 因为一道圣旨,两个毫无关系的人,被迫成为成为夫妻,他们一个是让所有鬼怪都闻风丧胆的禁灵军主上,另一个是美貌与智慧并存,大虞王朝家喻户晓的才女。就这样他们拉开了本篇的开头! 国破山河,外族铁骑肆意践踏。薛顾再请阴兵,护山河!重新迈上短跑赛道,不负韶华以梦为马,打破人种荒谬论言,化身亚洲黄色闪电,不断挑战自我极限,战胜诸国众多强敌,程威欧美世界赛场,创造诸多记录奇迹,树立短跑历史丰碑,扬我华夏健儿雄姿,只为挥洒男儿热血,折桂夺冠身立高台。在历经无数生死之后,那最终迎来的一切只是开始,历史似乎一直在轮回中。无尽的星空中,有着各式各样的环境,演变出无尽的可能,所以,在这里,无论是发生了什么不可思议的事情,都是正常现象。魂界的王国,主角是一位王的后裔,在他刚刚成年庆祝之时,某神秘人在这时袭击了他们,国王濒死将主角救了出去,魂界造成了极大的损失和伤亡,国度也将面临灭亡;而主角则是费劲自身换取强大力量,决定找到事情的来龙去脉并走上了复仇之路……大盛帝国边境一时间狼烟四起,烽火连天。镇远府陷落,敌军的铁骑逼近上京。内阁首辅之子郭曦受封征北将军,率军支援上京防线,面对危急的局势献出妙计,亲率军队大败北乾。 但随着他的凯旋而归,一场场政治风暴也随之而来。 自此之后,一代军事天骄崛起,他八出奇计,淹司城,烧井阳,千里奔袭包抄敌军……他用一次次的碾压的胜利剿灭五国,告诉侵略者:胆犯大盛者,虽远必诛。 最终,他踩着尸山血海与成林枯骨,用着阴谋诡计一步步走向了皇位,成就了一代传奇战神。(非穿越,非重生) 蓝紫相间的霓虹灯里,超凡文明与机械文明共存。 这个世界,有古老门派立道统,有隐世奇门藏与世,有财阀统领一座星球,诸强林立。 然,一天夜晚,大陆震荡,超凡与科技爆发战斗,而后沦为联邦禁忌。 五年后,一名为范歌的少年,开启了他的传奇之路...... 范歌:“虚伪的光明即将散尽,自由的黑暗必将到来!”
网络营销用不用考研 武汉做网站最牛的公司 信息安全技术 第二代防火墙安全技术要求,-1 手机版商城网站都有哪 些功能 什么是线上营销模式 网络安全协议是什么 网站内容更新 云定制网站 重庆整合营销的公司 网络营销活动规划 大龄剩女的社交技巧咨询【www.richdady.cn】 去世的母亲的前世解析【www.richdady.cn】 外灵干扰【www.richdady.cn】 心慌胸闷头晕的前世因果【www.richdady.cn】 升迁障碍的案例分享咨询【www.richdady.cn】 前世老婆的识别方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的化解仪式【www.richdady.cn】√转ihbwel 前世缘份的前世影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子压力大的环境影响【企鹅383550880】√转ihbwel 发育倒退对孩子心理的影响【微:qq383550880 】√转ihbwel 内心恐惧胆怯的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 灵魂化解的仪式咨询【企鹅383550880】√转ihbwel 存不住钱咨询【www.richdady.cn】√转ihbwel 脑部不清晰的自我提升【www.richdady.cn】√转ihbwel 财运不佳的前世因果咨询【σσЗ8З55О88О√转ihbwel 财运不佳的原因分析咨询【企鹅383550880】√转ihbwel 冤亲债主的干扰与化解【www.richdady.cn】√转ihbwel 外灵干扰的自我提升咨询【企鹅383550880】√转ihbwel 升迁障碍的职场策略有哪些?【微:qq383550880 】√转ihbwel “缺心眼”对人际交往的影响咨询【微:qq383550880 】√转ihbwel 下载空间大的网站建设 网站开发与设计公司 病毒 网络安全检查 网络安全合作 网络安全指标体系 太原手机网站开发 公安部信息安全测评 郑州网络营销推广公司 开发网站的步骤 网站制作 太原 淘宝客网站建站 信息安全大赛能力 云创通11营销手机 免费营销软件 长沙微网站电话号码 网络营销内容是什么 常州网站制作 网络安全专家咨询电话 印尼 网络安全 企业手机网站建设策划 武汉做网站最牛的公司 上海信息安全产业协会 云创通11营销手机 营销综合管理首页 重庆整合营销的公司 信息安全工作证是什么,-1 网络发布信息安全 网络安全设备厂商深圳信息安全公司排名 电脑无网络安全 福州做网站 国家信息安全事件,-1 信息安全的任务是 国家信息安全项目 微软系统的信息安全隐患排查 湛江有帮公司做网站 上海信息安全产业协会 网站蓝色 网站推广策划 济南做网站公司有哪些专业柳州网站建设 通辽网站制作公司 小米公司网络营销 东莞网站建设培训 信息安全学python 如何提高信息安全意识,-1 外贸视频营销 网站制作视频教程 投资网站维护 贵州网站推广优化 常用的信息安全技术方法,-1 网络营销活动规划 天融信网络安全 单页网站设计 网络安全设备厂商深圳信息安全公司排名 电商 信息安全 房产全民营销app是什么意思 网络品牌营销公司 网络安全程序前台界面 问答营销策划 网站被k 台州网站建设企业 网络安全发展 太原手机网站开发 广州好的广告公司能独立承担汽车品牌营销策划推广服务 快餐4p营销组合策略 以防火墙为核心的企业 网站制作 太原 网络安全管理的功能 常用的信息安全技术方法,-1 长沙微网站电话号码 信息安全三级等保资质 政府网络安全事件通报 邢台网站建设服务 福州网站建设公司 2017网络安全大会上海 什么是线上营销模式 产品口碑营销 快餐4p营销组合策略 信息安全测评工作 网站建设的网站定位 国家信息安全项目 北京设计公司网站 生鲜网络营销目标 电话营销的优点 网络安全培训 费用 网络营销是企业整体营销的组成部分 北京设计公司网站 北京网站设计公司 上海网站优化 宁夏区烟草公司计算机网络信息安全建设项目培训计划 重庆网站优化排名 网络安全职位 政府网络安全事件通报 北京市信息安全产业基地 深圳手机网站 易营销软件代理商 重庆网站优化排名 网络营销托管 沧州做网站 信息安全三级等保资质 淘宝营销策略简述 信息安全等级保护制度是国家对 装修企业网站网络营销 线上营销必备 信息安全高峰论坛 手机版商城网站都有哪 些功能 常用的信息安全技术方法,-1 重庆网站优化排名 企业网站内容更新怎么操作 石家庄医院网站建设 微信运营营销的区别 电脑无网络安全 全网视频营销 网络营销新媒体测试题 网站快照 网站收录低 深圳市网络安全公司排名 厦门网站建设哪家便宜 北京企业网站案例 网络安全技能大赛 郑州网站优化 武汉网站建设网站设计建议 网络安全协议是什么 北京新营销 网络营销分为 网络营销基本模式 网络安全程序前台界面 网站跳出率 网站设计公司无锡 国家信息安全等级 微软系统的信息安全隐患排查 装修企业网站网络营销 植入式营销特点 信息安全属于哪个学院 搜索引擎营销思路 湛江有帮公司做网站