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

<a class="close" href="https://lyj.aiqingcao.cn/">&times;</a>
计算机网络安全等级营销模式案例分析网络营销职业分析报告网络安全动画软营销和网络营销国家对互联网信息安全个人网站建设山东网络安全周短信益阳做网站php 网络安全是一个充满在神秘色彩中的反正义跨国杀手组织,故事由一起轰动全国的庞大组织杀人案的曝光引发,反正义和正义与之抗衡。浩瀚无垠的宇宙,不知起于何时,世代更替,纪元沉浮,葬下了不知几何。上位者毫不顾忌他人生死。构建无数小世界,圈禁所谓罪族。剑武大陆便是其中之一。带着200级三转大法师的记忆,陆阳重生回到了十年前,命运跟他开了一个玩笑,曾经失去过的,被夺走的,他都要重新拿回来。游戏中的赚钱技巧、副本攻略、传奇任务、装备出处、图纸秘方、战斗技巧他全都知道,且看一个重生玩家如何带着兄弟们横扫万国、焚尽天下,开启一段火神的传奇!纯阳宫灭门,身为大弟子的南宫晋生死未卜,下落不明。突然失去父亲的南宫玄还未从这样的厄耗中缓过神来,又有厄运找上了他。描写人与人之间,微妙的关系魔尊李长风逃婚来到了人界,因贪恋人间美食被卷入一段段因果。 我是翰林,也是太白;我是历史,也是未来;我是死亡,也是重生……陈阳被困在了一个永远无法逃离的循环里,只要过了情人节的15点15分,他就会重新回到15天前。 陈阳发现他无论做什么,都无法打破这个半个月的循环,所有的一切都会重置。 在经历了震惊、刺激、狂喜、焦虑不安、绝望和痛苦等情绪后,陈阳开始各种作妖,决定把这个世界搅得天翻地覆。 陈阳开始学习各种技能和知识,利用它们去达到自己的目的,也完全不用考虑任何后果的恣意妄为,去成为世界的焦点。 尤其是针对那些为富不仁的富豪和权贵,更是让陈阳兴奋的难以自制。 直到有一天,陈阳掀翻了娱乐圈的时候,却发现循环忽然被打破了.....当幽蓝的火焰降临世界,世间所有的罪恶当得到审判。 PS:小说只是借助海贼世界故事背景再次创作,很多剧情并不根据原著走,很多情节也是我根据原著所做的推导,后期可能会偏向玄幻! 不喜勿喷!谢谢!2025年,全球抗疫斗争取得了阶段性胜利,疫苗普及率达到70%,虽然新冠肺炎疫情仍在影响着世界,人类似乎有望重返那个和谐安详时代。然而,一个更严重的潜在危机正在酝酿,一种新型病毒正在悄无声息地传播,各国企图采取措施,然而人类发现,这场新的疫情的背后隐藏着许多超越当前认知的事情,光靠一己之力根本难以阻挡,人类事实上十分脆弱,越来越多的开始失去生命,人类走到了灭绝的边缘。就在许多人陷入迷茫之际,一个全球性的组织开始浮出水面,开始由幕后走向台前,轻霜冻死单根草,狂风难毁万木林,唯有团结,人类才能赢得生存的机会。
仿威客网站 网络安全动态分析 国家信息安全工作 大型网络安全 信息安全认证包括哪些漯河做网站 珠海网站 深圳 企业网站建设 网络安全体系技术方案 信息安全意识 多选题 信息安全形势 孩子学习不好的案例分享【www.richdady.cn】 公司破产的环境影响咨询【www.richdady.cn】 前世老婆的前世影响【www.richdady.cn】 与男友前世的记忆解析【www.richdady.cn】 灵性提升课程咨询【www.richdady.cn】 感情纠纷的情感咨询【www.richdady.cn】√转ihbwel 脑部不清晰的症状与治疗威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的财富转运方法有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 解决孩子不爱读书的问题咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 纠纷的原因分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 有官司的案例分享【企鹅383550880】√转ihbwel 大龄剩女的真实案例有哪些?【σσЗ8З55О88О√转ihbwel 财运不佳【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子压力大的自我提升【微:qq383550880 】√转ihbwel 冤亲债主干扰的化解仪式【企鹅383550880】√转ihbwel 内心恐惧胆怯的咨询技巧【σσЗ8З55О88О√转ihbwel 事业不顺的风水布局【微:qq383550880 】√转ihbwel 儿子不读书的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的和谐之道咨询【微:qq383550880 】√转ihbwel 化解【企鹅383550880】√转ihbwel 网络营销热点 网络安全局电话 高端大气的网站 网络安全框架有哪些 廊坊网站优化 病毒式营销的营销范围 网络安全动态分析 网络营销课程教学内容 无锡网站制作排名网络安全组织管理 陕西省 信息安全 竞赛,-1 中国信息安全测评中心广东 仿威客网站 网络营销专业都学什么不同 公安部信息安全中心 国家信息安全的通知 网站转换率 高端企业网站信息 信息安全管理体系 四级 成都网站建设v 信息安全等级保护政策培训教程下载 北京建网站公司 国家对互联网信息安全 互联网内容分发网络安全防护检测要求 无锡做网站多少钱 营销 沙龙 大良网站设计价格 美国网络安全研究现状 网络营销课程教学内容 福州做网站公司全网营销内容 深圳网站设计 建设元 珠海网站 淄博网站建设相关文章 高端网站定制 网络安全与信息测评 信息安全企业排行 信息安全负责人 网络营销手段 南澳做网站网络营销相关资料 国家信息安全认证服务资质 星巴克的微博营销 国家空间网络安全学院 企业网络安全管理 大型网络安全 网络安全法 重点 脑白金的营销 网站的总体架构 广西信息安全大赛 佛山网站建设服务器 重庆网站优化公司 哈尔滨商城网站建设 网络营销线下培训 如何推广网站 互联网产品营销计划书 深圳 企业网站建设 国家信息安全规划 网络营销手段 信息安全认证包括哪些漯河做网站 互联网内容分发网络安全防护检测要求 中国信息安全测评中心广东 计算机网络安全等级 益阳做网站 2013 年中国互联网网络安全报告 如何推广网站 全国网络安全知识大赛 网站细节 淄博网站建设相关文章 南宁互联网营销公司有哪些 珠海网站营销 签名档营销 网络营销职业分析报告 企业信息安全保护的重要性 网络营销公司微信号 网站的总体架构 第三方支付网络安全 全国信息安全等级考试 网络安全与物理安全 高端大气的网站 lte信息安全性 做一个简单网站 余额宝市场营销策略 响应式网站栅格 嘉兴网站开发 公司营销效果 系统网络安全分析 信息安全等级保护证书 网站设计一般会遇到哪些问题 php 网络安全 公司营销案例 成都网站建设v 信息安全形势 中关村信息安全测评考试 网络安全大学排名2017 参加营销活动的好处 北京市委网络安全和信息化领导小组 悬念式营销 移动营销目的 廊坊网站优化 重庆建网站 营销 沙龙 深圳 企业网站建设 国家信息安全认证服务资质 建网站需要多少钱 学院网络安全解决方案 国家信息安全局成都 网警检查网络安全 公安部信息安全中心 票务网站建设 2013 年中国互联网网络安全报告 成都网站制作设计 高端网站定制 如何建立自已的购物网站 仿威客网站 无锡网站制作排名网络安全组织管理 网站转换率 信息安全企业排行 网络营销专业都学什么不同 信息安全管理体系 四级 专业的营销型网站建设公司 网络安全 国家标准 国家信息安全认证服务资质 美国网络安全研究现状 信息安全的最新技术总结与原理分析,-1 开展网络安全认证检测 全国信息安全等级考试 网络安全框架有哪些 江苏 网络安全 换网站了吗 大良网站设计价格 网络营销专业都学什么不同 主机 信息安全风险评估报告 娄底建网站 信息安全保护技术措施是 国家对互联网信息安全 网络营销手段 国家空间网络安全学院