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

<a class="close" href="https://73619cc.c8.org.cn/">&times;</a>
网络安全基础应用与标准 pdf国家 信息安全 标准建立政府公众网站的目的的常用的网络安全措施福州网站设计镇江网站seo小型网络安全维护方案广电网络营销实战营青浦网站建设洛阳网站制作一个经历核战争后的高中生营救家乡龙港的故事。 随即而来的就是一阵冲击波和疯狂的气流。我看不见东西,但我现在身体感觉就像被卡车撞在墙上一样。全身似乎都受到了棒球棍的打击...... 这是一个神魔妖仙佛并立的世界,这是一个诸天万界混乱的年代,苍灵神尊销声匿迹之后,诸天万界混乱不堪,各方势力雄踞一方,硝烟四起,混战不断。 数千年后,他的出现改变了诸天万界战乱的时代,他的出现也引领了一个新的时代,斩天道,踏轮回,出生平凡的他,有着远大的抱负,不屈服于命运的安排,突破上苍的桎梏,他的逆天征途将由血骨铺路。本书的主人翁逍遥华,醉酒救人后穿越到异界。在绝色师尊们的抚养下,长成风流倜傥、玉树临风的翩翩少年。为振兴师门,下山入仕。逍遥华堪称修仙奇才和人生赢家,短短数十载登顶修炼之巅,爱恨情仇在那片华夏大地、纵横捭阖、开创自己不一样的开挂人生这个小镇终年被团雾环绕,它将所有人都困在了原地。没人敢靠近它,它会让人麻痹,消融在雾气中…… 萧志昂,一个误闯渝水镇的外地少年。 第一次重生是遇到了刺杀,醒来后回到了来渝水镇的头一天,也就是死前第三天。 第二次重生是遇到了谋杀,醒来后回到死前第七天,而且他还发现只要不提羊子,不建议搜山,就不会死亡。 第三次重生到第六次重生是李桦娇遇险,萧志昂被枪击。但是每次醒来都是事发当下,一直到他找出那个背后的凶手才解除循环。 第七次重生是逃出搬运站,结果因为摘果子自投罗网,直接被送回了七天前,也就是第一次发现搬运站的这天。 随后,第八次、第九次、第十次重生则再次陷入循环,老是因为一头野猪而没法逃脱。 …… 这到底有什么样的规律呢?究竟要怎么样才能逃出渝水镇呢? 一次又一次的死亡,一次又一次的重生,终于他把每次重生后得到的线索汇聚到了一起…… 同时,他还发现,通过自己的不断探寻,渐渐也让身边的朋友拥有了超能力……羽辰,无意间把自己的名字替换成了小王爷。 他穿越了,变成了自己笔下最“弱鸡”的小王爷。 醒不来就在自己的小说中痛痛快快地快活一把:我要逆天改命。 成为绝世高手,迎娶女神,手握重兵,富可敌国。 我的小说我做主……邪灵世界,妖魔丛生,鬼魅乱世。 凡人命如鸡犬,任人屠杀。 周晗觉醒了无限制修改武道修炼时长的系统,五毒手,金钟罩,旋风腿,统统修炼到一万年后。 武林盟主:我从没见过旋风腿真的可以踢出龙卷风…… 最强邪灵出世,一爪下去,连周晗的皮都蹭不破,震惊怒骂:你是邪灵我是邪灵? 周晗:以凡人之躯,比肩邪灵! 这是一个略微畸形的平行世界。 因为科技发展速度太快,商业和文艺的脚步完全跟不上进度。 导致这个世界大部分行业,都处于重技术,轻内容的情况。 而其中,尤其以游戏行业表现的最为明显! 没有电脑游戏,没有手机游戏,所有游戏都是VR的! 甚至连免费游戏都没有! 在这个世界,游戏是有钱人才有资格享受的昂贵物品。 “一个VR设备几十万,穷人就没资格玩游戏了?” 《传奇》《暗黑破坏神》《地下城与勇士》《梦幻西游》《魔兽世界》《英雄联盟》…… 陈风带着前世无数款经典游戏穿越而来,为无数普通玩家发声做事! 一步步走到世界之巅峰,被所有玩家和网友尊称为:游戏界的慈善家! 凡尘一梦,不知仙道几何。 欲踏凌霄,不知天堑几重! 昔,世家另立梦当其一。后封天绝地死灵不通神佛不在,世家倾倒一夜荒芜。 今,梦家梦琼拜佛门,拜仙家。 借古运之力抗衡天道重拾种族之技,登临巅峰! 以梦证道,震踏九霄。琼此一生,无惧无畏! 看九重宫阙天道世家,看异世苍穹谁主沉浮!赵德芳驾驶核动力货轮穿越到南宋末年,组建特战队,发展经济,改善民生,提高生产力,驱除鞑虏,振兴华夏,扬我中华。林田获得随身空间种田,春花秋月,悠然南山,坐吃山不空。 他只想过好自己的小日子,实力却不允许他低调。 什么是钱?什么是美女?呵。 当灵果风靡全世界,人人求之不得之时,灵果制造商躺在摇椅上悠然撸猫,岁月静好。 然而,当危机降临到他在乎的人身上,要战,便战!
相应式网站 国家网络和信息安全信息通报中心 青岛做网站的公司排名 网站规划的案例 2017网络安全周时间 利用所学的信息安全知识构建一个安全的网络,-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 发育倒退的解决方法咨询【企鹅383550880】√转ihbwel 忧郁症的前世记忆咨询【企鹅383550880】√转ihbwel 耳鸣的原因及治疗方法【www.richdady.cn】√转ihbwel 失业的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的缘分揭秘咨询【σσЗ8З55О88О√转ihbwel 人际沟通障碍解决【www.richdady.cn】√转ihbwel 升迁障碍的职场规划威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 头脑混沌的环境影响【微:qq383550880 】√转ihbwel 发育倒退的咨询技巧咨询【微:qq383550880 】√转ihbwel 事业不顺的职业规划如何制定?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰对日常生活的影响咨询【企鹅383550880】√转ihbwel 网站收录多少才有排名 快讯营销软件 饥饿营销的局限性 勒索软件当前网络安全 信息安全等级保护测评机构申请表,-1 博雅立方网络营销公司 网站规划的案例 武汉科技大学信息安全 太原网站建设培训 顺德网站优化公司 网路营销需求 平安集团网络安全 焦作网站建设 手机网站前 营销型网站试运营调忧 山东省信息网络安全 如何用网络营销的方法有哪些方法有哪些特点 镇江网站seo 上海整合网络营销公司 手机网站免费 2015年国家信息安全专项天津网站建设 快讯营销软件 山西做网站的企业 网站规划的案例 网络渗透测试——保护网络安全的技术工具和过程 pdf 好网站页面 网络营销平台图片 信息安全等级评估中心 关于网络安全的影视剧 网站建设总结 信息安全等级评估中心 网御网络安全管理系统 深圳网站订制开发 徐州建立网站 网站营销公司哪家好 武汉科技大学信息安全 信息安全相关认证 欢乐颂2 网络营销 顺德精品网站建设 北京网站的建立 企业网络营销应用分析 网络安全基础应用与标准 pdf 网络营销员报考sem整合营销机构 西安网站制作开发 手机网站前 信息安全的基本属性 2017网络安全周时间 信息安全不涉及的领域 网络安全基础应用与标准 pdf 2015年国家信息安全专项天津网站建设 西安 网络安全公司 欧洲网络与信息安全局 第三方外贸b2b电子商务平台网络营销所存在的问题与对策 青岛做网站的公司排名 北京做网站 企业网络安全状况 石家庄网站推广 国家信息安全项目 外贸营销网站建设 手机营销网站 昌平企业网站建设 青浦网站建设 网络安全模拟仿真 信息安全技术发展历程,-1 计算机网络安全实训报告 深圳网站订制开发 成都企业网站建设公司 北京网站的建立 网站建设与推广是什么 网络营销发展 网站如何被百度收录 西安网站制作开发 如何用网络营销的方法有哪些方法有哪些特点 义乌建网站 网站营销公司哪家好 第三方外贸b2b电子商务平台网络营销所存在的问题与对策 it行业和网络营销信息安全大数据 网站收录多少才有排名 广州h5网站建设公司 山东省信息网络安全 网络安全pdf 考生信息安全的通知 信息安全 bbc网络安全法 等保测评 滨江做网站 滨江做网站 可口可乐网络营销策划 被通知公司网站域名到期 国家信息中心信息安全研究与服务中心 顺德网站优化公司 趋势科技网络安全客户端 建立政府公众网站的目的的 网络营销推广环境分析 网络安全去哪里学 相应式网站 互联网营销的基础理念 国家网络和信息安全信息通报中心 深圳网站订制开发 信息安全运维资质 国际信息安全企业排名 新网站建设平台事件营销分类 企业网络营销应用分析 徐州建立网站 关于网络安全的影视剧 重庆网站营销案例 红酒网站模板 平安集团网络安全 长沙网站制作公司 网络营销平台图片 开源sdn网络安全 太原网站建设培训 怎么找网络营销 信息安全服务资质咨询 2016重大网络安全事件 国际营销 市场细分 小米4p营销策略 聚美优品营销模式分析 网站加黑链 网络安全去哪里学 信息安全等级评估中心 山西做网站的企业 利用所学的信息安全知识构建一个安全的网络,-1 商务网络营销 服装网站 欣赏 零食网络营销策略 2017网络安全周时间 网络营销策略模式 it行业和网络营销信息安全大数据 网站图片类型 如何运用网络营销渠道 营销e-mail 信息安全等级保护测评机构申请表,-1 手机网站前 北京做网站 北京网站的建立 企业网络安全状况