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

<a class="close" href="https://dazhongbangcom.xozu.cn/">&times;</a>
国内信息安全专家建行手机网站sns营销主要平台263网站建设怎么样苏州建设局网站客户信息安全与管理免费申请网站网站制作学习edm营销 服务商信息安全保障措施应与信息系统建设( )确保信息系统安全运行网络营销策划方案 民国时期,我是拉洋车的,牛A的黑狗子探长刘麻子想强睡我的媳妇,被我制止。他带着大批的黑狗子对我用刑把我整死。阴间,我遇见大诗仙,向他诉说冤情,然后到冤魂村走一趟,才知道比我冤的人太多了。之后他把我变成了文化人,然后又把我穿越到了人间南粤市,让我抑恶扬善努力去做正能量的牛A人。此时的南粤市已是八十年代末期,我从打工做起,经历了开放大潮,凭着自己的能力为公司做出了很大的贡献,同时也收获了爱情。几年后,到处都在办报纸,我凭着自己的文笔混进报社当上了记者,通过采访工作,结识很多企业老板,在一次采访中,意外发现我生前认识的那个黑狗子探长刘麻子也被穿越到了这座城市,而且是下海经商混成了道貌岸然的董事长,被认为是红极一时的牛A人物。我悄悄跟踪,在我女友的配合帮助下,发现了他的一系列违法犯罪活动和伤天害理的事情,在掌握了大量的证据后,我凭着一腔正气,成功举报最终将其绳之以法。我终于成了正能量的牛A人!【诸天副本降临,即将开启!】 【这是你们灵魂升华的一次机会!】 全球危机,罗明开启唯一性天赋! SSS级天赋——不对等交换! 【交换完成!您用半盒泡面交换SSS级潜力永不枯竭!】 【交换完成!您用一瓶悲酥清风交换斗转星移!】 …… 从此,罗明开启了交换新模式。在这个世界,有一片大陆名叫普光大陆。 天地间充斥着命之气,每个生物都会觉醒命纹,命纹,是每个生物的强大的基础。 少年巧遇机缘,首次觉醒前所未有的三属性先天灵智命纹!肩负命之兽口中相言的“救世主”之责任。 与命纹配合,共创强大命技;闯重装之谷,打造出成长形神兵。 ...... 何虑万世,我终当隆逢,吾辈同体,我辈同源,自有异理,故吾终当一战,此亦吾身为宿命。 双子临世,自命初之源;续报重求,为如初!夏历2222年,黑色的太阳突然从极渊升起,在天穹之上悬挂七日,全球陷入一片黑暗。 此次事件中,整条赤道全线崩坏,水蓝星裂开一道长达4万公里的影渊,横贯东西。 七天后,黑日退去,光明重洒大地。 可当人们欢呼灾难结束之时,却不知无尽的恐怖正从影渊之中醒来。 自此,全球复苏,百鬼夜行。 护国将宇文思都再看破朝堂尔虞我诈宦海沉浮后,毅然决然的携妻子避世。后值匈奴侵略,不忍家国破碎,江山易主的他重挑神将旗帜,对抗匈奴。可他却从此下落不明…… 其子宇文莫凡因种种阴谋被迫逃亡至江湖,被老乞丐救下后重修武艺。 而他不知道的是,更多的危机与考验还没有被揭开,阴谋与真相也悄然浮出水面……凶案连连发生,旷世绝学现世,原始森林险地,让不平静的江南,更是杀气满天。友谊本出生自皇族的唐天皇,却有家难回,名有着强大的血脉,却要隐藏于世……人间事,人世间不就是投了个好胎吗?有什么了不起的! 嗯嗯,真香! 出行保镖有多点,没有什么大问题!你看那遥远的星域,我家的! 兄弟,跟我混,包吃包住, 一天饿九顿!
葫芦岛网站建设 客户信息安全与管理 网站开发设计公 苹果支付信息安全吗 成都网络安全技术公司网络安全 数据取证 网络安全:lan管理器身份验证级别 企业网络安全策划 陕西营销型网站建设公司 上海网站改版哪家好 网络营销环境的变化 前世老公【www.richdady.cn】 人际关系不好的咨询技巧咨询【www.richdady.cn】 公司破产的前世记忆【www.richdady.cn】 纠纷的法律援助咨询【www.richdady.cn】 官司的解决方法【www.richdady.cn】 学习成绩差的原因分析咨询【σσЗ8З55О88О√转ihbwel 耳鸣对睡眠的影响【企鹅383550880】√转ihbwel 如何了解自己的前世今生【σσЗ8З55О88О√转ihbwel 前世老公的前世故事咨询【企鹅383550880】√转ihbwel 莫名其妙感伤的前世因果咨询【微:qq383550880 】√转ihbwel 如何避免无形干扰因素咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 头脑混沌的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 性压抑的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的原因分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 处理感情纠纷的方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的原因有哪些?【www.richdady.cn】√转ihbwel 什么是婴灵?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子不爱读书的心理分析【σσЗ8З55О88О√转ihbwel 前世今生的缘分如何续写?【σσЗ8З55О88О√转ihbwel 前世缘份如何影响人际关系?咨询【σσЗ8З55О88О√转ihbwel 网络安全体系构成要素中恢复 设计网站需要什么条件 信息安全相关设计 淘宝营销中心 2017年 信息安全大会 网站推广服务 网络营销策划方案 乐营销网站 任丘做网站 通讯系统网络安全 成都网站设计公司价格 淄博市网站开发 葫芦岛网站建设 南京 网站开发 全网营销思路 信息安全保障措施应与信息系统建设( )确保信息系统安全运行 全网营销系统 深圳 金融网站开发方案 内容营销软件 信息安全培训班 信息安全学 湖南信息网络安全协会 5设计网站 东莞网站制作公司 网站推广服务 手机网站设计 中国亚马逊营销的特点 汽车营销案 信工所信息安全,-1 长沙o2o网站制作公司 南京网站制作公司 杭州培训网站建设 内容营销软件 营销软件图片 信息安全人员资质证书 263网站建设怎么样 任丘做网站 特朗普 网络安全委员会 病毒营销成功经验 在线营销型网站 销售网站 美国国家信息安全漏洞库 常州网站建设 门户网站的功能 mcafee 网络安全 贵阳做网站 设计网站需要什么条件 网络安全产品 ppt 成都网站设计公司价格 信息安全审计计划 互联网信息安全评测机构 任丘做网站 南京网络安全公司 mcafee 网络安全 信息安全人员资质证书 网络信息安全演讲 一流的成都 网站建设 杭州市网络安全 烟台制作网站的公司简介 制作网站教程常见的信息安全问题,-1 大数据与信息安全讲座 网络营销环境的变化 网站制作学习 客户信息安全与管理 美国国家信息安全漏洞库 网络营销数据的来源和作用 网络营销日常工作内容 网站建设的公司 网络安全实施 盛世国际网络营销团队 b2b网络营销过程 qq营销网 做网站北京 网络安全培训教程 美国国家信息安全漏洞库 免费申请网站 学网络营销那里好 重庆网站建设公司 全网营销思路 淘宝营销中心 客户信息安全与管理 重庆网站设计公司排名 重庆网站设计公司排名 网络安全实施 手机网站 建设 学网络营销那里好 全网营销系统 深圳 营销方案中的价格策略 网络营销对未来的前景分析 信息安全工程师注册 网络安全:lan管理器身份验证级别 金融网站开发方案 嘉兴 网站制作 内蒙古网站设计 网络营销环境的变化 网络信息安全研究所 江苏 开展网络安全监督检查 请下载《网站备案信息真实性核验单》打印并按样例提示填写 网站开发设计公 信息安全培训班 东莞网站制作公司 汽车营销案 流程网站 一流的成都 网站建设 手机网站设计 常州网站建设 北京市网站公司 湖南信息网络安全协会 制作网站教程常见的信息安全问题,-1 品牌网站设计公司 开展网络安全监督检查 昆明网站开发公司 普创营销策划有限公司 通信部门网站备案证明 通信部门网站备案证明 网络安全:lan管理器身份验证级别 个人信息安全管理 美国信息安全 大学 无锡微网站开发 免费网站建设下载 在线营销型网站 中国亚马逊营销的特点 信息安全等级保护中心 信息安全相关设计 内容营销软件 葫芦岛网站建设 内蒙古网站设计 网站建设仪器配置表 昆明网站开发公司 安络科技 网络安全攻防电视大赛 网络营销工具及方法有哪些内容 2017年 信息安全大会 企业网络安全策划 当前的问答营销平台 教育信息安全等级保护测评中心 云平台的运维与管理 ppt