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

<a class="close" href="https://xpp.uzrs.cn/">&times;</a>
信息安全服务资质标准网络安全的会议题目微信朋友圈营销好处全网营销型网站信息安全课堂北斗与信息安全,-12017国内网络安全事件2014春浙江大学计算机信息安全易营销站优秀企业网站设计异世界,魔王,勇者这些本应存在幻想世界的事物却降临在了我一个平凡的美术实习生的身上。 异世界,现实?两者交融,一股神秘力量将我卷入其中,而我身边只有绘画及工具而已,以“笔"为剑开始了我的异界之旅,又有什么在等待着我,神秘而又未知.....穿越洪荒,成为帝俊和东皇太一长兄。 深知后世巫妖量阶走向的道尘,当即决定带着两个小老弟,闭关太阳星,打死不踏出一步。 自此洪荒天机发生变化,妖族无主,巫族一家独大。 圣人一个脑袋两个大。 鸿钧:你出关,圣位灵宝随你挑。 洪荒大妖:求求你出关吧,巫族太凶了。 系统:宿主求求你出关吧,三清和十二祖巫,人头打出狗脑子了。 道尘:不存在的,等我再闭个十个八个元会再说。 在遥远的战场,少年曾是这个修罗场的噩梦,在生与死的任务中少年早已麻木。三天后,南星市的火车站中一个民工走出,‘’陈梦‘’周峰看着纸条上的名字,这是他知道的唯一的信息。本以为只是一场简单退婚,没想到又是一场腥风血雨...... 这一次不是在毫无法则的战场,而是在南星这做繁华城市,林峰又将如何应对这接踵而至的麻烦。十四年前,陌生少年初次来到这片陌生的时空。十四年后,少年踏上修玄之路。父母离奇失踪,世界暗流涌动,北界风起云涌,且看南宫清如何乘风破万里浪,纵横玄天大陆!这是一个奇妙的世界,尖端科技已经超越现代水平,而文明发展却还停留在1000年前。在这个世界最强大的帝国中,有一个放荡不羁的青年,在被人击败后偶然得到一本神功,成为城中至霸,却又突然失去全部功法,沦为废人。在神秘高人的帮助下,他重回巅峰,和同伴们一同探索这个大而又神秘的世界,同时,他们也逐渐揭开,这其中蕴藏的秘密……被人打断腿的穷小子陆天意外获得屌丝逆袭系统,从此人生开挂,医武双绝。一位东方的金融奇才,却因手下的背叛,被迫留在中国,为有朝一日,惩治叛徒,找回失去的东西,他“厉兵秣马”,暗暗积蓄实力,就这样,短短不到一年,他便迅速崛起,然而,这崛起之路,却因守护爱情和友情,变得跌宕起伏,由此,一场场争斗便拉开了帷幕…一不小心穿越到大唐贞观年间,成了李世民的女婿,从此过上了想揍谁就揍谁的舒爽生活。 “陆恒到底是扮猪吃老虎,还是真的憨啊?”李世民第n次怀疑人生。 此时,房玄龄跑到御书房来欲哭无泪:“陛下,您女婿陆恒又把人给揍啦!五姓七望一家没落下啊!” 李世民捂住脑门:“没出人命吧?” ………… 某个世家门口,陆恒叉着腰嚣张跋扈:“还有谁!出来一起打!我父皇说了,不能打死人,你们放心出来!”小道士出世当警察,收魂、灭魄、封神明,几世轮回定天下。 布局不断为世人。 正可谓:时光为盘,魂做子,千年棋局起风云!幻影荣耀游戏的诞生,吸引了很多玩家的热爱,在幻影里有位神秘高手玩家,他为了能达到属于自己游戏巅峰,重新回到幻影荣耀的战场,有着不服输的毅力和顶尖的团队成员,队员精心配合,在幻影荣耀的战场,王者归来,谁与争锋。
免费建.com的网站 南京本地网站建设 宁夏 网络安全和信息化领导小组 工业信息安全专家 360 网络安全态势 大学生信息安全竞赛题目广警转网络安全 东营网站建设 信息安全文档 网络营销遇到的问题及对策 政府网站模板 邪灵咨询【www.richdady.cn】 如何应对冤亲债主的干扰?咨询【www.richdady.cn】 解决孩子不爱读书的问题【www.richdady.cn】 心特别累的原因分析咨询【www.richdady.cn】 儿子抑郁症的咨询技巧咨询【www.richdady.cn】 婴灵、邪灵、祖灵咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婚姻生活不顺的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 暗恋的心理调适【σσЗ8З55О88О√转ihbwel 内心恐惧胆怯的心理调适【www.richdady.cn】√转ihbwel 营养不良导致的头脑混沌咨询【www.richdady.cn】√转ihbwel 感情纠纷的情感调解技巧有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的前世记忆【企鹅383550880】√转ihbwel 去世的父亲的前世缘分咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老婆的前世记忆咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 精神不振的案例分享咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 精神不振的解决方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 官司的心理调适【σσЗ8З55О88О√转ihbwel 外灵【σσЗ8З55О88О√转ihbwel 前世今生的轮回转世威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家宅磁场的调整方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 全网营销推广 全网营销型网站 网站建设费用预算 2017年的网络安全 顺义手机网站建设营销推广 昭通网站建设 2015年国家信息安全专项 佛山营销策划 优帮云 大型门户网站建设 如何让网站收录 网络营销的定价策略有 信息安全服务资质标准 手机销售网站制作 北京做网站 企业网站主题 昌平企业网站建设 阳江做网站 网络安全裤子 网站制作的英文 网站建设费用预算 2017中国网络安全事件 党政机关网络安全 网站建设访问人群 太原网站建设培训 手机销售网站制作 国家信息系统信息安全等级保护 搜索引擎口碑营销 学信息安全 做运维 信息安全课堂 网络安全审计使用场景安徽网站定制 信息安全服务资质标准 公司网站维护 外贸网络营销外包服务 校园网络安全广播稿 相应式网站 微网站免费制作 营销型网站建设是什么意思 邮件营销软件 网络安全威 互联网信息安全要求信息的 工业信息安全专家 网站规划的案例 佛山网站设计优化公司 如何让网站收录 提供佛山顺德网站设计 佛山营销策划 优帮云 网络信息安全问题登记 好网站页面 郑州计算机系网络营销 sem整合营销哪里好 网络安全的话 武汉 网站 个人网站推广 公司网站维护 2017年的网络安全 植入式营销的形式 2014春浙江大学计算机信息安全 网站 云建站 顺义手机网站建设营销推广 学字体网站 上海工业网站建设 昭通网站建设 信息安全等级保护的基本流程 天津 企业网站建设 网站呢建设 网络安全审计系统的原理 网络安全审计系统的原理 一张图读懂网络安全法 2015年国家信息安全专项 无锡网站制作哪家强 免费建.com的网站 网络安全攻击的方式 信息安全等保宣传图片 烟台网站设计 学信息安全 做运维 网络安全法影响的行业 网络安全环境整治 云大信息安全 网络安全问题产生原因 网站速成 网站 云建站 网络安全审计使用场景安徽网站定制 2017中国网络安全事件 宁夏 网络安全和信息化领导小组 营销策 手机网络安全方案 网络安全新形式 工业信息安全专家 360 网络安全态势 企业网站主题 网络 营销 广东信息安全 大学 网络安全实战平台 学字体网站 酒店信息安全 大兴网站建设制作 大型门户网站建设 信息安全文档 中国信息安全优秀用户案例 国家信息系统信息安全等级保护 网络营销求职介绍 佛山网站设计优化公司 如何做全网营销 网站建设费用预算 信息安全五个保护等级 网络营销公司多少钱 网络营销研究综述 信息安全体系方案 2017国内网络安全事件 德国 网络安全 网站建设费用预算 政府网站模板 企业网站主题 信息安全等保宣传图片 重庆信息安全评估中心 sem整合营销哪里好 北京网站维护 党政机关网络安全 好网站页面 如何利用网站来提升企业形象 易营销站 聊城网站制作 上海网站定制公司 建一个网站 网络安全的会议题目 思科2017网络安全报告 关关于信息安全的网站 湖南网站推 深圳网络营销策划招聘 网络信息安全实践报告 郑州计算机系网络营销 网络安全处置流程图 南京本地网站建设 视频营销的应用 北京网站维护