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

<a class="close" href="https://n32.saqin.cn/">&times;</a>
张店网站制作网站建设问题大全企业网络安全规定信息安全等级保护 五级标准知名信息安全企业排名珠海企业网站制作费用济南模板网站制作营销失败案例2016信息安全报告武汉新公司做网站古秦以后,灵气枯竭,登仙路断,世间的修行基调由飞升天门渐变成重续仙路! 这是一个刚从破败中复苏的修行世界,人们依照着从前秦遗迹掘出的遗物,历史残片,修行残篇重接仙路! 这是一个绝望的时代,天门封闭,修行路陷入末法,长生遥遥无期! 景楠在这个修行者热血沸腾,高呼“伐天而行”的时期苏醒,踏上仙路,一路搅得天翻地覆。 穿越者碰到的倒霉事是什么,你发现不至是你一个人穿越了,而是两人死对头和你前后穿越了。刘衡就碰到了这样的事,开始来回穿梭在两位穿越者之间,搞起了颠覆王朝的重大改革:(1)更天下田曰王田,私人不得买卖。(2)改奴婢为“私属&amp;quot;,亦不得买卖。(3)实行&amp;quot;五均六莞&amp;quot;制,即在国都长安及五大城市设立五均官,政府管理五均赊贷及物价,征收商税,由政府经营盐、铁、酒、铸钱、山泽等。(4)改革币制。(5)改革中央机构,加强相权、兵权;重新划分郡县,更改地名。(6)改革少数民族名称、首领称号。(7)改匈奴为十五单于。 从而在这被他搅的混乱世道做一个幕后王者。天灾过后,就是人祸。 经历了大灾的人们在一片废墟之中重建新的制度。 可重建的路上布满了血腥和骸骨。 一位连自己身份都不知小的少年,原本只想在乱世之中苟活,却没有想到一步步走向了不可控的未来之中......这是一个光怪陆离,广大无垠的世界,一条狗是儒门圣者。一个貌不惊人的猎户,是以猎杀古族,异族为职业的猎人。一个文弱书生是高来高去的剑仙。 为了生存,为了回家他们努力奋斗在这陌生的世界。当他们即将踏上回家之路时,友情,爱情,师徒之情,族群的爱护之情,萦绕心头。这是他们发现与这个世界纠缠着太多的因果。他们面临两个选择。是离开,逃避这纷乱的战场?还是留下,与那些同伴一起战斗? 当夕阳余晖散尽时,落雨关已经岌岌可危。天际边缘,两道匹炼携开天之势强势来袭,一战斩十八异界圣人,自此成名天下知。 他们的崛起星海之路,从征服三垣大界开始。从而揭开了宇宙星海的大迷。他们又面临选择,这次的选择关系到整个宇宙星海的未来。是勇往直前,披荆斩棘,趟出一条长生大道;还是颠倒星河,绝天地通,偏居一隅的苟活! 一副副热血,激情,温馨,惨烈,悲情,壮烈的画面将从一次意外的旅游而慢慢展开。“南桸 你回头看 ”江泽大喊到 南桸微笑着转身看着她 江泽高举着手 “我等你回来” 由第十界主研发的异晶分散世界吸收世界的各种概念从而产生千万种异变,任何生物得到它都可以获得一个特有的能力,乱世即将开始。 ... “怎么称呼?” “世界之子,天穹。” “影的后裔,刃少邪。” “暗夜域主,禾星。” “次序化身,命灭轮。” 少年微微一笑:“龙的传人,莫白!”这是一个围绕万妖万鬼阵的故事,这里有悬疑,有惊恐,有温情,有人性。在这个事情里,好人不是绝对的好人,坏人不是绝对的坏人。你可以把他理解成我的幻想,也可以认为他是真实发生的。毕竟有那么多不可思议的事情,谁又说得准呢?   (你可以认为我描述的过于细节甚至啰嗦,也可以认为我描述的较为简单。但我只想把这件事情完完本本的描述给所有人。) 逃到地球的陆源被人追杀,他不想就这么陨落,他要稳健,要苟住发育。 但是……他那便宜老婆家事有点多。 有人死的时候,把他们一家都托付给了陆源,他不喜欢麻烦,决定横推过去。也不知该怎么说。这应该是一部用穿越的视角重温年代的小说。天下已乱,战火纷飞,百姓水深火热。 奸臣当道,忠臣受迫,庙堂妖风邪气。 此时,江流正在赶往金陵的路上。 ”忧苍生之所忧,愁国君之所愁。“ ”我江流就是要开创个太平盛世!“
张店网站制作 昆明响应式网站制作 网站制作公司 番禺 欧美风格网站设计 欧美风格网站设计 先知网络安全 广西 网站开发 家用网络安全 天津网站制作公司 全网整合营销服务商 婴灵的超度仪式【www.richdady.cn】 与男友前世的前世修行咨询【www.richdady.cn】 强迫症的前世因果【www.richdady.cn】 婴灵的形成原因咨询【www.richdady.cn】 阴间生活的前世缘分咨询【www.richdady.cn】 特殊学校的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺咨询【企鹅383550880】√转ihbwel 学习成绩差的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 官司的案例分享咨询【www.richdady.cn】√转ihbwel 内心恐惧胆怯的前世影响咨询【σσЗ8З55О88О√转ihbwel 如何维护良好的家庭关系?咨询【企鹅383550880】√转ihbwel 孩子学习不好的案例分享【微:qq383550880 】√转ihbwel 家庭关系的幸福指南有哪些?【σσЗ8З55О88О√转ihbwel 事业不顺的真实案例有哪些?【www.richdady.cn】√转ihbwel 前世老公的前世案例咨询【σσЗ8З55О88О√转ihbwel 前世老公的前世修行咨询【企鹅383550880】√转ihbwel 暗恋的心理调适【σσЗ8З55О88О√转ihbwel 内心恐惧胆怯的原因分析咨询【微:qq383550880 】√转ihbwel 公司破产的前世记忆咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的沟通技巧咨询【微:qq383550880 】√转ihbwel 网络安全logo设计图片 burp 网络安全题目 房地产全程网络营销系统对房产公司的营销推广有什么帮助? 信息技术与信息安全快速播放 信息安全 文件实战全网营销是干什么 odex信息安全,-1 网站对域名 企业网络安全规定 南阳网站营销外包公司 搜索再营销 网吧网络安全 专业建设网站制作 深圳企业网站建设公司哪家好 网站制作公司 番禺 武汉网站优化 网站推广报价 网络安全基础培训 西安网站设计公司 动效网站 网络安全资料 家电+营销 陈墨网络营销顾问 网站制做公司 中国信息安全测评师 信息安全等保三级标准 网站建设周期 网站建设问题大全 网站建设周期 西安制作手机网站 巴彦淖尔市 网站建设 网络安全基础培训 dnc网络安全 郑州网站制作公司 博客营销 blog 网络安全电子版 房山网络安全小镇 大型网站设计方案 网站制作公司 番禺 知名信息安全企业排名 大型网站设计方案 网络安全周报告 第二届移动互联网产业发展与网络信息安全研讨会在京举行 驱动中国 从营销看聚美优品 信息安全等级保护 五级标准 中国信息安全测评师 紫色网站模板 网络信息安全检查 家电+营销 家用网络安全 网络安全的大数据分析 武汉网站优化 互联网信息安全案例分析 营销外包效果 网站的后期维护工作一般做什么 全网整合营销服务商 信息安全 文件实战全网营销是干什么 计算机技术与信息安全 宝安网站设计 青岛网站建设价格 厦门网站制作 分析企业网络营销环境分析报告 建站网站 网络安全现状与问题 北京做信息安全网站名重复 白山网站建设 搜索再营销 云网站系统 burp 网络安全题目 网络植入式营销案例 公司网站设计与制作 网页区设计网站诊断 网络植入式营销案例 建站网站 可信网站认证 网站建设有免费的吗 上海网络安全公司招聘 张店网站制作 什么是网络安全技术 网络安全博览会地点 网站设计师 鹤岗网站建设 龙岩网站建设公司 中文网站模板 网络安全 汽车 网络安全测试用例 大良营销网站建设流程 网络信息安全培训招生简章 响应网站 网络安全企业 深圳全网营销外包线上互动营销logo 内容营销优缺点 信息安全管理岗 招聘 专题页网站 网络安全技术防火墙 信息安全等级保护 年限 青岛网站建设价格 burp 网络安全题目 网络营销策略的缺点 网络安全监控有什么用 信息技术与信息安全快速播放 信息安全经理 简历 网络安全训练 odex信息安全,-1 厦门做网站公司 网络安全技术防火墙 企业网络安全规定 网站建设:中企动力 2014中国国际计算机网络与信息安全博览会,-1 免费网站专业建站 网络信息安全 特点有 网络安全电子版 网站对域名 婚纱摄影网站设计 武汉网站设计公司 从重大事件看网络安全形势答案 信息安全等保三级标准 网络安全现状与问题 全球网络安全公司排名 可信网站认证 网络安全基础培训 网络信息安全研究 动效网站 网络信息安全 特点有 南阳网站营销外包公司 有哪些网络安全论坛 营销新思路 网络营销不包括网络营销管理与控制 网络安全logo设计图片 中新网络信息安全印度的信息安全 网络安全能力 信息安全等保彩页 陈墨网络营销顾问 网络安全博览会地点 信息安全等级保护北京,-1 餐厅网络营销