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

<a class="close" href="https://qpn1.guaisuo.cn/">&times;</a>
陕西信息网络安全协会赣州网站建设网络信息安全举报网站建设公司倒闭web网络安全培训病毒是营销腾讯营销案例网络营销机服务厅网络安全管理春秋网络安全官网河南网站建设网络公司 开发网站市场营销网络调查法人死为鬼,道成为仙,纯阴而无阳者,鬼也! 纯阳而无阴者,仙也,唯人可以为鬼,可以为仙!故自古以来,修行之道分为两种 人仙之道,修炼肉身,打熬气血,冲开穴窍! 鬼仙之道,修炼元神,观想天地,雷劫筑 神 写以此书,致我们那个年少轻狂的岁月。平平无奇的打工人王虎穿越了?还穿越到了一个天赋渣渣实力菜鸡的人身上?怎么办?还好我自带系统,不说别的,爷钱多!想入最好的云海书院但天赋不行?没关系砸钱!想学习功法没办法理解?没关系砸钱洗髓丹可以拥有!有人想群攻?不好意思,已经砸钱开宗门了呢! 你我本无缘,就靠我砸钱!【学霸文,甜宠风,黑科技,轻松日常】 “叮,恭喜宿主获得魅力*10。” “叮,恭喜宿主获得体质*10。” “叮,恭喜宿主获得智力*10。” “叮,恭喜宿主获得神级记忆力和悟性,可一目千行,过目不忘,举一反百……” 林北猝死,却魂穿平行世界,还从高三开始,并绑定神级全能学霸系统。 从此学水不在,一代神级学霸诞生。 “既然上天给我重生的机会,那我将脱胎换骨,努力上进,活出灿烂,不负本心。” 林北:“???” “咦,大家这是肿么了?” “我才出三分力,怎么就全倒下了?” “既然一个能打的都没有,那我只能研究曲率引擎和虫洞,探索星辰大海了啊!” 众人:“……” “收手吧阿北,求给条活路吧!” “我以为我考满分就够强了,可见到北神才知道,原来我还很菜……” “我以为我擅一道就厉害了,可北神竟天文地理,琴棋书画,医术体能,无所不精……” 又名《我,超级学霸,专治一切不服》《人在学校,离我远点,别打扰我看书》 你听说过多重人格么?你体会过么?别急,静下心来,让我们一起走进这隐秘的世界。嘘~,小心,别被“它”发现了。女装直播被人当场戳穿,跑路时又卷入一个专门针对我国珍贵文物的盗掘大案!千辛万苦追回文物之后,却发现自己的寿命只剩下两年……怎么办?当然是带着身边的兄弟,追遍天涯海角……不到30岁,就登上了首富之位的林小虎。 正意气风发,却被告知查出了癌症! 召集顶尖的肿瘤专家,苦心研究了两年时间,却毫无转机。 他不甘心这样死去。 幸好,此刻,他觉醒了神级推演系统。 系统以计算力为基础,而提供计算力的是灵魂,灵魂越强,提供的计算力就越强! 只要计算力足够,系统能推演世间万物。 但仅凭他一人之力,断然无法提供足够的计算力。 于是,他有了一个大胆的想法。 开始推演元宇宙,连接所有的人类,让所有的人类都为他所用。 从零开始,在无魔位面推演超凡之路。 【集亿万人之力,推演超凡永生的下一步!】秦王政二十六年,林枫穿越大秦,成了咸阳城中籍籍无名的客栈老板,系统觉醒,签到奖励却十分鸡肋,这让林枫很是苦恼。 觉醒签到系统商人老郑倒是经常光顾生意冷清的客栈,只是每次都要询问国家理政大事或是治国之道,还要学习五禽戏。 “请先生教我五禽戏。” “请先生教我如何抵御匈奴。” “先生觉得哪位皇子适合继承大统?” 林枫虽觉得问题越来越古怪,却还是看在丰厚报酬的情况下详细解答。 直到系统升级,要想获得更好奖励需要入朝为官,林枫正为此发愁之时。 老郑却笑吟吟地告诉林枫:“小子,不装了,我是大秦祖龙!”前世一代枭雄,但不料九重雷劫的降临,令其飞灰湮灭。 临终之前,将灵魂放逐在万千世界漂流。 直到这一天,流浪的灵魂终于有了归宿。 天赋异禀李星辰,竟被大哥追杀,惨死。结果最后竟复活了!可惜灵力、体修尽失,妥妥地成为了废人中的废人!就此颓废吗?这大仇不报了!开什么玩笑!就凭灵兽的三星石,就凭路边儿野草堆捡的九龙神火鼎,看我重生为人,所向披靡。叫你四方凶兽、妖魔鬼怪、歪斜人心通通跪地叫我爸爸!
杭州信息安全公司排名 信息安全技术 路由器安全技术要求 信息安全等级防护 网站设计建站 工业控制系统信息安全国家工程实验室 上海定制网站建设公司哪家好 2017信息安全大会 国务院负责统筹协调网络安全工作和相关 全国专业信息安全服务资质公司,-1 定制跟模板网站有什么不一样 纠纷的自我保护【www.richdady.cn】 人际关系不好的沟通技巧咨询【www.richdady.cn】 公司破产的咨询技巧【www.richdady.cn】 纠纷的前世因果咨询【www.richdady.cn】 如何了解自己的前世今生【www.richdady.cn】 心特别累的环境影响【www.richdady.cn】√转ihbwel 莫名其妙感伤的前世因果咨询【企鹅383550880】√转ihbwel 解梦的前世影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的母亲的前世解析咨询【www.richdady.cn】√转ihbwel 心特别累的咨询技巧【企鹅383550880】√转ihbwel 人际关系不好的环境影响【企鹅383550880】√转ihbwel 冤亲债主干扰的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 失业的原因分析咨询【企鹅383550880】√转ihbwel 成人发育倒退的可能症状【企鹅383550880】√转ihbwel 意外的前世影响【企鹅383550880】√转ihbwel 意外的前世因果【微:qq383550880 】√转ihbwel 去世的父亲的咨询技巧【σσЗ8З55О88О√转ihbwel 纠纷的案例分享咨询【微:qq383550880 】√转ihbwel 性压抑的心理调适咨询【微:qq383550880 】√转ihbwel 精神不振的前世因果【微:qq383550880 】√转ihbwel 互联网信息安全公司 小米手机网络营销预算 长沙市网站制作 深圳网站营销公司 英文营销网站建设 360信息安全大会 网络安全准入方案 2017信息安全大会 国家信息安全等级保护制度 拨号访问控制 公司网站开发公司 互联网与信息安全,-1 信息安全会议2017 信息安全 活动视频,-1 免费开网站 整合营销的好处 赣州网站建设网络信息安全举报 病毒是营销 春秋网络安全官网河南网站建设 杰森影像网站建设 银行信息安全风险排查报告 网站制作的趋势 网络安全工作 网络与信息安全等级 网络安全大会2017ppt 网络安全认证协议 特色的南昌网站制作 滁州网站设计 武汉专业网站建设推广 南山区网站建设公司 网络营销基本模式危害网络安全次数 中国网络安全吗 银川网站建设多少钱 美国网络安全法 网络安全准入方案 全网营销网 做app网站建设 腾讯营销案例 微博营销的事件 网络营销模式发展现状 酒店网络营销方案样版 北京大学信息安全学院 网络营销模式发展现状 网络安全攻击行为分析 网络安全 实施计划 营销包括 网络营销推广外包 3合一网站 制作网站备案幕布 网络安全信息分析 网络安全基本原理 大型网站建设 成都网络营销高手 网站数据库 idc网络安全市场分析报告 中国信息安全大会 营销型平台网站建设 市场营销网络调查法 全国专业信息安全服务资质公司,-1 信息安全等级防护 信息安全 应急响应 制作网站备案幕布 信息安全技术 路由器安全技术要求 河南网络安全 外贸视频营销 设计网站app 网站制作的趋势 定制跟模板网站有什么不一样 首都网络安全日培新 名词解释搜索引营销 设计网站app 网络营销销售渠道 深圳网站建设公司 国家信息安全等级保护制度 拨号访问控制 网络营销销售渠道 广道网络安全审计 中国信息安全大会 杭州全网营销 网络安全攻击行为分析 网站推广软文 美国网络安全法 全网营销网 信息安全合规性 赣州网站建设网络信息安全举报 长沙市网站制作 国家信息安全局网站 网络营销在线讨论法 传播式营销 东莞网络营销 网络安全 实施计划 互联网营销是什么 哈尔滨网络科技公司做网站 微信公众号营销缺点 青岛信息安全等级保护 北京信息安全大会 信息安全技术 第二代防火墙安全技术要求,-1 法国网络与信息安全局 建一个政府网站 上海定制网站建设公司哪家好 杰森影像网站建设 互联网信息安全公司排名 网页制作淘宝网站建设网站色彩学 建一个政府网站 信息安全标准大致分为 大型网站建设 网络营销中 免费开网站 银行信息安全风险排查报告 传播式营销 网站运营公司 广道网络安全审计 网络安全基本原理 社会大学生网络安全总体数据分析 深圳网站外包 淘宝营销策略简述 小米手机网络营销预算 成都c3网络安全 战略性网络营销策划书 深圳网站营销公司 裂变营销 病毒营销 陕西企业网站建设 360信息安全大会 如何快速提高网站排名 苹果支付网络安全 2017信息安全大会 信息安全大赛能力 南山区网站建设公司 公司网站开发公司 福州专业网站建设 网络安全认证协议 信息安全会议2017 网红网站建设官网 3合一网站 免费开网站 信息安全 活动视频,-1 怎样开展内容营销