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

<a class="close" href="https://diaochakecom.yaonang.cn/">&times;</a>
广州知名营销策划公司网络安全问题的文章重庆网站建设优化武汉网络安全竞赛美国网络信息安全南宁网站建设找哪家title 网络安全武汉大学暑期信息安全国内营销公司身边的网络营销有那些湖南网络安全企业或许有一天,当你踮起脚尖的时候,你会发现世界都变得广阔了一些。魔妖恶怪、能人异士、超凡科技……随着黑日黑月的出现,这些隐藏在暗中的事物纷纷出现。这里,充满了危机与风险;这里,充满了宝藏和奇遇…… 但我祝天佑注定不是这个画风! 奇珍异宝?我的!灵丹妙药?我的!美人江山?也是我的! 横行天下,靠的是风骚的操作,靠的,也是天神的血脉!一个驻外星小士兵,偶得可以进化的智慧程序,跨入宇宙,逐渐接触到高等级文明,打造高端武器与战舰,血战星海,播撒炎黄民族神威。 本书为纯粹的科幻,预计四百万字,没有狗血剧情,没有打脸公式,仅有不断攀升的战斗智慧与铁血勇气。元始大陆太虚仙尊欲突破成神,但道心受损在最后一步心魔出现生死道消。 但却意外重回800年前高三时期。 且看他这一世如何一步步走向巅峰。超脱仙界成就无敌神位!为人师者,授徒的最高境界就是青出于蓝而胜于蓝。 可李棋不这么认为,因为坑爹的师徒系统,无论是神功秘籍还是法宝丹药……居然全都只有徒弟的份! 教出来的徒弟一个比一个厉害,自己却还是个弱鸡该怎么办? 危险重重的世界,一个没实力的废柴宅男又该怎么自保? 在线等,急! …… 于是李棋想通了,既然自己不能变强,那他就要教出一批可以保护自己的最强徒弟! 收徒法则第一条:天大地大师父最大! 李棋:“少年,你渴望力量吗?那就当我的徒弟吧!”一个人的成长故事仙域女帝姬如霜惨遭暗算,自爆而亡。 机缘巧合一缕神魂转世投胎下界仙朝! 复仇大业未行,却发现隔壁居然还有一个男婴。 “哼,不过是长生路上的累赘罢了。” 可接下来,女帝却发现自己的这个弟弟有些变态。 放弃神药灵液,居然让她觉醒轮回道体! 摸摸自己,居然让她修为翻倍! …… 面对哥哥的无限宠爱,女帝则是羞红了脸。 “哼,雕虫小技!” “复仇当前,本帝怎么可能屈服于这个男人的施舍。” “嗯,神药真香!谢谢哥哥!“大家好,我叫沈峰,拥有来自第七维度的神明系统:贾维斯。留落凡间的风帝之子-林叶天。自己武魂未启被害、妻子自杀未遂被藏、养父离奇意外被杀、养母鬼谷寻子被抓、亲父魔族救人被困、哥哥远走边星被冤... 仿佛这一切都是有人故意针对他设的一个个圈套,为改变人生、解开谜团、报仇雪恨、寻找亲人、解救苍生。林叶天上闯九天万千世界,下入地狱无边苦海... 那些年 有感人的爱情 有动人的友情 有令人心寒的亲情 或是身不由已 或是一时冲动 无论结果如何 那都是自己选择的青春 炽热,火一般滚烫的青春
湖南网络安全企业 品牌营销对企业的意义 网络安全调研队名 武汉网络安全竞赛 app营销推广公司电话 2016网络安全事例 网站线框图 分析网络安全问题有哪些方面 网站新版 网络安全和信息化领导小组 强迫症的症状与诊断【www.richdady.cn】 亲子关系的教育理念咨询【www.richdady.cn】 前世老公的咨询技巧【www.richdady.cn】 外灵干扰咨询【www.richdady.cn】 婚姻生活不顺的案例分享咨询【www.richdady.cn】 邪灵【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份如何影响今生?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的矛盾化解方法有哪些?咨询【微:qq383550880 】√转ihbwel 性压抑的前世因果咨询【微:qq383550880 】√转ihbwel 冤亲债主干扰的常见案例咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 性压抑的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情纠纷的情感咨询咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 暗恋的自我提升【微:qq383550880 】√转ihbwel 灵魂化解的重要性咨询【σσЗ8З55О88О√转ihbwel 头脑混沌的案例分享咨询【σσЗ8З55О88О√转ihbwel 头脑混沌的心理调适咨询【企鹅383550880】√转ihbwel 投资项目的财务规划咨询【www.richdady.cn】√转ihbwel 孩子学习不好的案例分享【σσЗ8З55О88О√转ihbwel 官司的原因分析【σσЗ8З55О88О√转ihbwel 耳鸣的咨询技巧【www.richdady.cn】√转ihbwel 网络信息安全行业企业 品牌营销 作品网站 信息网络安全合格证 网站建设吗 石家庄专业模板网站制作价格 郑州信息安全产业联盟 信息安全等级二级评测 长沙建立网站 全网营销推广如何做 网络营销有哪些劣势 p2p网站建设 湖南网络安全企业 企业营销推广方案 信息安全会议2015 沈阳微网站 乾冠信息安全研究院怎么样 培训班营销 长沙网站托管 整合营销传播的作用 美国 网络安全战略特征 长沙建立网站 上海网站设计开 软文营销的推广技巧 全网营销推广如何做 网络营销有哪些劣势 p2p网站建设 湖南网络安全企业 企业营销推广方案 信息安全会议2015 第8章 网络安全与管理基础 网站推广公司 优化:高效的seo社交媒体和内容整合营销实践及案例pdf 石家庄网络安全公司 信息安全起源 大连公共信息网络安全监察局 石家庄网络安全公司 工信部 网络安全认证 科技网站建设 du网络安全 断网 营销型页面 下列哪个属于常见的网络安全问题 请公司建网站 中科大信息安全学院,-1 营销推广理论 青岛外贸网站建站公司 石家庄专业模板网站制作价格 外贸企业网站 qq邮箱营销方法及管理系统 开源网站系统 上海企业网站建设 国家信息安全等级保护制度第二级要求 被黑网站 培训班营销 企业网站制作设计 网站线框图 赣州网站设计 作品网站 网站建设预览 做个人网站 北京时间网站建设 软文营销的推广技巧 长沙网站托管 信息安全会议2015 上海网站推广 河南省网络安全办公室 信息网络安全合格证 石家庄网站制作 网络安全和信息化领导小组 郑州个人做网站 信息安全 恶意代码 整合营销传播的作用 深圳网站建设设计 qq空间营销 广西网络信息安全峰会 网站建设吗 系统的网络安全 网络安全攻防和web攻防 河南省网络安全办公室 网站推广策略 网络安全管理局 级别 网络营销证 信息安全原理 质询与应答 石家庄专业模板网站制作价格 聊城网站制作价格 网络安全知识有哪些 做个人网站 信息安全原理 质询与应答 郑州信息安全产业联盟 网站制作中企动力 怎么用域名建网站 郑州信息安全产业联盟 南京制作企业网站 国内营销公司 餐饮业的网络营销 搜索营销 培训班营销 上海网站设计开 济南网站制作公司报价外贸网站的建设 信息安全等级二级评测 微博营销的特点是什么意思 信息安全审计讲师,-1 网站推广教程 廊坊设计网站公司 九九建站-网站建设 网站推广 seo优化 seo培训 学校网站欣赏中文 软文营销的推广技巧 长沙建立网站 美国网络信息安全 软营销案例网络信息安全的图片,-1 上海网站设计开 北京网站建设公司案例 南通动态网站建设 网络安全培训方案 信息安全知乎 全网营销推广如何做 网络安全调研队名 网站怎么进入后台维护 数字证书信息安全 信息安全知乎 网络营销有哪些劣势 信息安全 恶意代码 2016网络安全事例 网络营销有哪些劣势 昆明网站设计公司 九九建站-网站建设 网站推广 seo优化 seo培训 网络安全主管部门检查 南京制作企业网站 石家庄网站制作 重庆南川网站制作公司电话 网络安全. p2p网站建设 作品网站 的营销推广措施分析 公司网站域名是什么