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

<a class="close" href="https://jiawowangcom.4890.com.cn/">&times;</a>
怎么建com的网站网站页面大小网站建设优秀网站建设安全局管理网络安全吗互联网信息安全规定被通知公司网站域名到期学院网站规划方案信息安全是否考研教职工网络安全培训互联网营销事件上海营销公司有哪些佛山新网站制作特色微信群营销推广方案一道门,让本该死去的人重活于世,让一个本不属于这个世界的灵魂来到异界,两个抱有类似秘密的少年,机缘巧合走到一起,走江湖,闯朝堂,一路拨开层层迷雾,寻得前世今生的真相。原发表于B站专栏上的连载中轻小说,我是作者本人。本文主要讲述的是获得了被认为是“由于高维时空与四维时空之间的作用而产生的存在。”的信念之甲的人们的故事。 (注:由于早期构思时只想了相关设定及部分故事所以早期主线部分主角团人物的人设和身世等是在数次纠结后抓阄决定的。)二级士官陈雨生,雪域退役,在回程中遭遇莫名的堵截与暗杀。 官商黑与境外雇佣杀手,让暗潮涌动的城市充斥着死亡与泯灭。 杀父之仇,必报! 情爱之恨,必雪! 陈雨生以智勇和力量,正义逆袭,让血色城市鲜活不死,让爱着的人重现笑颜,让芸芸众生第二天能够见到太阳升起!平淡的人生,又或许能够不一样?高田真一“小兰女士,你也不想新一君遭遇不测吧?” 小兰“这... 高田真一“小哀酱,你也不希望柯南君有生命危险吧?” 小哀“这...  李乘风穿越到一个妖魔横行的世界,成为青城山的一个守山人。   奈何他没有灵根无法修炼,只能安安分分做一个普通人。   但是有一天,他的系统突然变异了,从此成了一个令一众妖魔闻风丧胆的得道高人……   这妖怪也太弱了,我都没有出剑呢,怎么就死了。   我养的一条狗,居然是横扫妖界的一方妖王。   我池塘里的乌龟,竟然蜕变成了洪荒神兽。   之前跟我下棋的老头子,最后竟然成仙了。   还有那个最喜欢听他吟诗作对的漂亮姐姐居然修仙界第?仙?。   知道这些真相之后,李乘风开始怀疑人生:   我该不会真成为绝世高手了吧? 一个现代年轻人穿越到其他游戏里的故事(会对游戏进行一些更改)(作者学生随缘更新)传说女娲冶炼五色石补天,所余与造人凝土混和一处,吸收日月精华,天地精魄化一黑色魂石。拥用者,入轮回而不忘前生,不入轮回也灵体不灭。可附万物之躯而魂不损。故事便从主角死后开始, 一个强留人间且不断被法则之力消耗能量的灵体的他却不知道他手中的砖头便是这黑色魂石所化… 人穷七分彻骨寒,落魄冷暖见人心。   求人如吞三尺剑,靠人如上九重天。   杨磊带着金手指重生回2004年夏天。   以十六岁的身体一力承担起不属于他这个年龄的重担。   挽救父母亲于水火之中。   让濒临绝望的家庭恢复生机。   更在古玩收藏这个行业里掀起阵阵腥风血雨。   在温馨搞笑又有些痞坏的日常生活中,不知不觉的成长为行业内令人侧目的大佬级人物,坐拥美女与财富,静观天下风云变幻。月寒人醉鬓成霜,红尘若梦几千年。漫漫仙路,当剑啸万里,何惧热血染青天!
易营销软件代理商 建立网站的费用 信息安全 排名 教育部 郑州网站推广 手机营销软件论坛 武汉网站设计公司 第二届移动互联网产业发展与网络信息安全研讨会在京举行 驱动中国 武汉网站设计公司 最牛的网络营销 网络安全分析室 事业不顺的应对策略【www.richdady.cn】 儿子抑郁症咨询【www.richdady.cn】 缺心眼的解决方法【www.richdady.cn】 如何发现前世缘份咨询【www.richdady.cn】 财运不佳的咨询技巧咨询【www.richdady.cn】 财运不佳的心理调适【微:qq383550880 】√转ihbwel 婴灵的超度与心灵净化咨询【微:qq383550880 】√转ihbwel 人际关系不好的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心特别累的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 莫名其妙感伤的前世影响【微:qq383550880 】√转ihbwel 不爱读书的解决方法咨询【企鹅383550880】√转ihbwel 意外的前世影响【σσЗ8З55О88О√转ihbwel 前世今生的缘分解读咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 耳鸣的环境影响【σσЗ8З55О88О√转ihbwel 儿子不读书咨询【企鹅383550880】√转ihbwel 处理感情纠纷的方法咨询【σσЗ8З55О88О√转ihbwel 为什么过世的心理调适【微:qq383550880 】√转ihbwel 老公家暴咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 内心恐惧胆怯的咨询技巧【微:qq383550880 】√转ihbwel 前世缘份的前世缘分咨询【σσЗ8З55О88О√转ihbwel 知名信息安全企业排名 什么是网络安全技术 订制网站 网站建设 长春 企业营销成败的实例 信息安全 文件 网络安全资料 网络安全 高端培训 武汉做网站公司 网络安全基础应用与标准 pdf 青浦网站建设 internet的网络安全 企业网站优化 义乌建网站 河南信息安全测评中心 福州做网站的公司 北京网站的建立 网络安全仿真靶场 个人网站自助建站 网站页面大小 网站设计奖 什么是网络安全技术 推广型网站制作哪家好 长春市网站推广 佛山新网站制作特色微信群营销推广方案 网吧网络安全 华中科技大学 信息安全专业 郑州网站推广 网络信息安全培训招生简章 大学信息安全等级保护,-1 成都企业网站建设公司 网站与与云的关系 感情营销案例 英国 网络安全 机构 网站优化课程 网络信息安全培训招生简章 网站推广方式 信息安全是否考研 杭州网络营销外包托管 怎样设计网站 东莞魔方营销 网站建设趋势2017 怎样设计网站 网站建设优秀网站建设 个人网站在那建设 建立网站的费用 深圳做自适应网站设计 京东营销手段分析 手机营销软件论坛 信息安全 bbc 网络营销学什么专业 网络安全去哪里学 营销型网站定制 巴彦淖尔市 网站建设 世界著名网络安全公司 中国网络信息安全中心 网络安全企业 订制网站 关于互联网信息安全方面的股票 网络营销的几个模型 手机网络安全资料 郑州网站推广 网信办 网络安全协调局 安徽省信息安全大赛 东营设计网站建设 网站建设策目标 电子商务习题集 网络营销实施运作过程基本步骤给出方案框架及简要描述 杭州网络营销外包托管 信息安全 bbc 网站建设 天津 深圳网站订制开发 重庆网站 网站如何被百度收录 2015网络安全新闻 青岛网站建设价格 internet的网络安全 vpn 网络安全 东营设计网站建设 上海营销型网站 在百度搜索公司名字看到是自己公司的信息可是点开确实别人的网站 温州手机网站制作公司电话 信息安全经理 简历 营销知识点 上海网络安全公司招聘 北京网站的建立 关于互联网信息安全方面的股票 知名信息安全企业排名 安徽大学 信息安全 首席信息安全官大会 网络安全仿真靶场 软件外包信息安全程序 网站字体 网站优化课程 绵阳市公司网站建设 个人网站自助建站 信息安全 文件 旅游网站的营销策略 美国国家网络安全联盟 必知的网站 徐州建立网站 信息安全经理 简历 国家信息安全二级等保 开源sdn网络安全 网络安全 思科 中国 网站建设新趋势 2016 网络安全 2016网络安全重大事件 苏州网站推 国家信息安全通报中心网站制作的困难和解决方案 旅游网站的营销策略 推广型网站制作哪家好 企业网站优化 酒泉网站建设 最牛的网络营销 网络营销的实施计划方案 论网络营销 网站与与云的关系 东莞魔方营销 天津网站建设 网络安全看年龄吗 新浪微博营销的特点 网信办 网络安全协调局 汽车网络安全 昆明响应式网站 网络安全 思科 中国 网络营销文案事例 网站的标准 义乌建网站 网络营销常用词 中国网络信息安全中心 安徽省信息安全大赛 网络安全仿真靶场 最牛的网络营销 网络安全框架怎么写 河南信息安全测评中心