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

<a class="close" href="https://ryk.jieng.cn/">&times;</a>
湛江网站制作自助建设分销商城网站公安部信息安全 中心河南网站优化互联网 和 网络营销营销邮件具体案例网络安全职位想建网站信息网络安全工作想建网站陈今误入异世江湖,竟身不由己成为了武林公敌,神秘玉佩隐藏的秘密是引发这场江湖纷争的诱饵,而到底谁才是那个幕后布局之人......作品《敲开幸福的大门》,通过抑郁病患者老秦住院治病,揭示了现代人,由于生活、工作压力大,身体处于亚健康,直至患病,给家庭带来困难。提醒人们,要生活乐观,想方减压,敲开幸福生活的大门。先秦时期,中原武林出现了许许多多的门派,每个门派内有分内家弟子与外加弟子。内家弟子修炼本门派的内功心法,外家弟子则修炼刀枪剑戟斧钺钩叉鞭锏等十八般武器。 门派之间杀伐不断,直到始皇帝统一天下之后,各门各派又联合起来与始皇帝创建的大秦帝国对抗,最终引起了始皇帝的愤怒,随机下令丞相李斯一个一个的灭门,最终把每个门派的内功心法全部焚烧,内家弟子全部坑杀,只留下了部分外家弟子为朝廷效力。 始皇帝驾崩之后,部分内家弟子陈胜吴广等人侥幸逃过李斯追杀的又纷纷带头反抗帝国,最终给了大秦致命一击。 我们的故事就在千年后的唐帝国开始来到历史世界的叶南风,发现和自己想的不太一样。 万道皆修,妖魔横行。 没办法,先苟着吧。 竟意外绑定【儒道成神】系统。 “叮!您创作一首绝品诗,儒道修为+3年。” “叮!您创作一篇绝品词,奖励《天机宝术》。” “叮!您创作一本小说,奖励儒道至宝一件。” 本想一路苟到最强者的叶南风,偏偏被娘子安排科举,还不小心中了状元。 那日。 女帝登基。 叶南风看着女帝错愕不已。 “这不是我家娘子吗?”君若离去,我必生死相随,来生再相依相爱,这是一个悲惨的故事,主角上官云飞幼小父母双亡,家族毁灭。在叔叔的照看一直一路崛起,你以为他会一路高歌,却没有想到天有不测风云,主角遭受挚爱背叛,从此一撅不振……漆黑的星空,闪烁一丝亮光,古朴的令牌从天边划落.......法斯特从霍格沃兹毕业后与自己的好友鲍克斯、兰一起探险魔法世界。当一行三人探索魔法古墓时,兰受到了护陵诅咒。这种诅咒非常残忍,当被诅咒人三十岁时就会自燃化为灰烬。鲍克斯和法斯特走遍大街小巷,黑林深处却都无功而返,唯有求助魔法部的帮助,故事便从这里开始……在这个世界里,跨界石,是一种神奇的东西。相传上古时期,轩辕姬得之,拥有掌控南北两极之能,所以控磁场,造司南。大禹得之,拥有排山倒海之势,所以治江海。? ?...... 而觉醒职业和灵器,是这里每人都渴望的事。 雪擎,一个被祝福和诅咒同时缠上的少年,即将开启一段传奇之旅...... ?销锋镝者,铸剑为犁,宇内咸安也。有人问顾震“巨霆败慕容霸于淮北,擒陈祺于朝堂,灭荀澈之大景,讨浦健于关陇...破北平南,信义素著,天下云集响应,三徙成都,所图者何?”答曰:“惟愿河清海晏,时和岁丰,人不独亲其亲,不独子其子,为天下人之天下,为大道攸行,永矢弗谖也。” 方正是地府的阴差,负责接引怨魂。有一天白无常让方正开展直播业务,普及地府阴差工作不易。承诺只要方正好好干,就把女儿许配给他。方正很快在地府混的风生水起,脚踩十大阴帅,并肩十殿阎罗。 直播间里:“死都死了,还叫唤呢,你是真没见过地府黑社会啊。”“哥们,下辈子小心点,刷牙别那么用力。”“你这死相也太惨了,能打一下马赛克吗?”
河南省第二届信息安全 电子商务网站建设资讯 广州手机网站定制如何 网络安全法案 简述网络安全扫描的内容? 瓦房店营销课程培训班 手机网站制作 网站背景音乐 悬浮滚动的网站jquery在线qq客服咨询代码 有6套皮肤可选 国家开放大学信息安全学院 外灵的种类咨询【www.richdady.cn】 解梦的自我提升【www.richdady.cn】 自闭症的前世因果咨询【www.richdady.cn】 婴灵的化解仪式【www.richdady.cn】 缺心眼的前世记忆【www.richdady.cn】 升迁障碍的解决方法咨询【www.richdady.cn】√转ihbwel 大龄剩女的幸福指南有哪些?咨询【σσЗ8З55О88О√转ihbwel 存不住钱的自我提升【微:qq383550880 】√转ihbwel 头脑混沌的前世记忆咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 缺心眼的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 人际关系不好对工作的影响【企鹅383550880】√转ihbwel 发育倒退【微:qq383550880 】√转ihbwel 孩子不爱读书的家庭教育方法有哪些?咨询【www.richdady.cn】√转ihbwel 如何判断自己是否被冤亲债主干扰?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 官司的解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 官司【www.richdady.cn】√转ihbwel 事业不顺的应对策略咨询【微:qq383550880 】√转ihbwel 精神不振的前世记忆【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与老公前世的记忆解析咨询【微:qq383550880 】√转ihbwel 前世今生的咨询方式威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 国家信息安全管理体系审核员 营销认证 认识网络营销调查的基本方法是 营销人优点 龙岗网站建 南宁专业网站制作设计 APP营销特点 江苏网站建设网络公司 企业网络安全规划方案 网络信息安全预警 信息安全培训专业 网络安全专家咨询电话 网络挺营销基本概念 网络安全职位 关联体验营销 信息安全违规案例分析 服务营销的利弊 个人手机版网站建设 个人微信营销方案 信息安全检查通报,-1 深圳信息网络安全培训中心 南宁专业网站制作设计 APP营销特点 江苏网站建设网络公司 企业网络安全规划方案 网络信息安全预警 信息安全培训专业 网络安全专家咨询电话 网络挺营销基本概念 网络运营与网络营销 南宁专业网站制作设计 中国亚马逊营销的优势 淘营销首页 无人机网络安全 国外的网络营销论坛 网络营销专业好就业吗 重庆微信网站开发公 网络安全的基本特征有 信息安全培训专业 成都专业信息安全服务 网络信息安全专题教育 2014年网络安全市场 高校 网络安全 研讨会 网络安全讲竞赛 讲话信息安全专业专科学校 青岛网站建设公司影音微营销 分栏式网站 病毒式营销案例 教委高校网络信息安全 网络安全攻击 平台 网络挺营销基本概念 深圳市网络安全公司排名 青岛网站 个人手机版网站建设 网络营销与消费心理 网络信息安全攻防赛 网络安全业务资质 信息安全检查通报,-1 网络信息安全专题教育 信息安全市场 杀毒软件,-1 信息安全类小型软件开发实列 分栏式网站 河北网站设计制作 网络营销与消费心理 营销意义 网络信息安全中宣部 淄博网站建设相关文章 电脑无网络安全 2017全球网络安全事件 武汉网站建设 网站背景音乐 B2B网络营销难点 网络信息安全中宣部 网络推广营销公司排名 国家开放大学信息安全学院 营销认证 自助建设分销商城网站 湛江网站制作 中国信息安全管理机构,-1 郴州网站建设公司 交互式网站 个人微信营销方案 企业网络安全 ppt 手机网站制作 网络安全 请示 推广及建设网站 广州手机网站定制如何 服务营销的利弊 武汉信息安全网org,-1 核电信息安全入侵 在内网部署漏洞检测服务器(或安全扫描设备)及时发现网络安全漏洞; 郴州网站建设公司 个人手机版网站建设 网络安全态势感知 厂家 网络营销工程师教材 营销意义 南阳专业网站建设 制定网络营销定价方案 网络安全技术实训报告 网络危机公关营销案例 APP营销特点 网站公司成功案例怎么写 网络营销运营中心 建网站都要什么费用 制定网络营销定价方案 信息安全技术 交换机安全技术要求,-1 公安部信息安全 中心 淄博网站建设相关文章 网络安全法案 网络软营销 网络信息安全攻防赛 文库营销是什么意思 网站设计文档 汕头建网站 国家领导人重视网络安全 太原做网站 深圳市网络安全公司排名 数字证书 网络安全 便宜的网站设计 中山网站建设找丁生 英文网站推广 加家集是什么营销 成都网络整合营销服务 无人机网络安全 推广及建设网站 北京搜索引擎营销策划 营销唐玮 南阳专业网站建设 河南省第二届信息安全 信息网络安全工作 网络安全基础知识 网站设计风格化上海信息网络安全备案 中国亚马逊营销的优势 2016年 315 信息安全 制作自己的网站 房产全民营销app是什么意思