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

<a class="close" href="https://oxx.vubu.cn/">&times;</a>
网络安全推荐广州 网站制软件开发和网络安全信息安全防火墙源码2014信息安全竞赛题目第三方营销平台的发展趋势网络安全法 研发安全他人委托我做网站网络安全手机可视化昆山网站建设·[不喜勿喷]一部日常啰嗦水文。我写文是随心,而不是随意。 古往今来,世间流传仙、神的传说,而时至今日,仙路缈缈,已然进入末法时代。 天空中,有人矗立,乌云压顶、身处雷电中心;海面上,有人漫步而来,由远及近,片刻却又消失不见,这些是海市蜃楼产生的幻觉? 有传言,海市蜃楼是连接另一时空的桥梁,聚现另一个世界正在发生的景象! 神话故事是否虚构,仙、神,真的存在过吗?晚点再编他苏辰,身为那九天之上的神尊,一夕被害,跌落凡尘。 可当他重生后,却发现,自己只要炼丹就能变强! 凭借一手出神入化的炼丹技术,苏辰短短几天就在大陆声名鹊起! 各类仙丹了解一下?不要998,不要888,直接带回家。 众人:不对,这苏家的公子不是个废柴么? 几天后...... 小丑竟是我自己! 寰宇帝族和星空邪神族为两大至尊强族,两族自存在以来一直背负着不同的使命。寰宇帝族一族两人,一男一女,男性在出生后,就会被安排传送,自行成长崛起,直至打破自己所在区域的限制,冲出恒星,进入寰宇内,才能回归。 翔天在父母孕育后,被星空邪神找到传承点,欲要重创此族。翔天父母合力开辟时空裂缝随机传送,却不曾想还有一缕邪念随着翔天一同被传送走。至此展开了翔天和邪神族的对抗之路。 翔天被随即传送直三十一世纪的地球,机缘巧合下,与流域山庄的小家庭里同名为:“翔天”的幼儿融合。 慢慢成长,作为寰宇帝族的他,身体血脉之力逐渐的觉醒,掌握了多种大神通。 多年后,两眼太阳种,收获木之心灵,荒漠之肺,收服坐骑烈焰神龙,乃万兽之王;三头恶灵让三界震颤。五大法器寰宇最强,化为人形镇守一方。   解锁和收获这些后,寰宇帝族的成长之路才刚开始,翔天需向更高的生命层次进化,才能成为真正的寰宇帝族,征战寰宇,让寰宇重新回到帝族的庇护之下。 2020年,焕双不幸感染病毒去世,不料却重生为鼠,被修真者捡去当了宠物! 本以为当个宠物也不错,谁料却被卖去了百兽宗,遇到那个命中注定的‘主人’。【2020末世科幻经典】 系列第一部《星神劫》。 穿越数百万光年,他居然又回到了出发的地方——地球。 “他”重返地球了,但没人认得。没人知道,这颗行星上文明的毁灭,正是拜他所赐。 他舍弃了种族和肉体,依靠附体三柱神强横的灵力,一步步操纵着文明的演化。 QQ群:926185550,欢迎进群讨论。波元前五亿年,这个星球产生了,不过这里一直是一片混沌,混沌的中心是光与暗的能量。直到有一天,大约在波元前两亿年,混沌发出能量波,出现了两个神——弗卡拉特和撒马利迪。弗卡拉特收集混沌,做成了大地。撒马利迪收集混沌,一部分不停的往上升,变成了天空,另一部分不停的往下降,变成了大海。弗卡拉特和撒马利迪都认为对方的最大威胁,于是他们开始了决战,他们杀的天昏地暗,最后未能分出胜负。这一场纷乱过后,弗卡拉特以及撒马利迪不再往来,弗卡拉特守护着暗能量,撒马利迪则守护着光能量。世人虽渺小,可是每个人都想挣脱束缚。 诸神虽伟大,可是神也总有陨落的一天。 仙侠恩怨,王朝争霸,爱恨情仇。 且看他们演绎一场不朽传奇。 他身穿孝服跪在灵堂,逝者不是双亲,而是自己素未谋面的公主老婆。 看着灵堂上的牌位,遥想着接下来依制守孝的三年。“作为穿越者,我还没开始规划起飞,就要躺平了么?”羊庄悲愤地想着
这样建立自己的网站 网络安全 致辞 网站的构思 电子账户营销方案 营销的特性 基于大数据的网络安全 营销型企业网站建设教案 网络安全公司有哪些 网络营销注意的问题及对策 手机app网站建设 心特别累的案例分享咨询【www.richdady.cn】 有官司的预防措施【www.richdady.cn】 解梦的前世影响咨询【www.richdady.cn】 突然过世的原因有哪些【www.richdady.cn】 事业发展的灵性视角【www.richdady.cn】 事业不顺的职场突破技巧有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婚姻生活不顺的前世记忆咨询【σσЗ8З55О88О√转ihbwel 强迫症的症状与诊断【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 自闭症的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世的前世修行【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 灵魂化解的意义咨询【www.richdady.cn】√转ihbwel 前世今生的因果关系咨询【微:qq383550880 】√转ihbwel 婴灵的超度方法咨询【企鹅383550880】√转ihbwel 解梦的前世记忆【企鹅383550880】√转ihbwel 解梦的咨询技巧【微:qq383550880 】√转ihbwel 感情纠纷的前世记忆【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与男友前世的影响分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 公司破产的环境影响咨询【微:qq383550880 】√转ihbwel 请人做网站 联盟网站 深圳网络营销公司排行 信息安全服务资质管理办法 基于大数据的网络安全 内容营销的模式 做网站设计服务商 绵阳房产网站建设 四川互联网营销策划网络安全知识ppt 微博营销的原则 广州 网站制 国家信息网络安全部 网络营销注意的问题及对策 广西网络信息安全峰会 如何宣传网络安全 软营销案例 网络营销淘宝 电子网站建设 信息安全事件通报流程 聊城市 网站制作 产品营销策划推广方案 电子账户营销方案 南宁营销型网站建设 www的网站怎么申请 如何提高信息安全意识,-1 信息安全会议2015 网络营销出来有用没 信息安全会议2015 南通网站建设 西安做网站公司? 微信运营营销的区别 北京网站建设公司收购 网络安全专家 唐山网站托管 营销型企业网站建设教案 网站信息安全等级测评保护 网络安全测试标准 分析社会热点与网络营销的关联 互联网信息安全平台 口碑营销百度百科 什么是营销型手机网站建设 企业营销有 公司互联网站全面改版 国家信息安全一级认证 品牌营销 国家网络安全小组 珠海移动网站建设公司排名 电商营销课程培训课程 郴州做网站公司 2017重大信息安全事件 网络信息安全投资 信息安全事件通报流程 全网视频营销 常见的营销手法 国内网络安全公司评价 网络安全事件处理报告 全网营销的主流模式 营销职能 西安网站 问答营销策划 通信网络安全合格证 信息安全起源 如何提高信息安全意识,-1 什么是营销型手机网站建设 什么是营销型网站 网络营销腾讯案例分析 上海信息安全中心地址 无纸化营销 分析社会热点与网络营销的关联 深圳企业营销培训机构 重庆微信网站开发公 浏览国外网站 dns 网页类网站 营销社会环境分析 福州医院网站建设公司 南京网站关键词优化 网络安全idc排名 自助建设分销商城网站 小米公司网络营销 宁夏区烟草公司计算机网络信息安全建设项目培训计划 重庆网络营销哪家好 公司互联网站全面改版 营销职能 国家网络与信息安全信息通报中心 中山网站优化 网站怎么设置支付 网络安全加固设计方案 网络安全经典案例 模板网站最大缺点在线网络营销 昌平网站设计 南通网站建设 聊城市 网站制作 网络安全推荐 通信网络安全合格证 北京网站建设公司收购 网页类网站 网站的构思 请人做网站 第三方营销平台的发展趋势 美国网络信息安全 深圳网络营销公司排行 唐山网站托管 网络安全事件处理报告 基于大数据的网络安全 营销的拼音 营销的特性 做网站设计服务商 这样建立自己的网站 中国信息安全测评中心属于 四川互联网营销策划网络安全知识ppt 企业营销型网站推广 陕西网站建设多少钱 广州 网站制 广州 网站制 美国网络信息安全 网络营销注意的问题及对策 这样建立自己的网站 网络安全的攻击报告 如何宣传网络安全 神州网络安全 软文营销的要素 网络营销淘宝 国家信息安全一级认证 他人委托我做网站 网络安全加固设计方案 北京 网站设计 北京新营销 www的网站怎么申请 网络营销腾讯案例分析 南京网站关键词优化 信息安全事件通报流程 国家网络安全小组 长沙 营销顾问公司 企业网络营销计划方案 什么是营销型网站