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

<a class="close" href="https://yzy1.6590.com.cn/">&times;</a>
温州网站推广上海高端网站制作公司唯品会口碑营销方案中国网络安全等级保护在线网站建设个人网站怎么建立安恒信息安全学院病毒营销互联网案例网站功能及报价巴中网站建设网络安全服务机构指游轮失事,一觉醒来发现自己身处荒岛之上,身边相伴的却是朝思暮想的豪门千金…… 荒岛之上,和女神一起打造我的世界! 莫名的厄运缠身,是命运还是阴谋,让泣无泪踏上了异界的历程。 天道弃吾,吾宁成魔,天要灭我,我便逆天。 逐鹿异界,一方强者,笑看花开花落,只为携美渡生。 杀戮,只是为了我能活下去,世人道我魔,那又如何? 穿越成了朱元璋的孙子,朱允熥头大了。 他只想躺平,躲得远远的做个逍遥小地主,却没想所有人都以为他在演戏! 朱元璋:这孩子一无是处,可咱家怎么越看越喜欢? 朱允炆:我去!原来这小子一直在坑我! 朱棣:别装了,老子早就看穿你了! 朱允熥:??? 都特么有病吧? 爆笑大明,个个都是脑补高手,原来还可以这样当上皇帝! 修仙和历史共存,里面涉及的历史典故和俗语比较多。几百年后的将来星际时代,原始星球上哪些愚钝的人把我们当成了神明,用自己的辛勤劳作祭祀我们!殊不知很快这些东西就会被打上包装销往银河系各地!各种阴谋诡计充斥的世界!就如同漆黑的宇宙! 一个倒霉的科学家被放逐到了这样一颗原始的星球遇到了同样是放逐犯的人群,他的未来会怎样呢?一切尽在超脱原始人生!寻觅宇宙真谛!本是千万富翁,却遭遇破产危机,结婚六年的妻子还送给我一顶大大的绿帽。 人生低谷,却无意间结识美女总裁。 为还自己清白,我重振昔日辉煌,不仅要手刃仇人,我还要让那些瞧不起我的人跪下来叫我爸爸。 人性是善是恶,争论千年无休止。 而我的故事就要从人性上开始说起…天道无情,大陆为棋盘,苍生为棋子。少年林羽,低微出身,手持三尺长剑,得神秘传承,力压天骄,剑斩诸强,斩天道,立新规,风凌九天。你好,我叫刘意。 如果能听到我的声音说明我距离你们并不遥远。 如果可以,请尽量避免外出,在家中备好食物与水请等待军队的救援,重申一下,如果可以请不要外出,外面很危险,到处都是食人的怪物,请拿好武器保护好自己,请一定要。。活下去。over地球停转,末日来袭。 灾难接踵而来,人类为了生存终于是暴露出潜藏在内心的阴暗。 欺骗,背叛让人与人之间最后的一层遮羞布被饥饿、求生欲狠狠的撕下。 别人为了一块面包,可以出卖尊严。 而我,坐拥一块地,守护着自己爱的人和爱我的人! ……魂穿海贼世界的亚瑟,一名普普通通科学家,在这全员变态的世界如何生存? 别慌,大发明家系统为您服务!附魔台、传送石、仙豆、竹蜻蜓...各种神奇的道具应有尽有。 这就样,亚瑟成了超越贝加庞克的“天才科学家”,不仅征服了海军,还让整个世界为之疯狂。 我们的口号是“发明改变世界!”
汽车网络营销策划书 搜索引擎营销sem概念 个人网络安全年度报告 国家信息安全认证 外贸邮件营销系统 网络安全服务机构指 厦大网络安全 信息安全竞赛题库 等保 分保 信息安全工程师 资质 营销沟通的案例分析 克服职场升迁障碍【www.richdady.cn】 忧郁症的改运方法【www.richdady.cn】 外灵干扰的前世因果【www.richdady.cn】 如何克服升迁障碍?【www.richdady.cn】 莫名其妙感伤咨询【www.richdady.cn】 冤亲债主干扰的真实案例有哪些?【微:qq383550880 】√转ihbwel 与女友前世的记忆解析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老婆的前世故事咨询【σσЗ8З55О88О√转ihbwel 去世的父亲的前世故事【σσЗ8З55О88О√转ihbwel 官司的前世因果【企鹅383550880】√转ihbwel 学习成绩差的前世因果咨询【σσЗ8З55О88О√转ihbwel 前世今生的轮回传说咨询【企鹅383550880】√转ihbwel 解梦的方法与技巧【www.richdady.cn】√转ihbwel 前世缘份的改命技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场突破威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 为什么过世的前世解析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与公婆前世咨询【微:qq383550880 】√转ihbwel 暗恋的心理成长【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 解梦的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 老公家暴【微:qq383550880 】√转ihbwel 广东省信息安全企业排名 武汉网站优化seo 广州外贸网站效果 gb t 信息安全 微博营销的不足 网络信息安全散文 国家信息安全认证 营销扣扣软件 信息安全技术pdf 方维制网站 信息安全分级技术 微网站建设 微信营销的特点有哪些 专业的外贸网站建设公司 王老吉的软文营销案例 营销沟通的案例分析 什么是微信社群营销 政府网络安全体系 网站h1国家用网络安全 信息网络安全的第三 泰安网站设计 营销产品定位 微信营销的特点有哪些 营销推介绍 邮件营销数据初步分析 网站和h5 个人网络安全年度报告 滑动网站 网络安全 审计 网络安全检测时间频率 网络营销直通车 网站的营销与推广方案怎么写 中国信息安全研究 信息安全合规性检查 桂林网站建设 网络营销学概论 英雄联盟网站设计 衡水企业网站设计报价 企业博客营销的定位 网络安全病毒逻辑实例 邮件营销推广案例 微信营销的发展战略 信息安全竞赛官网 等保 分保 信息安全工程师 资质 网站建设三站合一 深圳营销策划 卡片式网站 天融信网络安全审计系统 加强信息安全管理 北京高级网站建设 信息安全等同于网络安全 快速设计网站 滑动网站 加强信息安全管理 2017最新网络营销方式 金融网站建设报价方案 软文营销素材 网络营销的基本形式 信息安全红蓝队 第一届360信息安全大赛 网络安全产品的重要性网络安全谷 信息安全竞赛题库 营销推介绍 上海小企业网站建设 营销解决方案 方维制网站 信息工程大学信息安全 公司网络信息安全,-1 王老吉的软文营销案例 诺一品牌营销 媒体营销推广汇总 杭州互联网营销 培训 信息安全 国际会议,-1 微博营销的不足 2016最新网络安全事件 台湾 多层次网络营销 上海小企业网站建设 信息安全 云安全 发展趋势 启明星辰网络安全审计 中国信息安全研究 网站设计费 网络营销免费网站 营销贸易 哈尔滨政务性网站制作公司 优秀网络营销策划书 网站设计费 营销的不足 郑州营销策划培训学校 2014 个人信息安全 营销的不足 网络安全专家:计算机网络安全 媒体营销推广汇总 手机网站建 信息安全红蓝队 上海制作网站的公司 军用信息安全产品认证证书查询 信息安全讲解视频下载 深圳市计算机网络安全培训中心 国家网络安全与信息化 外贸邮件营销系统 中国网络安全等级保护 2016信息安全培训 营销扣扣软件 个人网络安全年度报告 世界各国网络安全 营销观点 广州外贸网站效果 广东省信息安全企业排名 网站的营销与推广方案怎么写 模版建网站 信息安全 实验 网站 哪个大学网络营销 gb t 信息安全 现在手机网站设计 深圳网站建设 独 什么是信息安全包含哪些基本内容 网络营销报告 牛掰网络营销资讯 网络安全服务机构指 王老吉的软文营销案例 昆明网站建设公司郑州市公安局网络安全 9月营销 哪个大学网络营销 网络安全防护设备部署 武汉网站优化seo 营销型网站建设哪里有 上海网络营销 网站建设: 微信营销的特点有哪些 第一营销网 金融网站建设报价方案 信息安全风险管理系统 汽车网络营销策划书 台湾 多层次网络营销 信息安全平台框架