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

<a class="close" href="https://susyg.rangche.cn/">&times;</a>
旅游网络营销策划书原创文章网站更新xctf网络安全互联网网络营销如何与网站管理员联系诸城网站建设什么是信息安全事件网络安全威胁主要包括2014网络安全问题网站域名穿越洪荒百万年,还是玄仙修为   林长青绝望之际,师尊通天赐予九转金丹   没想到,竟然觉醒诸天赠送系统!   赠送九转金丹,返还百亿功德!   赠送通天剑符,返还神象镇狱劲!   赠送黄中李,返还混沌灵根!   赠送盘古精血,返还……   林长青行走洪荒,赠送无数宝物,杀妖,屠魔,救人族!   终于,当量劫降临之时,林长青一人横立量劫之前,挥手扫灭无边劫云!他苏辰,身为那九天之上的神尊,一夕被害,跌落凡尘。 可当他重生后,却发现,自己只要炼丹就能变强! 凭借一手出神入化的炼丹技术,苏辰短短几天就在大陆声名鹊起! 各类仙丹了解一下?不要998,不要888,直接带回家。 众人:不对,这苏家的公子不是个废柴么? 几天后...... 小丑竟是我自己! 黑暗的墓穴中总有什么盯着你,古画图上隐藏着财富,地位,还是名誉,大佬汇聚一堂,风云再起,何人能探寻终极的秘密?杨立因为农村出身被女友家嫌弃,被五十万彩礼逼退。看破感情,又不慎坠崖,被豪门美女救下,意外得到先祖传承。自此杨立玩转都市,纵横天下......公元2154年,一家工厂发生了核泄露,该核能可以把人感染成僵尸,联合国在世界各地建立了许多冷冻仓。主人公张博前往一个冷冻仓里冷冻。十年后,冷冻结束,张博前往联合国建立的军事据点,并且还当了一名士兵。可是好景不长,据点里出现了感染者,据点沦陷了。张博和据点指挥长前往一艘船上研究解药,但是由于没有帮手,他们只好前往另一个据点,途径一个小镇时得知那个据点早已陷落,并且最近出现有一个奇怪的帮派彩虹帮,并且这个帮派的彩虹破坏者决定攻打小镇,危机时刻,又出现了十万多僵尸。张博他们能抵抗僵尸吗?他们能否打败彩虹破坏者?他们能否能研制出解药,拯救世界呢?想了解更多精彩内容请看《僵尸之灾》。 (改编于作者"柯宇游戏"的《丧尸之灾》,已授权。)作品将持续更新,以细腻的角度独特的视角来讲述你所不了解的大宋故事以及你所了解的大宋故事中的你所不了解的细节 本书语言风格幽默,学习当年明月,飘雪楼主,六神磊磊的写法平民视角看大宋的力作,白话正说宋代故事“陛下!此行还请万分珍重,末将年迈、大限将至,还能为陛下镇守国门十年!还请陛下十年之内,学满归来!承继大统、振兴神夏,李衮百拜!” 叶无修穿越到玄幻世界,成为神夏国皇帝,身负救国重任,却资质平平! 直到一天,系统觉醒,获得查看万物的词条! 【姓名】:叶无修 【年龄】:17 【黑色煞运:英年早逝】:一月后没有资格参与内门考核,颜面扫地,被逐出宗门,返回神夏国,老将长叹数声而死,诸国侵袭,神夏国灭,死于乱刀之中,享年十八岁! 【白色气运:无能国君】:明日失败最后一次,心灰意冷,慷慨送出神夏国宝物四品炼丹炉,收获称号‘无能国君’! 直到此时,叶无修才有所觉悟! 他竟然成了前一世看过无数的狗血套路小说的龙套? 《致命实习生》续集番外篇 拥有通灵能力的李赫兹转学到台湾省德马赛艺术学院,却意外知晓自己多年未见的发小(谢子明)不久前死在这所学校,校方称死于心脏病,他怀疑内向的谢子明是因为受到校霸(徐刚)的霸凌。 与此同时,李赫兹还和实习 老师高沐洋成为无话不谈的朋友,两人开始查找谢子明死因。当迷雾一层层剥开后,却牵扯出一堆谋杀案...... “乱世枭雄争锋来,此乃大海贼时代!”神话仙武版海贼王的故事,魔改剧情,慢热,多铺垫伏笔,有大量自己的情节,也有原著的时间线,完整多体系,逻辑严谨,带你领略仙武海贼江湖的冒险故事,在重重迷雾中找寻历史的真相,争夺气运,问鼎独道之神!李天命做梦都要笑醒了。他家的宠物,竟然都是传说中的太古混沌巨兽! 他的家鸡,是以太阳为食的‘永恒炼狱凤凰’。 他的黑猫,是以雷霆炼化万界的‘太初混沌雷魔’。 连他家的小强,都是拥有万亿不死分身的‘万界永生兽’…… 从此,他驾驭十头太古混沌巨兽,化身万古第一混沌神灵,周游诸天万界,镇守无尽神域。万物魔灵,诸天邪魔,连爬带滚,哀呼颤抖!
台州网站设计 解放路 网络安全公司排行 信息安全与泄密事件四川网络安全公司 微信网络营销工程师 2014网络安全问题 原创文章网站更新 大莲网站建设公司 本溪网站建设 杭州网站建设公司联系方式 网络安全培训会 升迁障碍的职场突破方法有哪些?咨询【www.richdady.cn】 投资项目的收益分析【www.richdady.cn】 耳鸣的咨询技巧咨询【www.richdady.cn】 前世今生的缘分再续咨询【www.richdady.cn】 解梦的前世影响【www.richdady.cn】 如何知道自己有前世缘份?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子压力大的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感重建方法有哪些?咨询【www.richdady.cn】√转ihbwel 前世缘份如何影响事业发展?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 解梦的情感释放咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的职场提升路径有哪些?咨询【企鹅383550880】√转ihbwel 财运不佳的投资建议咨询【企鹅383550880】√转ihbwel 外灵干扰的环境影响咨询【www.richdady.cn】√转ihbwel 忧郁症的预防措施咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 失业的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子抑郁症的心理调适【微:qq383550880 】√转ihbwel 前世老公的咨询技巧【σσЗ8З55О88О√转ihbwel 亲子关系的心理建设【σσЗ8З55О88О√转ihbwel 意外的前世故事咨询【www.richdady.cn】√转ihbwel 升迁障碍的职场晋升技巧有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 上海简约网站建设公司 信息安全风险的三要素 系统信息安全情况 公安局网络安全解决方案 网站建站系统程序 外贸网站建设软件互联网营销的好处坏处 南宁会制作网站的技术人员 颜色搭配对网站重要性 特色的佛山网站建设 信息安全风险控制平台 网站效果 国家信息安全测评中心 路由器无线网络安全设置 大莲网站建设公司 如何网站 甄别网络信息维护网络安全 网络安全 项目 搜搜营销团队 2016年网络安全大事件 北京微信网站制作 信息安全技术公司 黑龙江省网络安全协会 路由器无线网络安全设置 信息安全iso27001 企业 信息安全部门 网站客户评价 网络安全实例分析 温州网站制作公司 企业做网站 石家庄做网站 网络安全法 三十四条 信息与 网络安全的基本概念 佛山电商网站制作团队 佛山电商网站制作团队 网络安全 项目 网络安全 主题会议 网站怎么弄 网络安全需要检测什么意思 昆明做企业网站多少钱 商城网站建站程序 颜色搭配对网站重要性 设计公司网站 咋制作网站烤全羊的营销方式 太原网站设计 营销发布平台 营销网站案例什么意思 网络安全可视化 房产怎么做网络营销 网络安全公司排行 国家信息安全政策体系包括 关于检查网络安全的app 网络安全行业企业 咋制作网站烤全羊的营销方式 网络安全数据管理局 三门网站制作 曲靖做网站 企业做网站 三门网站制作 房产怎么做网络营销 微博营销号怎么经营 网络安全法 三十四条 东莞全网营销网络推广方式 数据及网络安全 网络安全需要检测什么意思 台州网站设计 解放路 信息安全认证中心 网站不足 上海公司做网站 网站效果 2016年网络安全大事件 佛山电商网站制作团队 营销网站案例什么意思 北京微信网站制作 温州手机网站制作推荐 微博营销是指什么 深圳 企业网站建设 中国网络安全培训平台 互联网网络营销 广东网络安全 比赛 国家信息安全部招聘 陕西营销型手机网站建设 网络安全实施计划 颜色搭配对网站重要性 信息安全等级保护四级 郑州网站建设电话 广州外贸网站信息 上海简约网站建设公司 网站怎么弄 重庆整合营销那里最好 苏州响应式网站建设 国家信息安全部招聘 南宁会制作网站的技术人员 系统之间的网络安全 营销广告网站 网络安全行业企业 网络信息安全事件,-1 网站客户评价 第三方网络安全服务平台 嘉兴网站制作 网络安全 项目 建设网站具备的知识 常州网站优化 微信网络营销工程师 本溪网站建设 病毒式营销常用载体 权威的广州h5网站 系统信息安全情况 上海简约网站建设公司 信息与 网络安全的基本概念 视频营销的优点 信息安全漏洞通报 信息安全保障体系 公安局网络安全解决方案 中国网络安全培训平台 广州外贸网站信息 网络安全渗透技术培训班2015 海淀深圳网站建设公司 邢台网站推广 网站域名 如何网站 网络营销针对哪些人群 网站首页被k 信息安全保障体系 公司运营与营销 信息安全风险的三要素 信息安全包括哪些专业吗 信息安全等级保护四级 isp信息安全管理措施 路由器无线网络安全设置 第二届国家网络安全宣传周主题 网站内容 网络安全 的段子 曲靖做网站 网站app开发 e脉通网站