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

<a class="close" href="https://ia4.pangqu.com.cn/">&times;</a>
舆情营销android 信息安全技术编程和网络安全哪个好郑州网络营销外包公司排名上海专业做网站公司地址郑州网络营销外包公司排名上海专业做网站公司地址网络安全技术?P?本深圳网络安全防范网络安全事件网络营销的物流问题及对策如何进行internet信息搜索?有哪些搜索引擎网站? 一次失败的实验造就一缕不朽道魂,一道未知的波动送来神秘的道瓶。 早年父母无故失踪,平凡却又不平凡的他终究踏入了这个无限精彩的世界。聚八方英豪,汇天下风云。大道三千,又何惧前路艰险,一刀在手,登临世界之巅! 男儿笑江湖,浮华本是空。傲天下,凛然长刀,怒斩千雄。 巅峰忆峥嵘,英雄本无梦。待他日,三尺青锋,血染长空! 神奇的大陆,因神兽而支离破碎,又因神兽而得以重生!! 各方势力追寻多年的重宝出世,一场腥风血雨正在酝酿…… 有些人眼中他是救人于危难的神灵,有些人眼中他却是杀人如麻的邪神。 在这个以灵气为本源的大陆上,一代武神横空出世!!!这是继第一部九转冰魄后我的第二部作品,延续着前一部的故事,主要故事发生在劲文武离开后的两个世界,之后出现了一个更大的强敌,本以为劲文武通过前面一战变得在无敌手,但是后面出现的敌人让大家有点措手不及,劲文武的众兄弟都经过拼死抵抗还是败下阵来,只能希望劲文武能够回过来帮忙一起对抗强敌,但是劲文武是否能够抵挡呢,而接下来众人的结局到底会是如何呢,请拭目以待!生来平凡却人人把我当异类,立志要强可人人都来泼冷水,想去忘记但人人都把旧事提。谁说神师是虚妄,谁说凝魂太飘渺,谁说武道多夭折,谁说术法难登天。修仙哪有什么捷径,道途从来都不平坦,天理昭昭造化弄人。就偏不信这个邪与天争命,非得把那条路给走出来,届时强者已成黄土英雄化为传说,站在这世界之巅与你携手冲出这六界轮回藩篱。 跳出安乐于祥和的世外桃源,拜别柔情似水的神仙眷侣,放下翻云覆雨的通天权柄。纵然是资质平庸无奇,纵然是道路荆棘丛生,纵然是前途飘渺莫测,直指天心不得大道誓不罢休。看田道清如何纵横捭阖于明争暗斗的轮回旋涡,又是如何一步一步证道明悟。假如在这个世界上有如果…本作品是作者在生活中所感所先的,主要灵感来源于生活所见所闻。有关于生活的亲情、爱情、经历和琐事。故事描述得简单且易懂,与生活接地气。来自深渊的威胁,来自回望自由的人,还有吞没自然的怪物......我们会一一解开谜底谁说人无出头日? 隐忍数年的林知命霸道崛起,纵横都市,将所有曾经看不起他的人踩在脚下! 势利丈母娘?给我闭嘴! 豪门公子哥?给我跪下! 强大武术家?给我爬开! 女神级老婆?来,亲一个! 霸道是他的处事风格,不服就干是他的行为准则。 且看一代霸婿,如何上演逆袭后的彪悍人生! (请关注老施抖音号:1299243741,或者抖音搜17K老施) 在这个光怪陆离的世界当中,除了人以外,还有一种生物,他们或肮脏不堪,或不可名状,他们却是人类赖以提升修为、突破境界的猎物,他们被称为——诡异。 直到一天,一个来自于山村的少年,发现了惊天大秘。无数的故事,编织成了这个世界。
蹭别人的网络安全吗 网站报价书 信息安全等级评测资质 工业与信息安全 信息安全专业创业 关于网络安全的证书 网络安全服务体系包括 网络安全技术?P?本 微信营销的好处和弊端手机网站制作细节 网络信息安全技术ppt 缺心眼的沟通技巧咨询【www.richdady.cn】 前世老公的前世故事咨询【www.richdady.cn】 孩子学习不好的咨询技巧【www.richdady.cn】 化解咨询【www.richdady.cn】 意外的前世影响咨询【www.richdady.cn】 老公家暴的环境影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 学习成绩差的环境影响咨询【www.richdady.cn】√转ihbwel 儿子抑郁症的症状与诊断咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 什么原因意外的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 老公家暴的咨询技巧【www.richdady.cn】√转ihbwel 性压抑的咨询技巧咨询【www.richdady.cn】√转ihbwel 感情纠纷的情感咨询咨询【σσЗ8З55О88О√转ihbwel 暗恋的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 莫名其妙感伤的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份如何影响人际关系?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的重逢有什么迹象?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 公司破产的前世记忆【微:qq383550880 】√转ihbwel 升迁障碍的职场瓶颈【www.richdady.cn】√转ihbwel 冤亲债主的干扰影响【www.richdady.cn】√转ihbwel 财运不佳的真实案例有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 对信息系统运营 使用单位的信息安全等级保护工作情况进行检查 网络安全 培训 网神secfox网络安全管理系统v1.0有多少兆 深圳网站建设新闻 珠海网站seo 网络安全与管理 网络安全靠人民征文600 蹭别人的网络安全吗 网络安全信息安全 网络安全服务体系包括 微信群营销的推广方式 启明星辰网络安全 瑞星:2013年上半年中国信息安全综合报告 网站搭建吧网站建设官方网站 建交友网站 2013中国信息安全大会 国家网络安全总局 网站缺点 网神secfox网络安全管理系统v1.0有多少兆 深圳网站建设新闻 珠海网站seo 网络安全与管理 网络安全靠人民征文600 蹭别人的网络安全吗 网络安全信息安全 网络安全服务体系包括 微信群营销的推广方式 启明星辰网络安全 瑞星:2013年上半年中国信息安全综合报告 网站搭建吧网站建设官方网站 总结网络营销的案例 杭州 网站建设公司 spark 信息安全 网络营销是什么意思是 网络营销人群 网络安全 人才 2017 珠海网站seo 建交友网站 信息安全专业创业 网站搭建吧网站建设官方网站 舆情营销 阿凡达营销 编程和网络安全哪个好 网络营销班 怎样才能制做免费网站 2013中国信息安全大会 青岛网络营销学院 网络安全是什么工作 信息安全的重要性2017 关于网络安全的证书 国家企业信息安全系统 网站托管 信息安全深圳 2017网络信息安全案例 湖南网络安全峰会 执行者网络安全团队 山东省信息安全等级 如何搭建高品质网站2017网络安全形势 网络安全培训目的 网络营销中广告的策略有哪些 石家庄微网站建设 微博营销是一种新兴营销方式。 通州网站建设 近五年信息安全事件,-1 问答营销平台都有哪些 中国网络安全最强大学 信息安全管理文件控制程序 国家网络安全网站 网络安全信息安全 it网络安全培训 国家网络安全网站 石家庄微网站建设 天津高端网站建设 深圳网站建设新闻 网络信息安全公告 电商网站设计 信息安全的公司 名词解释网络市场营销 南昌建网站的公司 工控信息安全技术 营销网站页面分析 国家网络安全总局 维护信息安全的一般措施 深圳网站建房 互联网 与网络安全 淘宝网营销 网站banner的设计要求 日常办公应注意的信息安全 信息安全 大事件 中国 信息安全 汽车的信息安全指哪些 网络营销什么软件好使 沈阳 网站开发制作 口碑营销法 如何搭建高品质网站2017网络安全形势 信息安全管理文件控制程序 支付宝的网络营销案例分析 上海有什么网络安全公司 口碑营销法 微信营销的好处和弊端手机网站制作细节 关于网络安全的证书 中国移动网络信息安全,-1 微信营销的好处和弊端手机网站制作细节 防范网络安全事件 spark 信息安全 蹭别人的网络安全吗 微信群营销的推广方式 问答营销平台都有哪些 网站缺点 营销诊断书 网站建设案例讯息 信息安全技能大赛题目 营销管理培训课程 珠海网站seo 辣条的营销渠道 什么是全网营销 深圳网络安全 天津高端网站建设 思尚营销 网络营销实战课程下载 自学网营销运营 旅游网站建设方案 2017网络信息安全案例 qq群营销是什么 北京网络安全协会 代理商营销 总结网络营销的案例 信息安全等级评测资质 营销诊断书 京东网站的营销是什么意思 代理商营销 杭州 网站建设公司 国家网络安全总局 网络营销顾问 杭州 网站建设公司