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

<a class="close" href="https://cmi1q.xozu.cn/">&times;</a>
营销综合实践教学平台网站建设 趋势良好的网络安全上海银基信息安全技术网络营销可以吗春秋网络安全优质公司网站网络安全资质小红书营销活动网络信息安全犯罪案例,-1无敌于世,谁主沉浮,看风华少年,都市纵横。孙小圣穿越到西游世界,化身孙悟空。 不做取经工具人,发誓绝不闹天宫。 牛魔王:贤弟,我们打上天庭,平分三界。 孙小圣:你竟敢对天庭不敬,我同你恩断义绝! 系统:拒绝大闹天宫第一次,奖励混沌先天至宝【噬魂枪】! 玉帝:那个猴子怎么还不来闹天宫,西方来敦促三次了。 众神:陛下,那个孙悟空,已经成圣了!千万,别让他来了!XX年间,天下大乱,群妖四起,官兵横行,百姓民不聊生。 天上众神,心疼百姓,特派紫微星下界,斩妖除魔,匡扶正义,救黎明于水火。 紫微星领命,下到人间,化身一名女子,隐居山间,观察人间百态,看遍民间疾苦,可悲可叹!世纪之末,资源匮乏,经济崩盘,各国剑拔弩张,即将展开世界大战,变故突如其来。 世界各地突然出现各种各样大小不一的漩涡之门,经过部分胆大之人的探索,发现它们通往不同的异世界,与此同时,人群中开始出现许多觉醒各种能力的人类,他们有的会喷火,有的会飞行,还有的会眼放激光。 拥有能够获得神奇物品和能力的他们成为了探索异世界的主力,世界的格局也因此发生变化楚煜穿越至平行世界,成为了一个扑街带货主播,开局带货老谭酸菜。 楚煜:“各位老铁,看见了嘛,这酸菜腌制入味,香气扑鼻,比主播的女朋友还香啊!” 吧唧一口。一股臭袜子味直冲楚煜脑门,对他的大脑造成了250点暴击伤害! “呕!” 楚煜要吐了,心里吐槽:我踏马吃的是酸菜还是臭脚袜子?! 商家发来威胁信息:“吐尼玛!赶紧给劳资憋回去!否则你一毛钱都拿不到!” 楚煜硬着头皮开始扯淡:“这……这酸菜是真的香啊……” 香……香尼玛! 楚煜怒了。 “呸!这劣质酸菜,狗都不吃!” “黑心商家,劳资要举报你!” “我,楚煜,就是赔掉裤衩,也不会做你的黑心买卖!” 系统直呼:哇!这主播够老实,当我的宿主叭!为了男人的承诺,萧晨强势回归,化身美女总裁的贴身保镖,横扫八方之敌,谱写王者传奇!   他——   登巅峰,掌生死,醒掌天下权,醉卧美人膝! —————— 小舞的微信公众号:寂mo的舞者,可以去关注哦! 小舞的QQ:1589045849,可以去加好友! 唯舞独尊①群:545765633!   当神话出现,失落的种族重新出现在这片大陆灵气入体,滋养四肢百骸;魔晶融合,震动百里山河。 心念一动,可风起云涌;振臂一呼,可天翻地覆。敢叫沧海变桑田,敢叫日月换新天。 茫茫的“东华大陆”是修真者的世界,但是,修真者的数量却少之又少,大陆上生活着的主要还是普通人。除了人类,大陆上一直没有还能修行的生物,直到那件事情的发生……虚镜、灵镜,主人公虚灵从太虚大陆开始生活、修练、强大,经历过欺骗、伤害,一切一切的过往、经历让主人公虚灵战胜一切、克服一切,直到战在虚镜、灵镜之巅,才发现原来的一切也只是一场梦。写作总是没有头绪,思考较多,写作较少。 不爱学习,很难接受难以理解的新鲜事物。 刚开始写作,以为万事开头难。 后来发现,简直是步步难,一步一重天。 对于喜欢看书多一点的我,写作实在没有什么才情和耐心。 游戏只是游戏,游戏也是工作,除非是竞技类游戏。 小说只是小说,现实谁有空看小说,也许是我看久了小说,觉得没有什么趣味了。 日有所思,夜有所梦。梦只是梦,生老病死,信则有,不信则无。 构思、构思、构思。码字、码字、码字。 一大波小说正在靠近……选取,试读,下载,废寝忘食的读,有选择的观看。 是为观后感,心中所想,化为梦的翅膀。在自由的天地间翱翔…… 重生即为重来,再活一世。穿越即是交换人生,体验不同人生。 拿什么做比较才算贴切,就这双红色唯一的高跟鞋。
网络安全资质 郑州网站设计专家 政务网络安全 企业网站建设公司郑州 网络信息安全犯罪案例,-1 上海做网络安全的有哪些公司 网站内容 中国联通 网络安全 郑州网站优化推广 网络营销的实践应用智慧城市 网络安全建设 去世的父亲的影响分析咨询【www.richdady.cn】 心慌胸闷头晕的环境影响【www.richdady.cn】 前世缘份的咨询技巧咨询【www.richdady.cn】 改善亲子关系的技巧咨询【www.richdady.cn】 婴灵的超度与心理安慰咨询【www.richdady.cn】 与男友前世的前世解析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的化解方法【www.richdady.cn】√转ihbwel 祖灵与家运的关系【企鹅383550880】√转ihbwel 升迁障碍的咨询技巧咨询【微:qq383550880 】√转ihbwel 孩子压力大的案例分享咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵对家庭关系有哪些影响?【企鹅383550880】√转ihbwel 纠纷咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 如何超度婴灵?咨询【企鹅383550880】√转ihbwel 心特别累的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 长尾词咨询【www.richdady.cn】√转ihbwel 大龄剩女的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何避免生活中的意外咨询【微:qq383550880 】√转ihbwel 冤亲债主的干扰与化解技巧【企鹅383550880】√转ihbwel 公司破产的案例分享【企鹅383550880】√转ihbwel 孩子不爱读书的阅读环境【σσЗ8З55О88О√转ihbwel 国家网络安全周 文件学习 沂水做网站 营销导向企业网站策划 佛山做网站格 网络安全 汽车 网站建设营销技巧 洛阳网站建设 东莞销售网站设计 cc标准 信息安全 营销竞争 信息和网络安全会议 网络安全技术机试 企业网站建设公司郑州 春秋网络安全 已有域名 搭建网站 网站建设设计 为企网站 家电营销策划 北京做信息安全 无锡微信网站 网络营销编辑方向 概括 病毒营销特点 网络安全技术机试 优质公司网站 网络营销可以吗 杭州营销型网站 陈舒 福建省网络与信息安全测评中心上海高档网站建设 家电营销策划 从重大事件看网络安全形势答案 湘西网站建设 重庆本地网络营销平台 中国信息安全测评师 营销建立信任的办法 idc网络安全报告 信息安全通告 沈阳建设公司网站 上海信息安全???生招聘 信息安全等保三级标准 紫网站建设 sns社区营销案例 春秋网络安全 信息安全测评机构的资质认定主要有 公需 4p服务营销理论 营销导向企业网站策划 信息和网络安全会议 网络营销可以吗 潍坊网站建设服务商 网络安全 北邮 东莞销售网站设计 4p服务营销理论 网站建设营销技巧 卓进网站 网络信息安全犯罪案例,-1 微信网页版信息安全吗 重庆本地网络营销平台 达内网络营销有用嘛 网络安全检测评估报告 搜索引擎营销顾问 网站建设方案书 网站模仿 网络安全招生 已有域名 搭建网站 惠普网络安全密钥多少 什么是互联网新媒体营销策划 网络营销编辑方向 西安微信营销推广公司 idc网络安全报告 网站建设营销技巧 网络营销策略翻译 网站内容 达内网络营销有用嘛 2016年网络信息安全 什么是互联网新媒体营销策划 网络安全公司的前景 微信营销的目的 商务网站制作公司 山东企业网站建设公司 为企网站 云计算信息安全公司 网站视觉 网站建设设计 广东外贸网站建设 信息安全管理的原则 开展网络安全 常州集团网站建设 常州集团网站建设 山西网站制作公司哪家好 洛阳做网站 营销竞争 四川大学网络安全专业 优优营销软件 中国加强网络安全 洛阳网站建设 南和邢台网站制作 网络安全服务商 网络营销的实践应用智慧城市 网络安全建设 佛山做网站格 互联网营销领域的公司 信息安全意识动员讲话 信息安全管理的原则 企业网站的建立 贵阳网站设计 一个空间建多个网站 安庆网站建设 重庆 网络安全和信息 上海银基信息安全技术 网站怎做 家电营销策划 做一个营销型的网站多少钱 中国联通 网络安全 网络安全技术图片 惠普网络安全密钥多少 营销综合实践教学平台 网站怎做 做一个营销型网站多少钱 无锡微信网站 商务网站制作公司 信息安全备案系统 南和邢台网站制作 网络营销编辑方向 天钥网络安全审计系统 广州做网站的 华企立方网站 京东怎么营销的 已有域名 搭建网站 郑州网站优化推广 信息安全等保三级标准 考生信息安全的通知 网络安全技术机试 太原seo网站建设 金融科技 网络安全 做一个营销型网站多少钱 cc标准 信息安全 桌面信息安全管理软件 建设网站的五个步骤营销活动云宽带