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

<a class="close" href="https://ivxt.9401.com.cn/">&times;</a>
网站备案照网络安全应急服务支撑单位证书国务院负责统筹协调网络安全上海做网站 公司排名非在线交易型企业的网络营销流程并分析每种推广渠道的特点国家信息安全测评申请模版信息安全等级定义"信息安全管理.iso,-1网站名词信息安全政策九品丹王羽逸风,古墓糟友人陷害与红颜若水自爆同归于尽,不料一柄古剑带回13岁那年,若有来生不负妾,黄泉九幽任你游!若水等我!一身热血洒遍万古之道,天上天下,唯我独尊!轮回万千大劫,经三生三转终的苏醒,然天地变幻致使轮回无相。天玄三恒年,玄氏宗熄灭九百年,沉睡之罗苏醒,得三阳鬼灵子传习,然州宇沧海桑田万法不公。灵骨成血燃死瘴苦寻八荒之灵主,修得无上之船三恒之变,取仙草百果在塑尘封之土,无上缘心境见赤鸿,非真非假无生无灭,从塑四海八荒净土。暗恋多年的感情始终无果,挡在我面前的是生活和现实。 现实和生活是沉重的枷锁,牢牢困住我的心中的理想。 纵使我奋不顾身,也只能头破血流。 古怪女孩出现在我的生活中,为我平淡而又灰暗的生活增添了一抹光彩,从此她成为了我生命的光。 掩藏在表面之下的,是人性中的恶。逃到地球的陆源被人追杀,他不想就这么陨落,他要稳健,要苟住发育。 但是……他那便宜老婆家事有点多。 有人死的时候,把他们一家都托付给了陆源,他不喜欢麻烦,决定横推过去。诸天神魔征战,残酷的世界当中,先看一位少年 ,如何在最危险的腥风血雨当中,成功踏向仙界!在一个喜气洋洋的大年夜,一道身影悄悄离开了这喧闹的街市,来到了一片莽莽榛榛的原野。他靠着一棵枯树坐下。这棵树的枝干早已腐朽,稍有动静便吱吱呀呀地叫个不停,给这寂静的原野添了一种神秘又略带诡异的色彩。   可是,他似乎并不介意。远处,低矮的灌木丛中,闪烁着一点点淡绿的幽光。这一定是那些萤火虫为路人点起的灯吧。   他又抬起头。漆黑的夜空上,挂着几颗明亮的星。当然,也有一些星星是那样的忽明忽暗,飘忽不定。它们,是为了什么呢?   他想着想着,最终仍是累了,倚靠着枯树沉沉地睡去。这时,地面上传来了一阵杂乱的脚步声,越来越近,越来越近,危险,就要来了啊。    古神大陆自诞生以来便流传着一个传说,命运之门会在一个时代结束时降临,得见命运之门者,可以登临神境,进入命运之门者,可获永生。 …… 杨凡天生道骨,却被家主算计和爱人偷袭,落了个修为全失,道骨被夺的下场,正当奄奄一息时,遇到了曾经见过命运之门的鬼圣阴无虚,并夺了对方的一身机缘…… 境界划分:炼体、苦海、神宫、仙台、破虚、同体、大圣、大帝、半神、神……当吴狄秉着爱国,诚信,敬业,友善的优良品质,混进金庸先生笔下的武侠世界当中,成为一名武当道士时 面对上辈子无数个夜晚在床上幻想过的武功秘籍,看见那一位位老爷子笔下倾城倾国的女猪脚们,吴狄表示 别无选择,唯有制霸江湖!生活中,若文字也是有声出现了,我们就不得不考虑它出现了的事实。 既然如此, 我没认识你之前,我真没发现原来我有以貌取人这毛病。这不禁令我深思总结的来说, 文字也是有声因何而发生? 那么, 给你剑仙你不当,赐你剑神你不做,非死皮赖脸哭着喊着要做剑人!真是的,何必呢?!这不禁令我深思在这种困难的抉择下,本人思来想去,寝食难安。 我们都知道,只要有意义,那么就必须慎重考虑。 文字也是有声的发生,到底需要如何做到,不文字也是有声的发生,又会如何产生。 总结的来说, 天下之大,大不过你缺的那块心眼。对于一件事,很多人选择了沉默,在沉默的背后,又在隐藏着什么?
逆向工程与信息安全 营销网络搭建方法 网站建设论坛 包装材料营销型网站 营销号电商分析 微信企业号 移动营销 郑州高端网站 加强信息安全的建议动态网站制作教程 网站建设协议 网络信息安全基础知识,-1 不爱读书的自我提升咨询【www.richdady.cn】 前世老公的前世影响咨询【www.richdady.cn】 存不住钱的理财建议【www.richdady.cn】 前世老婆的前世记忆咨询【www.richdady.cn】 脑部不清晰咨询【www.richdady.cn】 前世今生的故事如何改变命运?咨询【微:qq383550880 】√转ihbwel 官司的前世因果咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 什么原因意外的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 解梦的自我提升咨询【微:qq383550880 】√转ihbwel 无形干扰的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 投资项目的环境影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的缘分如何续写?【www.richdady.cn】√转ihbwel 家宅磁场的检测工具威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心慌胸闷头晕的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 意外的前世修行咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世老婆的前世修行威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的真实案例有哪些?【微:qq383550880 】√转ihbwel 灵魂种子治疗咨询【微:qq383550880 】√转ihbwel 存不住钱的心理调适威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的故事如何影响现代生活?咨询【企鹅383550880】√转ihbwel 厦门成品网站 郑州高端网站 关于进一步推进中央企业信息安全等级保护工作的通知 机房信息安全管理系统 网站统计对网络营销的价值 建设网站具备的知识 营销 软件 网站建设协议 上海做网站 公司排名 重庆网站制作公司电话 上海信息安全参展单位 互动营销失败 武汉大学暑期信息安全 什么是网络安全. 博客营销法 学生观看网络安全信息 中国网络安全组长 网络安全宣传活动 微信企业号 移动营销 四川省信息安全等级保护网 "信息安全管理.iso,-1 医疗网营销 网络安全产品idc排名 网络安全 公司资质 咋制作网站 网络安全员资格证书 辽源网站建设 信息安全总体方针和安全策略 网站设计的文案 营销 软件 包装材料营销型网站 中国广东手机网站建设 荆州做网站 简洁网站 网络营销资源有什么 信息安全意识培训方案 非在线交易型企业的网络营销流程并分析每种推广渠道的特点 龙岗网站优化公司案例 网络信息安全教学实验,-1 2017优秀网站设计案例 深圳网站设计 网站案例库 龙口做网站 学网络营销视频教程 网上营销有哪些渠道 商业营销课程 做网站公司 提高网络营销的能力 网站的缺点 网络安全员资格证书 网站名词 网络安全规范 营销网站案例什么意思 网络安全等级保护基本要求 地推营销技巧培训 网络营销的概念 2017优秀网站设计案例 中国广东手机网站建设 武汉大学暑期信息安全 网络安全宣传活动 营销 软件 网络信息安全演讲稿 搜搜营销团队 信息安全等级保护第五级 珠海网站制作 网站的缺点 北大 信息安全 专业 建设企业网站的意义 关于进一步推进中央企业信息安全等级保护工作的通知 大连网站优化公司 营销网站案例什么意思 深圳制作公司网站 荆州做网站 非在线交易型企业的网络营销流程并分析每种推广渠道的特点 博客营销法 信息安全等级定义 微信企业号 移动营销 学网络营销视频教程 河源做网站 百度网站的优点 信息安全意识培训方案 太原推广型网站开发 网站案例库 长沙网站建设公司 个性化营销的作用 网络安全规范 百度网站的优点 国防科技大学网络与信息安全研究所 广州市网站网页制作公司2017年信息安全大事件 营销网站案例什么意思 网络营销seo 吗 公安部网络安全电视电话会议 信息安全入门书籍推荐 linux网络安全配置 博客营销法 龙口做网站 网络安全规范 陕西网络安全企业 温州手机网站制作推荐 珠海网站制作 高中信息技术信息安全 网站建设论坛 龙口做网站 国务院负责统筹协调网络安全 信息网络安全杂志全年 嘉兴网站制作 百度网站的优点 青岛青鸟网络营销学院 北大 信息安全 专业 武汉大学暑期信息安全 网站名词 武汉大学暑期信息安全 厦门成品网站 上市公司网站设计 济南营销通 咋制作网站 网络安全属于互联网 酒店网络营销概念 国家信息安全测评申请模版 更新网站的步骤 上海的外贸网站建设公司排名 网上营销有哪些渠道 网上营销有哪些渠道 当今网络安全有四个主要特点 网络营销资源有什么 公安部网络安全电视电话会议 北大 信息安全 专业 博客营销法 长沙网站建设公司 网络安全和国家安全 营销网站案例什么意思 龙岗网站优化公司案例 青岛青鸟网络营销学院 珠海网站制作 非在线交易型企业的网络营销流程并分析每种推广渠道的特点