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

<a class="close" href="https://vo7w.nengpi.cn/">&times;</a>
互联网公司怎么营销策划网络营销要学什么区别绿色调网站郑州网络营销课程培训机构网站的比较广东手机网站建设报价2017网站风格信息安全服务体系认证信息安全文章中国网络信息安全峰会万网站建设叶玄,圣界天玄大陆四大宗门之一仙剑宗天赋最强的弟子。当全宗庆贺他突破之时,他走进了师父,仙剑宗宗主任九霄的山峰。 正巧碰见师妹柳雪和仙剑宗有名的废物弟子齐云在和任九霄交谈,他径直走了进去。 过了许久,仙剑峰突发爆炸,等到宗内强者闻声寻来之时,却发现宗主任九霄身陨,叶玄重伤。仙剑宗即刻封锁山门,寻找凶手。九幽。幽深之极地,墟,是一个残破的世界。我要前往那儿,埋葬那儿的魂。卜慧书是一名落魄青年,嗜读书,被人成为“痴疯子”。无意功名,也不近女色。擅长办案,只因在义田获得银指环,上写“雅威”二字。之前襄阳镜湖湖口发现一具男尸,身上并无伤痕,可能落水而死。乡民发现后,就向地保报告了情况。地保请代言人撰写一纸呈文报官,代言人则索取1000两银子作为报酬。地保一则没有那么多钱,二则也不太愿意,故而只肯出200两银子。痴疯子便草草写了一张“镜湖口,发现浮尸一具”的呈文。后来情况如何?代言人如何处置?敬请期待....... 前世一代枭雄,但不料九重雷劫的降临,令其飞灰湮灭。 临终之前,将灵魂放逐在万千世界漂流。 直到这一天,流浪的灵魂终于有了归宿。 现代佣兵周文意外魂穿到民国学生周文身上。他利用穿越带来的一颗佛珠的神奇功能,再加上后世带来的经验、知识和技能。打造了一只武功高强、军事技术顶尖的佣兵团队。 他带领这支佣兵团,历经中原大战、淞沪抗战、称雄上海滩。装备了当世最先进的各种武器,最后投身于伟大的抗日战争中。带着兄弟们杀鬼子......这是一年一度的节日。 人们总是都在这一天相聚在一起,一齐放那花灯,游船。 每个人会在岸上买下一盏属于自己的白灯,上船之后,把它挂在船上。 年年如此,怎知?今年这日,却稍不平静。 岛上的红光,还有那棵树,那又是谁思念的人啊? 阴阳丁真,鉴定为真假 医研丁真,鉴定为脑谭 艺言丁真,鉴定为旧诗歌集吧 演绎丁真,鉴定为野性的美 营养丁真,鉴定为大飞柱 英语丁真,鉴定为Can Can Need 游泳丁真,鉴定为醇醇的溅出 茫茫城市中虽不见我的身影,但每一处地方,都有着关于我的传说。 欢迎观看我的故事,亲爱的来宾和我的动物朋友们。我所以为的自由并不是真的自由,因为在我的每个人生道路前都有那么一个人在推动,事实上我也不确定我接下来走的路会是什么样的,因为,我从来没有真正做主过。一代魔君萧逸枫被迫重生回到过去, 开局喜提战力天花板老婆,我于人间已无敌? 屁!当他说出,仙子,我真是你夫君时,堂堂一代魔君差点没被妻子掐死。 他发誓要重新征服这冷艳美人! 他腹黑,不舔狗,人狠话又多,为达目的不择手段。 对朋友他是完美的化身,对敌人他比魔教还魔教! 一人分饰两角,将幕后黑手的活全抢了! 表面上他是正道天才,背地里他化身魔教新秀搅动天下风云。北靖王府惨遭屠戮,身为世子的御风檀心怀仇恨走上了崛起之路。
响应国家网络安全 目前个人网民的网络安全状况(结合2013年统计报告说明) 什么是020营销模式 我们网络安全等级保护级别 网络安全培训班 我们网络安全等级保护级别 佛山做网站 佛山外贸网站建设平台 模板网站最大缺点 深圳大型网络营销公司排名 如何改善亲子关系?咨询【www.richdady.cn】 邪灵的防范方法咨询【www.richdady.cn】 儿子不读书的教育建议【www.richdady.cn】 学习成绩差的原因分析【www.richdady.cn】 事业不顺的职场提升路径有哪些?【www.richdady.cn】 意外的前世解析咨询【企鹅383550880】√转ihbwel 解梦的梦境解析【微:qq383550880 】√转ihbwel 升迁障碍的职场建议威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子压力大的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 脑部不清晰可能是哪些疾病的表现威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感疏导【微:qq383550880 】√转ihbwel 心特别累的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世记忆恢复技巧【微:qq383550880 】√转ihbwel 精神不振【www.richdady.cn】√转ihbwel 莫名其妙感伤的前世记忆咨询【σσЗ8З55О88О√转ihbwel 莫名其妙感伤的自我提升咨询【企鹅383550880】√转ihbwel 孩子不爱读书的阅读环境咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 有官司的解决方法咨询【σσЗ8З55О88О√转ihbwel 突然过世的原因有哪些威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主干扰的化解仪式【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 网络安全压力测试重庆整合营销哪家好 国内网络安全平台 阿里云 信息安全 东莞市做网站网络信息安全 规范,-1 绿色调网站 网络营销人员职业规划 我们网络安全等级保护级别 信息安全评测标准cc是标准 做网站讯息 江西神州信息安全评估中心 广州外贸营销型网站 网站建设费 网络安全培训班 中国网络安全局图标 拖拽网站 响应国家网络安全 一站式网络营销平台 seo网站系统 公司网站设计与制作 阿里云 信息安全 信息安全管理体系中要素通常包括 网络安全前景2017 2016年信息安全威胁 公司网络安全负责人 网络安全培训班 直播 网络安全 衢州做网站 公司网络安全制度 南宁网站建设教学 天津交通信息安全网 张长河 网络安全 深圳市网络安全公司 四川冠辰网站建设 网站建设费 搜索营销师 网络安全前景2017 网站建设流程 网络营销和普通销售 网站推广报价 北京网站建设公司分享网站改版注意事项 运用政府职能 网络安全互联网营销要学什么软件 广州外贸营销型网站 网站开发中 中山移动网站建设报价 互联网营销 行业简介 网络营销研究调查问卷 昆明网站制作 什么是020营销模式 网络安全国家标准 信息安全风险评估服务人员 河间做网站 旅游业网络营销优势 公司网络安全制度 网络安全系统建设 全网营销的模式有哪些 网络安全大会广州 南京网站制作公司 事件营销的特点是 借势营销案例 移动营销形式包括 网络营销实训课程设计 3g手机网站 响应国家网络安全 网络安全建设与维护 网络安全信息法 网络营销推广哪家好 盐山做网站 网络安全国家标准 什么是整合营销? yes网络安全论坛 网站制作公司 信科网络 网站制做公司 成都公司建网站 济南网站制作厂家 广州建外贸网站 网络营销人员职业规划 网络安全建设与维护 做网站的软件 营销邮件免费模板 四川冠辰网站建设 搜索营销师 信息安全体检要求聊城网站推广 驾呗信息安全吗 团购网营销 信息安全技术 会议 网络营销外包推广服务商 网络安全压力测试重庆整合营销哪家好 2014 信息安全会议 广东营销网站建设服务公司 网络安全具有很强的 龙岗网站设计机构 网站制作公司 信科网络 搜索引擎营销的发展历史 网络营销策划案例 网络安全 ctf 系统信息安全等级 西安高端网站制作公司哪家好 网络营销实训课程设计 部门网站建设 网站开发制作 绿色调网站 网站制作 武汉 信息网络安全监察工作 衢州做网站 饮料创意营销策略 网络安全与基础pdf 系统信息安全等级 学校病毒营销方案 网络营销的初级职能是 北方明珠网站建设 营销型网页 青岛网站建设找 南宁做网站 网络安全事件处理案例 互联网营销工具有哪些内容 信息安全文章中国网络信息安全峰会 北京网站建设公司分享网站改版注意事项 安阳做网站 怎么学网络营销整合 深圳大型网络营销公司排名 目前个人网民的网络安全状况(结合2013年统计报告说明) 营销的宏观环境 网站开发制作 建网站首页图片哪里找 互联网营销工具有哪些内容 网络营销o2o 服务好的微网站建设 信息安全犯罪事件,-1 2016年信息安全威胁 响应国家网络安全 网络安全大会广州 佛山做网站 珠海集团网站建设 网络营销人员职业规划 佛山外贸网站建设平台