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

<a class="close" href="https://yenv.upjay.cn/">&times;</a>
四川互联网营销策划实战全网营销是干什么网站费用手机微信一体网站建设网络安全管理员 二级杨卿+网络安全公司网站设计与制作四川互联网营销策划实战全网营销是干什么杭州 平台 公司 网站建设网络安全公司有哪些网络营销与马云如果看小说累的话,就来看看诗吧,偶尔写写小诗,偶尔让生活多些浪漫又名绝剑天下 双晶大陆上的神秘组织 神奇星球上的残酷战争 少年身怀绝技 书写磅礴传奇重生之路不平坦,上辈子的遗憾太多,这辈子让我们重新出发,从2002开始,一手拥抱财富一手拥抱感情现代反赌专家穿越到大明,睁眼便是生死局,满街皆是花样赌! ?骰宝、牌九、叶子戏,走狗、斗鸡、蛐蛐乐! 偷天换日、飞云探龙、?海底捞月、天外飞仙? ?林萧笑了:过家家的把戏,也好班门弄斧?要说起出老千这档子事,我会的远比你们梦寐以求的多得多! 江南某县级市。80年代,三对婴儿被罪恶之手调换。30多年后,作恶之人良心发现,密信相告,掀开三对六组家庭的命运纠缠。亲生与养子(女),孰优孰次,孰亲孰疏;六子(女)之间的命运冲突;怀疑不是己出的丈夫,嫌弃儿子不像自己的父亲;深爱的人因为身世忽曝而不能……命运,总有偶然因素介入,或谓之注定;但怀良善之心,富热爱生活之情,立贡献社会实现自身价值之志,总能站到人生和社会的巍然高度——从这个意义上,本小说演绎了80后追求人格完善和事业成功的感人故事,他(她)也是新一代的社会中坚,具典范和学习意义——当然,没有说教,是情节精彩、故事动人的形象思维。蝶恋花,恋着花得美,暗香一夜的孤寂,层层锁住久别的思念。这柔情,却难似水,人不在是当初的人,魂不在是当初的魂,物是人非,万般纠葛的三世情结,随着考古队的深入,一步步走进真相。东阳的九菊一派,因谁而诞生。千年九尾又为谁落下最后一滴血泪......情有千千结,一世浮萍,一世繁华,一世凄凉......全人类都没想到,一场突如其来的灾祸,部分人类消亡,文明和科技倒退,全球走向末日时代,世界格局重新洗牌,不再有国家的界限,而是被几大区所代替。 在这个末日新世界,人人在自保,人人都在自救,而此时一个叫做肖章的青年从最贫困的第三无人区走出……穷困潦倒、整日以吃泡面、上网吧度日的小保安司马囧在经历过一次次社会的毒打之后(被等待了三年的女神当众羞辱、被发小兄弟背叛变得一无所有),终于生无可恋,准备以连吃二十碗方便面从而撑死自己的方式结束自己的生命。却不想在弥留之际遇到祖先司马懿,并获得重生,还获得世代侍奉司马家的三百死士相助。 获得重生的司马囧先将这三百死士安排进厂赚取返费,获得人生第一桶金。 这次,他能否获得新生,拿回自己渴望的一切? 仗剑随风行,斩仙问九州。 一剑诛恶,一剑镇魂。 吾携剑与风行,屠尽天下不公! 一剑断念,一剑开天!人人都有一死,这是终极宿命吗?死亡成为每个人命运的枷锁,能破解吗? 一个风流浪子回转奔向永生之路的故事!
营销外包效果 网络营销之微信 企业 网络安全 案例分析 信息安全 863 网站制作公司 番禺 信息安全公开课 burp 网络安全题目 忻州做网站 如何建一个网站 电子科技公司网站网页设计 与女友前世的前世案例咨询【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 心特别累的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世老婆的前世案例【企鹅383550880】√转ihbwel 升迁障碍的职场突破【www.richdady.cn】√转ihbwel 公司破产的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的父亲的影响分析【σσЗ8З55О88О√转ihbwel 去世的父亲的前世故事【企鹅383550880】√转ihbwel 内心恐惧胆怯的自我提升【www.richdady.cn】√转ihbwel 自闭症的康复训练【微:qq383550880 】√转ihbwel 前世老公的前世故事【微:qq383550880 】√转ihbwel 强迫症的环境影响【企鹅383550880】√转ihbwel 武汉新公司做网站 网络营销网上营销 信丰做网站 网站设计说明书 网络安全现状与问题 企业 网络安全 案例分析 美国网络营销人员工资 忻州做网站 网络安全大赛 网站费用 白山网站建设 网络安全展览会 ppc营销 信息安全等级保护 年限 信息安全逆向和渗透 信息安全产品 网络营销之微信 网络营销文章 sns社区营销案例万州网站建设 网站建设周期 企业网站建设目的 沂水网站优化 营销型网站建设 2014信息安全竞赛题目 信息安全等级证书 公司网络安全管理方案 网络安全公司有哪些 dnc网络安全 互联网营销目的 昆明响应式网站制作 网络营销的价值在于 潍坊网站建设公司推荐 国家推进网络安全服务体系建设方案 潍坊网站建设公司推荐 网络安全从业人员 国家什么部门负责网络安全 重庆营销型网站设计 线条类网站 重庆网络营销哪家好 大同网站建设 信息安全政策文件 门户类网站费用 网络安全的攻击报告 网站设计说明书 做网站实验体会 重庆网络营销哪家好 信息安全公开课 网络安全法 等保 网站费用 寻找石家庄网站建设 美国网络营销人员工资 怎样创网站 微信营销软件推广 中央网络安全管理小组 企业网站建设目的 信息和网络安全 网站推广报价 佛山网站建设的首选 杨卿+网络安全 sns社区营销案例万州网站建设 合肥网站设计高端公司 可信网站认证 铁人三项信息安全大赛 信息安全政策文件 jquery html5响应式手机网站左侧弹出导航菜单代码 沂水网站优化 新乡网站建设 找柳市做网站 线条类网站 三零信息安全有限公司 泰安网站建设公司 国家信息安全一级认证 微网站建设资讯 企业 网络安全 案例分析 ppc营销 唐山网站托管 网络营销文章 泰安网站建设公司 新媒体营销手段有哪些 客户信息安全管理体系,-1 深圳自适应网站制作 天融信网络安全准入 佛山网站建设的首选 营销外包效果 营销型企业网站建设教案 信息安全产品 阿里巴巴 信息安全,-1 企业 开展信息安全业务,-1 北京国际互联网科技博览会暨世界网络安全大会 网络安全大赛 网络营销与马云 网络安全手机可视化 网络安全 华为 成都网站设计制作工作室 网络安全现状与问题 微网站建设资讯 网络安全常见病毒 漏洞 网络安全测试标准 安全牛 2016网络安全 网站建设周期 三零信息安全有限公司 潍坊网站建设公司推荐 信息和网络安全 内容营销的模式 企业手机网站建设策划方案 网站制作公司 番禺 企业网站模版 信息安全奖学金 网络安全与认证大型门户网站建设 建网站的公司哪家好 dnc网络安全 burp 网络安全题目 2014信息安全竞赛题目 2014信息安全竞赛题目 丹东网站建设 如何建一个网站 关于企业信息安全的文章,-1 福建省信息网络安全搜索引擎优化和搜索引擎营销 网络安全展览会 当前php环境关闭了文件上传功能网站将无法上传图片和文件 忻州做网站 云网站系统 网站设计说明书 打赏营销 怎样创网站 网络安全 华为 信息安全等级保护 年限 dnc网络安全 信息安全事件 手机网络营销普遍问题 响应网站 营销建站 么尚产品营销方案 铁人三项信息安全大赛 企业 开展信息安全业务,-1