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

<a class="close" href="https://nx3a.5946.com.cn/">&times;</a>
企业网站制作 徐州网络安全的主要威胁有哪些方面广东省信息安全等级测评机构备案(第三方测评机构)大学生信息安全什么是电子网络营销网站和后台国家信息网络安全机构网络营销是企业整体营销的组成部分基于大数据的网络安全公司网络安全负责人厦门网站建设哪家便宜剑未妥,江湖早,纵使不懂,也不默,少年啊,不归呀,吾辈皆是英雄! 鸟惊忽现白马,飘飘锦衣落梨花,少年呀,归来呀,千年谁复重生?一剑动京华!一位天才少年,因为一次特殊的案件,他的一翻话给了刑侦队长一个方向。他的每次分析总是雪中送炭。大坑村的傻子陈一鸣,偶然获得先祖传承,成为村里的神医,专治吹牛逼,还有各种疑难杂症,只是娇美村花要嫁给他,邻家小妹爱上他,城里的小姐也要倒追他,陈一鸣十分苦恼,他能制服全世界,却治不了自己的桃花源,怎么办,谁来解救?一朝穿越,江晓觉醒最强宗门系统,召唤异界各路神仙玩家,带领洪门崛起。 天玄大陆从此变了天。 “禀告宗主,洪门弟子越战越勇、悍不畏死,我们的弟子根本阻挡不住……” “洪门弟子修建的“黑色长城”我们根本打不动,连山门都打进不去……” “灵药山洪门弟子把我们的灵药洗劫一空,连根灵草都没剩下,受伤的弟子已经没药疗伤……” 无上仙宗宗主:“洪门弟子实在太凶猛了,传令下去,所有弟子撤退!” “禀告宗主,洪门弟子已经把无上仙宗打下来了,我们已经无处可退……” “什么?难不成洪门上下,都是一群神仙?” 人在没有离开尘世时,谁也说不清未来将会发生什么。 本来工作顺心、家庭和谐,婚姻稳定的主人公但益恒不经意间发现贤惠持家的老婆暗地里已出轨多年,工作又不顺心,令他性情大变一怒之下辞职却又遭老婆羞辱,生无可怜之下跳河自杀。 死容易,生更难。 他落魄、失意,在逃离家与愧对女儿的煎熬中不断努力,并结识了三位红颜知已,一方面为了女儿有一个健全的家他想守住初心但夫妻之间的裂痕已无法愈合;一方面逃家自由中又遭遇三位婚外女人的步步紧逼。面对三个独立而有个性的女人主动攻击,他贪恋这种“偷情”的刺激陷入了婚外“情”的泥潭之中,可是,谁想过这种不伦不类纠缠不清的日子呢?熊与鱼掌不可兼得,经过无数次挣扎,他只得做出断、舍、取,那晓得,命运又跟他开了一个玩笑,他该何去何从呢……60年代的一次偶然相遇,从此,他和她的命运便紧紧联系在一起。他为了她,抛弃地位和财富,宁愿一切从零开始。她为了他,含泪步入他门,但心灵深处却从未与他远走。两心相依,是他们今生的企盼。来世聚首,是他们此生最大的心愿。且看他们在生命的路途中,如何用青春的音符,演奏一曲都市恋歌;怎样用智慧和汗水,携手编织明天的彩虹。陌生朝代一品大将府的庶子,突然融合了一个现代人的记忆。 这段记忆会给他带来怎样的变化?又会给这个世界带来怎样的变化? 平凡的李振飞书写不平凡的人生邵帅意外穿越,原本准备靠着律所合伙人身份简单过活,但随着系统的开启,一位位影视剧中的女主,却让他原本平淡的生活变得多姿多彩。陈树和大学死党顾清两个人玩游戏喝酒。 输了一轮游戏,死党竟然整活把女总裁拉进了陈树的家庭群。 第二天醒酒之后,陈树才发现女总裁在群里聊嗨了! 本来以为自己被即将被炒鱿鱼了,却发现女总裁的要求一个比一个离谱。 陈树,到我办公室来。 陈树,跟我回家见父母。 陈树,我们同居吧。 面对女总裁的要求,陈树无法拒绝。 直到有一天,女总裁含情脉脉地向陈树求婚。 陈树:不是假扮情侣吗?你怎么玩真的?
网站制作培训 营销在线 深圳最好网络营销课程 网站模板怎么用 湖南最有名的营销机构 淄博网站推广 红帽杯网络安全 常州网站制作 网络安全的第一道防线是 网站和后台 前世今生的轮回解析【www.richdady.cn】 婴灵、邪灵、祖灵咨询咨询【www.richdady.cn】 头脑混沌【www.richdady.cn】 精神不振的解决方法【www.richdady.cn】 感情纠纷的原因分析咨询【www.richdady.cn】 大龄剩女的婚姻选择有哪些?【σσЗ8З55О88О√转ihbwel 无形干扰的原因分析咨询【微:qq383550880 】√转ihbwel 阴间生活的前世因果【www.richdady.cn】√转ihbwel 脑部不清晰的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 缺心眼的咨询技巧【www.richdady.cn】√转ihbwel 脑部不清晰【www.richdady.cn】√转ihbwel 有官司咨询【企鹅383550880】√转ihbwel 心慌胸闷头晕的原因分析咨询【www.richdady.cn】√转ihbwel 人际关系不好的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 灵性提升课程咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世记忆恢复技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的缘分再续【企鹅383550880】√转ihbwel 婴灵的安抚与超度咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心慌胸闷头晕的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情纠纷的情感重建咨询【微:qq383550880 】√转ihbwel 郑州网站优化 网站内容建设 互联网信息安全平台 网站建设素材使用应该注意什么 网络安全文章下载 网络安全师证书 佛山做网站格 谷歌网站建设 网络信息安全认证证书 国家网络安全小组 武汉做网站最牛的公司 大连企业网站建站 郑州个人做网站 商业网站建设 信息安全等级保护项目计划书 廊坊设计网站公司 p2p网站建设 优优营销软件 化妆品网络营销 云定制网站 河南省网络安全办公室 湖南高端网站制作公 南通动态网站建设 网站配色表 html5/flash设计开发|交互设计|网站建设 青岛 美团采用什么营销模式 社会化网络营销类型 国家信息安全等级认证网络营销系统功能 网站怎做 网站开发与设计公司 佛山做网站格 网络事件营销的注意点 营销在线 网络安全培训 费用 江苏网络营销推广报价 网站设计小技巧 广东省信息安全等级测评机构备案(第三方测评机构) 昆山高端网站建设 网络安全公众号 营销swot自我分析ppt 红帽杯网络安全 物理安全网络安全应用安全 北京企业网站案例 网站制作 太原 网络营销策略翻译 网络安全咨询服务方案 手机wap网站制作 网络营销用不用考研 o2o网站建设 河南省网络安全办公室 网站站欣赏 优势网网站 营销在线 绍兴网站建设 学生网络安全讲座 信息安全与对抗技术 网络信息安全认证证书 网络安全文章下载 网络安全实际案例分析 网络安全公众号 上海网站优化 太原seo网站建设 大学生信息安全 上海营销型网站制作 上海网站推广 旅游网站管理系统 廊坊设计网站公司 o2o网站建设 核心机房的安全规划物理安全链路安全网络安全系统安全信息安全 五金 网络 推广 营销 郑州网站优化 网络安全法 爬虫企业网络营销活动方案 惠州外贸网站建设 网站推广策划 网络安全培训班网站制作价 佛山做网站格 重庆网站真实案例 微信营销的目的 石家庄专业模板网站制作价格 信息安全会议2015 美团采用什么营销模式 国际信息和网络安全会议 红帽杯网络安全 p2p网站建设 网络安全文章下载 美团采用什么营销模式 大良营销网站建设平台 信息安全管理人员 等保 互联网营销领域的公司 网站制作培训 互联网信息安全平台 投资网站维护 莆田网站制作 云创通11营销手机 优势网网站 设计网站可能遇到的问题 建设营销型网站的要素 网络安全主管部门检查 深圳大型网络营销公司 南京微信营销广告公司 isp认证 网络信息安全证书 福州seo营销中国重大信息安全事件 概括 病毒营销特点 信息安全等级保护项目计划书 常州网站制作 国外网络安全博客 沈阳网站建设推广 定制网站案例 衡水企业做网站 公司网络安全负责人 网站挂黑链 公安网络安全系统的设计与实现的案例 郑州个人做网站 重庆网站真实案例 网络营销的知识要求 深圳 企业网站建设 网站制作培训 网络安全公众号 网络安全概述ppt 专业企业网站建设定制 javascript实现网站顶部出现几秒后图片缓慢消失的效果 网络安全概述ppt 公安网络安全系统的设计与实现的案例 网站建设设计 国内顶级网络安全公司排名 互联网信息安全平台 p2p网站建设 系统的网络安全 电子商务网络营销方向 长治网站建设 信息安全与对抗技术 南通动态网站建设 病毒 网络安全检查 信息安全项目名 为什么有些网站搭建的是php其所有网页均已.htm命名