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

<a class="close" href="https://74ivdrg.jiee.com.cn/">&times;</a>
网络营销学校网络安全 软件设计网络安全设备应用分析发信息安全吗郑州网站建设、银行网络安全评估报告怎么给网站添加站点统计营销策划类公众号国务院关于大力推进信息化发展和切实保障信息安全的若干意见新的营销新观念人类啊,一个渺小又伟大的族群。他们黑暗,他们光明。他们肮脏,他们神圣。他们愚笨,他们聪慧。他们是诸天万族最大的矛盾结合体。他们诞生过很多让我记住名字的人,那些人比我们更像神明。 —混沌离星域安东神。当危机开始降临时,一个绝对不可能诞生的人能否打破这一局面!虚无与混沌交织后所诞生的究竟是希望还是绝望。 不过,绝望的概率比较大吧 (本书与任何神话体系只存在名词相同。请不要纠结于某一个地方,谢谢)来到历史世界的叶南风,发现和自己想的不太一样。 万道皆修,妖魔横行。 没办法,先苟着吧。 竟意外绑定【儒道成神】系统。 “叮!您创作一首绝品诗,儒道修为+3年。” “叮!您创作一篇绝品词,奖励《天机宝术》。” “叮!您创作一本小说,奖励儒道至宝一件。” 本想一路苟到最强者的叶南风,偏偏被娘子安排科举,还不小心中了状元。 那日。 女帝登基。 叶南风看着女帝错愕不已。 “这不是我家娘子吗?”这个世界是无比的疯狂 沐川七,一个国家的皇子,一个捍卫太平的修士,和他的兄弟胡东,在这伸手不见五指的世界,开辟光明。主角李萧雨穿越到了修仙世界,开启了一番奇妙的旅程(本文内容纯属虚构,请勿与现实生活相联系,请勿在现实生活中模仿,剧情如有雷同,纯属巧合!) 这是校园修仙,但不是一般的校园修仙! 每个人有自己的擅长【科目】,法术技能统统变成了学科名词: 【一般过去时】【乘方】【一次函数】【平面直角坐标系】…… 校园修仙,很校园!仙灵降世,灵气复苏。 妖尊悟空惨被菩提老祖疯狂追杀,重创之际,利用仅剩神力,封锁火星之石隧道,化作一粒记忆碎片陨落…… 百年之后,飞落水球,成为了水球人类的大脑思维结晶,之前历史记录,书籍神话人物,都是该神的记忆,最后徒弟秦记展开了亿年的复仇计划……没有命运,仅有人铺垫出之坎坷道途 没有净土,仅有人开凿出之世外桃园 - 一把王者圣剑,为黑夜带来光明 一个不屈英魂,为世间燃点希望 - 觉醒灵魂,少年鏖战神魔; 暗云涌动,泛起灭世争端! - 光暗冲突,大战一触即发; 人神决战,再写创世诗篇!一个男人的奋斗史,从青春到大叔的蜕变,所有的经历,所有的人和事,都在岁月的漂泊里渐渐沉淀,成长为独立思考的个体!世间的所有都是珍贵,体验过的才最真实。有你有我的影子,在岁月里渐行渐远!乱世之中如何得到和平?这个问题从古至今困扰着所有人,不同的人神,对于和平又有不同的理解,最终谁将为这乱世带来和平的曙光?
网络营销的优点是什么?优秀的网络媒体应具备的条件是什么? 那些层属于信息安全技术 13日中国网络安全大会 信息安全等级测评师证 化妆品手机端网站模板两会 网络安全法 网络营销的优点是什么?优秀的网络媒体应具备的条件是什么? 微信营销的案例分析 网络营销的出发点 网络营销的优点是什么?优秀的网络媒体应具备的条件是什么? 加建网网站 干扰的预防与化解咨询【www.richdady.cn】 升迁障碍的职场突破咨询【www.richdady.cn】 前世今生的神秘故事【www.richdady.cn】 忧郁症的前世记忆咨询【www.richdady.cn】 外灵的种类咨询【www.richdady.cn】 亲子关系的心理建设咨询【www.richdady.cn】√转ihbwel 失业的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子学习不好的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 祖灵的存在形式【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 解梦的方法与技巧【www.richdady.cn】√转ihbwel 投资项目的前世因果【www.richdady.cn】√转ihbwel 事业不顺的职场困境咨询【微:qq383550880 】√转ihbwel 公司破产后的员工安置问题威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的婚姻建议【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 情感心理咨询在线咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 自闭症的康复训练【www.richdady.cn】√转ihbwel 儿子不读书的咨询技巧【www.richdady.cn】√转ihbwel 与公婆前世的因果关系【微:qq383550880 】√转ihbwel 脑部不清晰的症状与治疗咨询【www.richdady.cn】√转ihbwel 网站代运营公司 常用网络营销推广思路 珠海网站设计哪家好 发信息安全吗 银行网络安全评估报告 网络安全 解决方案 2017年信息安全大会 营销产品定价策略 1.什么是网络安全 广州外贸网站效果 太原网站定制 电商网站报价 信息安全的职业 信息安全测评中心 绿盟,-1 网站建设项目 免费营销工具 容易做的网站 金融网站建设 网络安全 软件设计 广州外贸网站效果 国家信息安全认证产品型号证书 按照网络安全等级 营销咨询服务内容 信息安全工程专业兴趣研究报告 信息安全的职业 信息安全等级保护代办 国内信息安全领域 信息安全等级保护代办 网站建设 cms 下载 方维制网站 移动营销有哪些特征 中国信息安全产业联盟 胶州做网站 国务院关于大力推进信息化发展和切实保障信息安全的若干意见 物联网信息安全保护公司 太原网站定制 中华人民共和国工业和信息化部就业指导中心认证网络营销师 网络营销方向学什么不同 专注信息安全 临清做网站 如何成为顶级信息安全 深圳官网网站建设 广州市手机网站建设 信息安全连续性 网站代理维护 互联网营销的好处坏处 信息安全风险评估小组每人了解且熟悉如何对此类文档收集整理 网络安全 系统安全 信息安全 控制点 网络营销能力秀五级网络安全危 seo的网站建设dw建网站 珠海网站设计哪家好 手机短信营销方案 网络安全从业者必读 物联网信息安全保护公司 小米网络营销应用分析 网站外包多少钱 做网站的人 中国信息安全产业联盟 免费营销工具 微信营销的案例分析 绵阳的网站制作公司 信息安全等级保护代办 网络信息安全的范畴 信息安全工程专业兴趣研究报告 信息安全工程专业兴趣研究报告 珠海网站设计哪家好 怎样健网站 免费营销工具 如何自学网络安全 四川大学信息安全,-1 那些层属于信息安全技术 张家口网站建设 网络安全服务攻击 信息安全保障阶段中 制作网站 含有营销字的宣传语 北京信息安全培训机构 网络营销的优点是什么?优秀的网络媒体应具备的条件是什么? 全国信息安全等级保护测评机构推荐目录,-1 上海营销 关于网站设计的价格 购物网站设计 金融网站建设 房地产网站制作 关于信息安全的案例 网络营销总结与分析 深圳互联网营销 信息网络安全协会 成立大会讲话 国家网络安全周竞赛 e-mail营销的内容 1.什么是网络安全 中国信息安全产业联盟 信息安全测试方案,-1 晋城网站建设 网络营销的营销手段 对信息安全的威胁主要包括 网络信息安全大学 金融网站建设 信息安全等级测评师证 深圳官网网站建设 网络安全平台电话 成都网站建设电话 tools网络安全 哈尔滨政务性网站制作公司 信息安全 需求 网络安全 经典书籍 创建网站 深圳信息安全企业排名,-1 成都网站建设电话 临清做网站 重庆专业网站建设费用 信息安全监测中心 专业信息安全服务资质公司,-1 海尔网络营销策略分析 传统市场的营销活动 信息网络安全协会 成立大会讲话 创建网站 信息安全的职业 信息安全保障阶段中 建网站主机 下载免费网站模板下载安装 13日中国网络安全大会 怎么给网站添加站点统计 化妆品手机端网站模板两会 网络安全法 营销咨询服务内容 网站设计流程 e mail营销有何特点 1.什么是网络安全 title:网站制作公司 powered by dedecms 大型网络安全公司排名 信息安全测评中心 绿盟,-1 怎么给网站添加站点统计 传统市场的营销活动 网络安全ver.3