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

<a class="close" href="https://lcg.ecuo.com.cn/">&times;</a>
企业网络安全建议网御网络安全审计系统v3.0湖南+网站建设网络营销渠道类型网络安全周报品牌网络营销服务商建立自己的网站网站制作公司 郑州成都营销策划网络安全和信息化领导小组 一代仙界丹师意外附身在一个豪门纨绔身上,成为一个插班生,以一身神奇仙术,混迹于美女丛中,在都市独领风骚! 每天三更,微信关注每满100加更一章!读者一群:233514189(已满) 读者二群:894706463 微信公众号:如墨似血前世一代枭雄,但不料九重雷劫的降临,令其飞灰湮灭。 临终之前,将灵魂放逐在万千世界漂流。 直到这一天,流浪的灵魂终于有了归宿。 公元2293年,有着悲惨过去一直在逃避的墨沄白,因个人情感加入了一场盗墓,却因此被卷入了一场阴谋之中。七窍玉,鬼王,冥界,尸王,世界异幻事件应对调查局,多方势力混杂其中。他不是主角,他只是一个被卷入其中的受害者,但他势要成为复仇者……男主身为奥特曼,隐藏身份与同学们一起击败怪兽,拯救世界……大乾末年,工业革命刚刚完毕,天下大乱,帝国第一纨绔、当朝皇帝的外甥、帝国三等侯爵高绍义忽然觉醒了地球的记忆,本以为可以娇妻美妾,继续纨绔下去,但现在的大乾帝国风雨漂泊,外有强敌,内有昏君,保命都是个问题,高绍义无奈走上自强之路,卖了祖产开启武器兑换系统。 嘟嘟,恭喜宿主兑换成功98K两千只。 嘟嘟,恭喜宿主兑换成功155毫米重炮20门。 嘟嘟...... 靠武器兑换系统和自己的聪明才智,高绍义对内铲除奸臣,对外四处征战。 平原上数万坦克装甲车如万马奔腾一般。 海洋上百艘航母为首的三大舰队为帝国签下数百份不平等条约。 高绍义大手一挥,三军踏平一切胆敢抗天朝者! 明朝永乐年间,传出陈友谅藏宝地图。江湖各帮争抢,锦衣卫寻宝未果,浙江按察使周浩然一家惨遭灭门,宁波巨富肖伯庸被抄家,流亡海外的张士诚的后裔为复国组织力量,寻找宝藏下落。 本书有三个主人公: 周浩然遗孤周行健身负血海深仇,在苦难中成长,和生世未知的江雪同生死共患难,成为一生挚爱,正当情深似海时,发现自己最爱的女友的父亲竟是血海深仇的大仇人   肖伯庸长子肖宇是个逍遥快活的公子,被盗贼劫持,表妹秀秀对他情愫暗生,却是落花有意,流水无情。明教教主女儿马梦瑶万里寻母,随郑和下西洋,与肖宇经历生死不渝的爱情,终成正果。家资被抄,使肖宇性格骤变,铲锄奸佞,匡扶江山,对抗赵策,从快乐公子成长为经邦纬国之才。 张士诚的后裔赵策流亡海外,武功卓绝足智多谋,一统江湖各派,组织各方力量对抗朝廷,被云南沐府千金沐颖倾心爱慕,和毒教教主阿尼美的情感纠葛,从英雄到狗熊的蜕变,权欲对人性的扭曲,一生只为复国,却好梦成空...... 两年后,被军中战友称为“狂神屠灭者”传奇战神的特战兵王江晓如约归来,面对人事皆非的境况,该如何取舍,面对一步步浮出水面的暗黑真相,又该如何抉择! 世间的真爱该如何诠释,人间的正义又该如何解读。 孤儿江晓与独女简雯在一个城市读书,相恋四年,彼此深爱,毕业时江晓为追寻自己儿时便已植根内心深处的梦想做了一个让简雯无法理解也很难接受的决定,选择入伍。入伍临行前,两人定下两年之约。 两年后,成为特战兵王的江晓为两年之约离开了那片让他挥洒过无数血和汉承载着作为军人荣耀的火热军营。 回来后,却发现外面的世界已经不是自己认识的那个样子,简雯也变得如此陌生,所有的一切已人事皆非…… 不甘心的江晓不相信所看到的一切,化身“大侦探”的江晓随着调查的深入,一步步发现原来事情远没有自己想的那么简单…… 爱恨交织,黑白无道。 为守护爱和正义,江晓一步步走上了孤勇的战斗之路……一正一邪双男主,正邪大纠纷,世界观无限大原始大陆乃是一个妖兽统治的世界,强大的凤凰和祖龙各自皆是一方守护强者。 少年十七本是神境强者之子却惨遭血脉剥夺,失去一切的他成为一名废人,直到她的出现将彻底改变他的一生。法师们目空一切,贵族们高高在上,大商会只手遮天;在这人吃人的世界里,我看到了深渊的触角,文明的退化,和微弱的希望。
申请域名建立网站 国家在信息安全 法律法规 搜索引擎营销创意分析报告 搜索引擎营销的 网络安全应急响应时间 北京网络安全讲师 长沙营销型网站设计 高校网络信息安全,-1 信息安全指南 外贸网站运营 阴间生活的文化背景咨询【www.richdady.cn】 去世的父亲的前世因果【www.richdady.cn】 婚姻生活不顺的自我提升咨询【www.richdady.cn】 外灵干扰的心理调适咨询【www.richdady.cn】 家庭关系的心理调适【www.richdady.cn】 前世今生的故事有哪些案例?咨询【www.richdady.cn】√转ihbwel 冤亲债主干扰的根源是什么?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 什么原因意外的前世故事咨询【σσЗ8З55О88О√转ihbwel 婚姻生活不顺的心理调适咨询【www.richdady.cn】√转ihbwel 婴灵对家庭有哪些影响?咨询【www.richdady.cn】√转ihbwel 脑部不清晰的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家宅磁场的优化技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世老婆的前世故事咨询【σσЗ8З55О88О√转ihbwel 纠纷的解决方法【微:qq383550880 】√转ihbwel 冤亲债主干扰的真实案例有哪些?咨询【企鹅383550880】√转ihbwel 存不住钱的原因分析【σσЗ8З55О88О√转ihbwel 自闭症的家庭支持威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 发育倒退的环境影响咨询【www.richdady.cn】√转ihbwel 迟缓儿的家庭支持【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主干扰的前世记忆【www.richdady.cn】√转ihbwel 全国信息安全大赛培训 亚信网络安全 网站规划与设计 信息安全服务资质安全工程一级 公司信息安全培训机构 网络安全应急响应时间 网御网络安全审计系统v3.0 香港网络安全 品牌网络营销服务商 常见的信息安全事件 政务类网站 营销型单页面网站 网络营销售后服务 自己做网站 互联网信息安全会议,-1 酷网站欣赏 2004年国家信息安全专项 沈阳 网站开发制作 建立自己的网站 大疆网站建设 信息安全技术基础 网站的组成 国家在信息安全 法律法规 网络安全展 乐清做网站 网络安全加密算法 武汉网站开发 网络安全的简介 金盾信息安全 信息安全指南 常州做网站的公司 网络安全周报 网络安全威胁与挑战 德宏网站建设公司 个人备案网站能用公司 申请域名建立网站 常见的信息安全事件 南昌网站忧化 杭州网站建设开发 唯品会的营销在哪里看 网站制作公司 郑州 租车 网络营销方案 互联网金融网站建设 国外app设计网站 屈臣氏的市场环境对营销活动的影响以及带来的机遇与挑战北大 网络安全 大学生网络安全实例 东营专业网站建设 常州网站建设key de 幼儿园网站设计 昆山网站 信息安全等级保护管理办法第九条 信息安全控制 网站建设公司销售招聘 网站公司 香港网络安全 南昌网站设计特色 内蒙古网站建设 网络安全和信息化领导小组 全聚德营销 重庆网站设计公司排名 营销的网站 网络安全加密算法 网络安全设备销售 玉林做网站 网络安全周报 重庆商城网站制作报价 优化:高效的seo社交媒体和内容整合营销实践及案例pdf 信息安全和保密的区别 营销合作 湖南+网站建设 做一个营销型网站有哪些内容 网站公司 机关信息安全服务主要有 个人备案网站能用公司 网络营销公司总监 酷网站欣赏 小满借势营销海报 德宏网站建设公司 屈臣氏的市场环境对营销活动的影响以及带来的机遇与挑战北大 网络安全 青岛信息安全保密大会 公安 网络安全 北京网络安全讲师 杭州网站制作外包 厦门网站建设的公司哪家好 百度知识营销审核 乐清做网站 2017信息安全大会rsa 长春网站建设推广南通哪里有做网站的 沈阳信息安全培训课程,-1 企业网络安全建议 济南网站制 内蒙古网站建设 昆山网站 全国信息安全大赛培训 信息安全关键过程 信息安全主要课程 金盾信息安全 公安 网络安全 网站设计欣赏 营销的网站 乐清做网站 信息安全控制 全国信息安全大赛培训 长沙营销型网站设计 du网络安全 断网 网站创建公司 怎么在网站上添加地图 衡水网站设计哪家专业 免费建设网站平台 成都营销策划 信息安全基本属性 屈臣氏的市场环境对营销活动的影响以及带来的机遇与挑战北大 网络安全 网站兼容工具 政务类网站 个人备案网站能用公司 简述网络营销组合内容 建网站报价 优化:高效的seo社交媒体和内容整合营销实践及案例pdf 邢台网站制作市场 网站规划与设计 邢台哪儿能做网站 壹像素网站 网络营销网络市场调研 租车 网络营销方案 网络安全应急响应时间 怎么设置网站栏目 网络营销推广策略是什么意思 信息安全知乎 昆明网络营销网站 邮件营销 网站乱码 昆山网站 信息安全和保密的区别 营销顾问 网站架构图