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

<a class="close" href="https://udwt.buhuia.cn/">&times;</a>
传统营销策略的优点信息安全咨询 资质证书,-1武汉企业制作网站营销型网站建设信息安全导论 沈昌祥计算机网络安全包括网络安全法 通讯录南京网站搭建广州做网站建设哪家专业信息安全技术概述,-1网站核验点[友情提示:本书没有系统,搞笑玄幻,情节紧凑,热血有脑,后面更精彩!] 叶泽执行任务时被同行的师兄暗下杀手,走投无路跳入禁地烈风洞,幸得随身玄天玉显威相救。 后得美人画卷,为了你,我愿意与天地为敌! “但得妖娆能举动,取回长乐侍君王......” 我竟穿越到了气运即将耗尽的商纣? 而且我还就是那个最昏庸无道的纣王帝辛? 骂我好色?忍了! 骂我嗜酒?也忍了! 骂我昏君?绝对不行! 拉龙族灭灾患抗天庭,维护人皇权威! 盈国库普教育得民心,重振大商雄风! 天庭西方阐教,我都不服 人族神族妖族,我全都要 我就是人皇帝辛!史上第一明君!特警,不能败!这个基地里的警察个个身怀绝技,为处理各种令人匪夷所思的事件而存在。他们一旦失败,那后果不堪设想。所以他们一直在努力,在尽全力守护自己的人民。 有幸穿越了,还是生在地主家,此生不缺吃穿却也不想混吃等死,所以傅小官随意的做了些事情,没料到产生的影响如此巨大。 皇帝要让他官居一品,公主要招他为驸马,尚书府的千金非他不嫁,荒人要他的头,夷国要他的命,樊国要他的钱…… 可是,傅小官就想当个大地主啊!流水线工人意外穿越至异界,开启了他的一段传奇人生。 夏建独身混都市,历尽苦难,终成正果。摇身一变,他成了名符其实的大老板…… 问:‘若有一天,这世间种种,终不能如你我所愿。当如何?’   答一:‘心若有光,便不惧道阻且长!’   答二:‘剑指苍穹,讨个说法!’   答三:‘那便用生命去守护最珍贵的东西,就算最后仍会一无所有!’   答四:‘那还要这世间何用?’苍茫大地、璀璨星宇中,妖气、魔气、凶煞之气肆虐。 然,不论是若隐若现的妖气,还是翻腾不休的魔气,亦或是肆意弥漫的凶煞之气。 吾唯有一柄雷霆霸王枪横扫诸敌。王国战争结束时,因九牧义展现出超强实力被王国所忌惮,于是王国高层提出铲除这个少年。其父亲身为王国第一将军,在王宫大殿上以自己的性命为代价,打通了通向人界的大门,为九牧义提供了生的希望。这个12的少年降临人间后被一位老者收养,本以为生活会一直平静下去,但4年后一个人的到来打破了他生活中的宁静,未来终究还是朝着不确定的方向发展。雇佣兵李怀心因为一场意外穿越到了一千年前的隋朝末年,成为冤死的隋朝四大名将贺若弼的私生子贺若怀心,身负前世今生之恨,开始了一段传奇的铁血之旅。 横刀所指,狼骑所向,皆是汉家天下!
小米网路营销 邢台网站制作哪家强 网络安全中心 金融信息安全体现在哪些方面 网络安全报警电话 小米网路营销 企业 基于tcp/ip安全体系和网络与信息安全理设计安全方案 17年网络营销案例 安徽 信息安全测评 做网站工具 儿子不读书的案例分享咨询【www.richdady.cn】 暗恋【www.richdady.cn】 大龄剩女的婚姻建议咨询【www.richdady.cn】 前世今生的轮回转世咨询【www.richdady.cn】 解梦的方法与技巧【www.richdady.cn】 改善脑部不清晰的方法咨询【σσЗ8З55О88О√转ihbwel 事业不顺的职场突破技巧有哪些?咨询【企鹅383550880】√转ihbwel 如何超度婴灵?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感沟通方法有哪些?咨询【www.richdady.cn】√转ihbwel 外灵干扰的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主的干扰与解脱威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的改运方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 发育倒退的环境影响【微:qq383550880 】√转ihbwel 老公家暴的案例分享【企鹅383550880】√转ihbwel 冤亲债主对生活的影响咨询【微:qq383550880 】√转ihbwel 孩子不爱读书的应对策略有哪些?咨询【企鹅383550880】√转ihbwel 婴灵的超度与心灵净化咨询【www.richdady.cn】√转ihbwel 无形干扰的前世记忆【σσЗ8З55О88О√转ihbwel 人际关系不好的沟通技巧【σσЗ8З55О88О√转ihbwel 亲子关系的情感交流【www.richdady.cn】√转ihbwel 网站制作 价格 响应式网站需要单独的网址吗佛山网站优化 网站如何备案 网络安全中心 wap网站开发 服装网站建设 手机网站制作细节 网络安全最新资讯成都高端网站建设公司 微信营销那家公司好 网络营销与销售的区别 石家庄做网站公司的电话 广东做网站策划 更新网站的图片加不上水印 珠海网站建设公司 汽车网络营销方案 关于网络安全的作文 b2b营销模式 范本 专科网络营销课程 妇科医院网络营销 关于网络安全资料 涿州做网站 微信手机网站制作 国家网络安全日是哪天 信息安全平台作业 服装网站建设 互动营销型 网络安全组织 石家庄做网站公司的电话 wap网站开发 保密局 信息安全测评中心 重庆专业的网站建设公司 2016网络安全事故 端午节网络营销 河北大学信息安全专业 国际网络安全期刊 信息安全配置检查工具,-1 信息安全是计算机吗 瑞星网络安全 网络安全报警电话 优秀网站设计 暗组信息安全论坛 微信营销那家公司好 网络营销精准定位 小米网路营销 三只松鼠营销策略论文 企业营销 信息安全 php获取flag 网站设计北京新 网络安全最新资讯成都高端网站建设公司 网站营销 成都信息安全企业 个人信息安全管理要点 wap网站开发 国内网络安全公司赚钱 涿州做网站 信息安全一级学科 电子商务网站功能页面 网站设计公司电话 信息安全管理专员 常州微网站 端午节网络营销 信息安全管理专员 个人信息安全管理要点 一对一营销理解 川大信息安全就业,-1 金融信息安全体现在哪些方面 个性化建网站定制 网络安全 科研平台 北京免费网站建设 关于网络安全资料 网络营销八大学 网站插入百度地图 企业信息安全内容 传统营销策略的优点 19网站建设 电子营销就业率 信息安全 开源 珠海网站建设公司 国家网络安全日是哪天 网络营销的108个故事 网络安全 科研平台 网站如何备案 无锡网站设计 暗影信息安全 监控网络安全方案 网络安全最新资讯成都高端网站建设公司 网站设计公司电话 建设响应式网站有哪些好处 信息安全等级保护实验室 监控网络安全方案 营销型网站特点进入教育行业信息安全的企业 暗组信息安全论坛 手机网站制作细节 营销型网站特点进入教育行业信息安全的企业 网络营销方法和应用 区域营销托管什么意思 2017信息安全服务年会 企业在b2b网络营销过程 信息安全一级学科 企业 基于tcp/ip安全体系和网络与信息安全理设计安全方案 网站制作 价格 石家庄做网站公司的电话 深圳搜索引擎营销企业 网络安全审计系统作用 响应式网站需要单独的网址吗佛山网站优化 银川网站开发公司 厦门做网站 电子商务网站建设的概要设计 一对一营销理解 微信手机网站制作 信息安全技术概述,-1 营销qq效果怎样 信息安全平台作业 妇科医院网络营销 怎样开网站 公安网络安全检查方案 兰州 网站 王军教授信息安全 小米6营销软文 邢台网站制作哪家强 服装网站建设 兰州 网站 杭州网站建设 企业信息安全内容 青岛外贸网站建设 杭州网站建设 汽车网络营销方案 搜网站网信息安全等级化保护规范 最大的网络安全公司排名 网络营销方法和应用 关于网络安全资料 互动营销型 17校招网络安全 信息科技有限公司网站建设 常州微网站