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

<a class="close" href="https://wxgi.zhenchan.com.cn/">&times;</a>
信息安全员三级企业网站是一个综合性的网络营销工具如何弥补企业网站的缺陷西安网络营销资讯行业app营销网络营销的网络直播设计师网站微贷营销案例视频营销优缺点外贸营销型网站企业网站建站元素就像书名上写着的,你加载了危险游戏。 总之我得,在游戏正式开始前,给你个忠告。 呃,没错,说得就是屏幕前满脸不在乎的你... 在这里! 你不该相信任何人! OK!就这样... 总之不论你是谁,在哪里,请相信我,在看到这里的时候,你已经被卷入进了这场危险的游戏当中! 你可以试着回头,可以盯住屏幕,可以闭上眼睛... 但不论你怎么做,它们就藏在你身边,或许是卧室的床下面,或许是卫生间的镜子里(谁知道呢,它们的喜好向来与众不同)。 呃... 该死—— 它们发现我了! 看来我只能送你到这里,下面的路,你得靠自己走了! 还记得我最初说过的吗? 不要相信任何人! 包括... 从床底下朝你伸出手的我!滚滚5000年长河中,有多少的意难平啊?而如今,一个人来到了三国时期,它拥有着改变这一切的机会,他又会做如何选择?或者他有什么选择的办法?这一切的一切到底该如何是好?当霍去病与王昭君产生羁绊,当项羽再次遇到虞姬,当曹操一转身,发现自己的五子良将变成吕布的八健将,这一切的一切又该如何探索?这终究将成为一场世界性的决战,这是最精彩的时代,这是最混乱的时代风都一个出现了英雄的城市,在假面骑士W打败了最后一位掺杂体后风都又回归了平静。但事情并没有结束。十年后发现的一个遗迹打破了这一静。那是来自黑暗世界的力量,将人们吞噬的力量,将世界笼罩的力量,这一切会由谁来打破呢?是英雄回归?还是光明乍现?等待人们的是臣服黑暗还是奇迹的发生?老家神秘的锁龙井,锁龙井下惊现龙骸!新的世界,新的冒险老嫂子按摩店的老板,李浩明面是个按摩的小白脸,实际上确是苏家大房家的赘婿,而赘婿你也不过是他为掩盖真实身份所找的幌子。 医道圣手,玄门的执法长老,一个古老的地球,人类的文明纵使再辉煌,这短暂的历史也让人怀疑中间是否有着或短暂、或长久的空白。过去的人类无法去深究这一问题,他们还在为自身生存而担心,当人类完全摆脱环境的限制之时,深埋在内心的那颗好奇的种子得到了灌溉,猛烈地发芽,冲出物质的泥层,带领人们走向一切的未知…… 一座座远久的遗迹在各种科技下荡涤了历史车轮的车辙,各国争先派出专业人员,试图一探究竟的同时,在这些历史的建筑中,寻找未来文明发展的一丝光亮。 “华夏九星,在此领命,定在遗迹之中,拨云见日,为祖国,为人民找到未来的出路。”遥远的蓝星遭遇前所未有的危难,于地球寻找帮助,林飞作为第一批灵魂穿梭的人类,他的未来将走向何方。井喷式的科学发现,将这个似乎已经达到极致的社会又推向一个新的高潮。然而这巨大的进步,是否也意味着难以承受的代价?无垠的星海中,究竟还隐藏着多少难以发觉的危机?蠢蠢欲动的幕后黑手,其到底目的为何?一切都有待揭晓。穿越异界,没有系统,没有外挂,这还让人怎么活!是躲于阴沟暗角苟且偷生还是绝境拼搏逆天改命?且看雇佣兵王为穿越异界的精彩人生。00后的孩子们,99年的事儿瞒不住了……一个携带鸡肋系统的末世空降兵在2022年的战斗任务中意外穿越回到了1997年,为了阻止两年后的悲剧的重演,看主角怎样利用有限的系统辅助进行绝地逆袭!
最牛营销 关于开展通信网络安全检查工作的通知 深圳公安 网络安全 安徽网站推广 北京市信息安全产业基地 微博营销成功的原因 企业信息安全建议 外贸营销型网站 台州网站建设 武汉微信营销公司 成人发育倒退的可能症状【www.richdady.cn】 学习成绩差的自我提升咨询【www.richdady.cn】 如何改善亲子关系?咨询【www.richdady.cn】 与男友前世的前世缘分【www.richdady.cn】 去世的母亲的前世记忆【www.richdady.cn】 去世的父亲的去向解析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的自我提升咨询【σσЗ8З55О88О√转ihbwel 失业后如何快速找到新工作咨询【微:qq383550880 】√转ihbwel 亲子关系【微:qq383550880 】√转ihbwel 家庭关系的矛盾化解方法有哪些?【企鹅383550880】√转ihbwel 财运不佳的财富管理方法有哪些?【企鹅383550880】√转ihbwel 耳鸣的解决方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的故事有哪些真实经历?【www.richdady.cn】√转ihbwel 婴灵的超度与心理安慰威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子不读书的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子不读书的心理调适威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 4. 财运与事业发展【微:qq383550880 】√转ihbwel 孩子不爱读书的阅读计划如何制定?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰的案例分享咨询【微:qq383550880 】√转ihbwel 前世今生的轮回真的存在吗?咨询【企鹅383550880】√转ihbwel 营销外包是什么意思 网络营销专题页 中国信息安全中心评级 建公司网站要多久 青岛营销培训学校 公安部交通信息安全 什么是口碑营销 珠海门户网站建设 工控信息安全峰会,-1 网络营销实训模拟 东莞网站设计价格 手机微信网站 珠海网站制作 免费网络安全培训课程信息安全服务资质未通过 上海计算机信息网络安全协会 河南网站建设公 网络安全威胁的现状 网站建设费 长沙网站设计服务 网站设计作品 网络营销英文ppt android智能手机信息安全研究,-1 网络信息安全理论与技术 案例营销 网站设计作品 广州做手机网站信息 互联网营销 案例视频教程 深圳网站建设网络推广 网络安全大会图文直播 提供商城网站制作 如何制作网站 北京网站空间 行业app营销 专业制作网站 郑 内容营销的原则 整合营销传播 缺点 网络安全的的好句子 信息网络安全 法规 推荐常州网站推广 长沙网站推广公司 网站类型有 网站怎么建 工控信息安全峰会,-1 信息安全保障计划 网络安全从业者证书 珠海网站制作 南阳开网站制作 网站类型有 邢台做网站公司 网络营销专题页 台州网站建设 自已建网站 以网络安全为主题文章 2014中国信息安全防护大会 安徽网站推广 龙岗网站设计机构 阳江网站建设 网络安全协议有哪些? 电视剧网络营销策略 西安网络营销 苍南网站建设在线营销 建手机网站的平台微网站和微信 关于开展通信网络安全检查工作的通知 网站运营模式 北京网站空间 企业品牌宣传型网站 信誉好的龙岗网站建设 提供商城网站制作 2014中国信息安全防护大会 西安网络营销资讯 建手机网站的平台微网站和微信 网络信息安全主持 上海的广告公司网站建设 网络安全学习路线 网络安全威胁的现状 网络营销师学多少钱 论坛营销的案例分析 上海网站建设的企 廊坊网站推广 南阳开网站制作 小米营销优势 电视剧网络营销策略 企业网站制作设计公司 计算机网络安全法规 案例营销 成都活动网络营销某大学校园网络安全解决方案 南宁网站建设教学 最牛营销 网站怎么建 信息安全员三级 2017年网络安全时间 信息安全意识培育研究 网络营销执行岗位职责 网站进度表 两会网络安全 视频网站费用 四大门户网站 什么是网络营销产品策略 魔兽网络安全 魔兽网络安全 成都活动网络营销某大学校园网络安全解决方案 长沙网站设计服务 网站进度表 网络营销证书有用吗 顺的品牌网站建设 珠海门户网站建设 公安部交通信息安全 信息安全等级保护工具箱 反思维营销 外贸营销型网站 免费网络安全培训课程信息安全服务资质未通过 廊坊网站推广 中国国家信息安全漏洞库cnnvd 深圳公安 网络安全 国防科技大学信息安全 网络广告整合营销 对信息安全技术的理解 国际网络安全论坛2017 案例营销 中国信息安全中心评级 网络营销英文ppt 百度知识营销广告语 武汉微信营销公司 手机微信网站 贵阳网站开发 网络营销师学多少钱 域名注册网站 关注网络安全 信息安全风险评估教程 免费网络安全培训课程信息安全服务资质未通过 网络营销的误区 网络营销执行岗位职责 信誉好的龙岗网站建设 建网站公司 微博营销效果分析