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

<a class="close" href="https://ejb.yunshanhe.cn/">&times;</a>
展示型网站制作服务企业网站适合响应式嘛企业网站适合响应式嘛网络安全防护系统电信手机网络安全设定网络安全领域 证书信息安全工程专业兴趣研究报告河北公司网站制作设计银行信息安全建设互联网 网站建设陈晨穿越到平行世界,觉醒娱乐系统,成为娱乐顶流。 本以为从此数钱数到手抽筋,系统却加以限制。 在捐够100亿之前,他每个月只能领到2000块的生活补助。 网友们惊奇的发现, “版权费几百万,陈晨居然还住在这么破的小区?” “跟女星一起出去,陈晨竟然请她吃地边摊。” “陈晨吃泡面他连火腿肠都不加!” 某天,捐款被发现,网友震惊。 “我们学校的晨曦楼居然是他捐的?” “振州特大暴雨捐了2个亿的居然也是他?” “原来,陈晨这么节俭只是为了做慈善。” 网友直呼,陈晨这明星真能处,有钱他是真捐啊。改编自逃跑吧少年网络游戏。失忆的少年从荒野中苏醒,就被陌生人追杀。揭开往日的真相,探求星球的秘密“你相信吗?从出生起,你的命运既已经注定。上天已经注定你是失败者,不但永远在那人之下,最终身死道消。 人生模拟器,可以改变你既定的命运,你值得拥有。” 跟随花果山猴王身后一起出海寻仙的六耳,身边不断响起这样的声音。 在海面上漂浮了很久,六耳猕猴看着天空当中不断压低的阴云怒吼,&amp;quot;我不相信命运!!!&amp;quot; 本书又名:《六耳猕猴的人生模拟器》、《妖猴哪里逃》一场突如其来的变故席卷全球,远古的“神”苏醒,人类陷入了死战。最终人类战胜了“神”。200多年后,“神”卷土重来,秘武-血君子 重现,有个注定的人,将拿起它,走向诛神之路。本书一切内容纯属虚构,剧情以小说世界观为准,设定和现实世界有一定差异性。 这是一部战争向的科幻作品,这里描绘了人类的发展历程。 在黑暗的星空之中,在利益与道德之间,人类该作何选择? 面对比自己弱小的原始文明,亦或是强大的奇迹文明。 加入,守护,掠夺,进攻。 联合舰队,启航! 鸽子进化成不那么鸽的鸽子了!尽量一天一更。 本书是原创世界观,世界观很庞大所以需要大量时间来概述。 这本书讲的不是一个人,而是一个世界。安云凡身份成谜,师承玉青子,成为道门第一天师,一路斩妖除魔维护人间,在历劫后知道自己真实身份的他将会如何选择?是继续秉承自己的道心还是?天武大陆,宗门林立,武道昌盛,丹道却毫无起色,于是就有了一个人,一群朋友,开辟丹道,逆武巅峰的故事。叶墨带着记忆重生,来到了明朝,只是这里却和想象中不太一样。 在这里,有江湖 在这里,有权谋 在这里,有恩怨情仇 在这里一切的一切都将重新开始。在这崭新的大明中,且看叶墨如何书写自己的奋斗史。穿越到玄宁大陆,发现自己的金手指就是能够捡取各种属性。 从此,玄宁大陆多了一个捡取属性就变强的家伙。 【生命值+100】【力量+100】【修为值+100】【体质+100】【精神+100】【混沌血脉+1】【万剑诀+1】【神瞳+1】...... 修炼是不可能的,这辈子都是不可能的,实力不够,多捡点修为值就突破了。 你跟我说力量强,看我一拳如何锤爆你。 别说你的速度强,我的速度属性都破万了,不用身法你都追不上。 蛮族:“这个玄宁太变态了,防御这么强,还怎么打?” 古族:“他到底什么血脉,为何能够融合这么多强大体质?” 风族:“快跑,这个玄宁要追上来了。” 陆然继承了爷爷的遗产杂货铺,发现可以跨越两界,地球和玄幻世界。   玄幻世界灵气稀薄,物资匮乏,但修炼体系完善,地球灵气浓郁的可怕,却没多少人修炼,修炼体系更是一塌糊涂。   随便带过去一株中药去玄幻世界,都是人人疯抢的天材地宝。   玄幻世界不值一提的功法,法宝,拿到地球,都是顶级的。 依靠两界的物资差距,陆然迅速修炼,并发家致富。
电器网站建设 重庆产品网络营销推广 国家网络安全宣传周活动名称 日本网络安全技术 深圳市信息安全协会 成都网站编辑 网络营销传播渠道研究 长沙建网站 深圳企业网站建设公司排名 俄罗斯 信息安全中心 家庭关系咨询咨询【www.richdady.cn】 婴灵的感应现象【www.richdady.cn】 亲子关系的共同成长方法有哪些?咨询【www.richdady.cn】 儿子抑郁症的治疗方法【www.richdady.cn】 提高情商的方法咨询【www.richdady.cn】 祖灵【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心特别累的环境影响【www.richdady.cn】√转ihbwel 事业不顺的职业规划如何制定?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的故事解析【微:qq383550880 】√转ihbwel 前世缘份的轮回续缘【www.richdady.cn】√转ihbwel 忧郁症的案例分享【企鹅383550880】√转ihbwel 冤亲债主干扰有哪些常见症状?【微:qq383550880 】√转ihbwel 暗恋的咨询技巧【微:qq383550880 】√转ihbwel 不爱读书的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子不爱读书的心理分析有哪些?【www.richdady.cn】√转ihbwel 孩子不爱读书的家长引导方法有哪些?【σσЗ8З55О88О√转ihbwel 大龄剩女的婚恋经验有哪些?咨询【σσЗ8З55О88О√转ihbwel 冤亲债主的干扰案例【微:qq383550880 】√转ihbwel 精神不振的环境影响【微:qq383550880 】√转ihbwel 灵魂化解的步骤【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 信息安全工程专业兴趣研究报告 什么是外贸营销体系 台州做网站seo 阜阳建网站 网络安全防护系统 四川网站制作哪家好 国家召开信息安全会议 纵深防御原则 网络安全 建国外网站 公司网站设计案例 建设公司网站的重要意义 网络营销托管 移动营销有哪些特征 网络营销传播渠道研究 景安网站 wifi网络安全审计 信息安全工程专业兴趣研究报告 什么是外贸营销体系 台州做网站seo 信息安全测试方案,-1 实战营销型网站建设 纵深防御原则 网络安全 网站解决方案 网站建设金 上海营销 网站设计流程 小米网络营销应用分析 什么是网络安全宣传周 无锡网站建设 微信 查流量网站 大安市网站 西安市做网站 信息安全的职业 2016年网络安全大事记 ppt百草味市场营销战略 加强网络安全意识 实战营销型网站建设 西安做网站的公司 信息安全笔试,-1 常用网络营销推广思路 购物网站建设公司 展示型网站制作服务 北京做信息安全的公司排名 考研网络信息安全 维护信息安全主要保持 建立微网站 信息安全加大监管信息安全的组织机构 泰安网站建设公司 产品网络安全 南宁做网站找哪家公司 建网站主机 网站建设公司营销推广 暖色调网站 全套北大青鸟网络营销视频教程网站推广seo优化百度排名竞价sem 桂林网站推广 2012信息安全事件 网站更新后为什么不显示 瑞星网络安全工程师 牡丹江网站建设 网页是网站吗 网站营销公司简介 网络安全模式下 有限的访问权限 网络营销外包 陌陌广告营销 购物网站设计 上海营销 网络营销方向学什么不同 如何用网络营销找工作 移动营销有哪些特征 国家信息安全 检测 西安做网站的公司 什么是网络安全宣传周 2012信息安全事件 中国网络安全公司招聘 深圳市信息安全协会 建网站主机 北京市网络安全局电话 网络营销托管 个人适合建什么网站 西安网站空间 成都网站编辑 网站建设金 大规模网络安全态势感知 全套北大青鸟网络营销视频教程网站推广seo优化百度排名竞价sem 网站更新后为什么不显示 信息安全资质证书等级,-1 全套北大青鸟网络营销视频教程网站推广seo优化百度排名竞价sem 北京市网络安全局电话 全网营销服务专家 产品网络安全 中国科学技术大学信息安全测评中心 网络营销平台分析 焦作建网站 建立网站需要多少钱 seo的网站建设 2017优秀网站设计案例 epr营销 最先进的网络营销 台州做网站seo 制作一个网站步骤排版 网站建设公司营销推广 常用网络营销推广思路 企业网站建设技 信息安全加大监管信息安全的组织机构 信息安全的职业 建立微网站 纵深防御原则 网络安全 北京展览馆 网络安全日 网络营销外包 选手机网站 中国网络安全公司招聘 装修企业网站网络营销 审计网络安全 2016网络安全案例分析 选手机网站 郑州网站托管 电信手机网络安全设定 长沙建网站 购物网站建设公司 建设公司网站的重要意义 免费做外贸网站 微信营销案例分享企业网络安全案例分析 最先进的网络营销 成都网站设计制作工作室 网络安全防护系统 iis应用程序池自动回收内存---解决网站运行一段时间速度变慢 信息安全技术包括哪些主要技术 大安市网站 泰安网站建设公司 做网站的人 网站解决方案 做网站平台的公司 需要郑州网站建设 深圳网站建设外包公司 互联网 网站建设 小米网络营销应用分析