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

<a class="close" href="https://yyev.71119.cn/">&times;</a>
多域名网站网络营销课程整体设计浙江省网络安全宣传周信息安全相关政策法规b2c网站建设 广州营销邮件广告邮件优点策划营销微博营销运营方案门户网站有哪些关于淘宝营销中国信息安全应急中心冯阳本是一个普通学生,却突然同时获得了两个系统。 两个系统争相用自己的方法来帮助他这个宿主取得他们所认为的成功,并且两个系统因为风格不同,还会相互竞争,甚至相互捣乱。 然后,冯阳的人生就开始不断的被这两个系统整的一地鸡毛。 虽然最后在两个系统一次又一次不堪的加持中,冯阳不断获得一个又一个“成功”。 但是冯阳总觉得这些成功,并不符合自己的初心,未必是自己想要的。鬼气复苏,恶鬼当道! 陈青穿越而来,继承了爷爷的家业。 哪曾想,爷爷说的家业竟然是一座地府。 被逼无奈,他只得一步步解封地府。 监察人间,代帝巡天。 华夏无神明,我以地府镇鬼神! “时辰一到,众鬼宵禁,若有作乱者,斩...” 擒红衣女鬼,镇三山五岳。 灭画皮女鬼,享万世香火。 收百世魔童,纵九霄雷霆。 拿黑山老妖,起万寿无疆。 “今日之后,重定秩序,活人为阳,死人归阴,若阴神不敬,吾代天诛!” 自此之后。 白天阳气鼎盛,人们安居乐业。 夜晚百鬼夜行,阴兵过境,万鬼来朝。 直到有一天,陈青杀鬼的画面被一位主播直播了…… 这个世界不安宁了.... 五方力士,在天为五鬼,在地为五瘟。我叫李殇,师承五瘟使,从我父亲违背祖训的当日,阴差阳错被卷入两方势力争斗的旋涡中心,注定陷入无休无止的杀身大祸当中,为了活下去我变成了一个行走阴阳的摆渡人,真相伴着已逝之人沉埋黄土,拨开历史疑云,遥望过去,恍然惊觉,祸端的起因竟是我自己……未来,现实世界与虚拟世界交织,脑机接口、意识上传,虚拟触觉技术先后突破,zero公司研发了一款名为《零世界》的元宇宙,来使人类脱离死亡实现意识永生。 然而,在诞生25年后,zero公司一场更大的阴谋酝酿其中…… 重生后的罗飞,带着一群志同道合的伙伴,再一次踏上征程……咸鱼舰长董墨轩意外身亡后来到了崩坏世界,原本想继续自己舰长职责的他却发现自己成为了一名死士。 所以,董墨轩决定………… 我不做人了,女武神们! 我要成为死士王君临天下! 然后………… “哦,是吗?” 看着拿着枪顶着自己女孩,董墨轩不屑的表示………… 不要杀我,我真的是好死士啊啊啊啊啊!!!华夏战神龙啸天领狼牙特战军,保国卫民,血染沙场,成就不世功勋。为了给儿时兄弟报仇,从边境战区回归家乡夏城,在调查中,发现好兄弟的死因竞牵扯了一个惊天秘密。为了保护家人,为了守护心爱的女人,从而引发一序列爱恨情仇,荡气回肠的动人故事。张秋,一个平平无奇的植物人,一觉醒来却发现自己诡异地回到了青年时代当起了大学教师。 与此同时,神秘的教师黑科技系统从天而降,一群令人头疼的学生随之而来。 能源革命、空间技术,一切的一切因此而变得不同。 这一切,是巧合奇遇,还是另有阴谋? 当数据的洪流将虚实分割,当钢铁的尖利刺穿胸膛,当虚幻与现实交织,当过去与未来缠绕。 漫长的凛冬将至。 然,我与旧事皆无憾,来年依旧迎花开。 浩劫动荡之后,终见春暖花开。 枫立天是我的小学同桌,今年六月,我在学校里用一个日记本写一本小说,在班里特别有名,粉丝有十几,有一天放学,枫立天来找我,他帮我在网上更小说,六月末,我加入了17K,但他并没好好更,还删改内容,让我很失望,我只能把原本的拿出来更红月当空,全球骤变。拥有力量,你就高高在上,应有尽有,没有力量,你就只能任人宰割。危机爆发,众种族林立,丧尸,异兽,鬼种,人类。九转山河,浩瀚天下,试问天下,谁与争锋!起步比别人晚的颜逸能否追赶众人的脚步,在末日之中杀出一条属于自己的路。一代战神穿越异界成为大秦废物藩王。 有名无权?这怎么行!先把大权握在手中! 草原蛮子南下叩关了? 二营长把本王新造的大炮拉出来,今儿教你们打炮! 大漠匈奴也要凑热闹? 二营长,给我一起轰了! 江湖高手觉得本王太残暴,要替天行道? 二营长!! 算了,这次在后面鼓掌就行了,看本王一人打穿你整座江湖!
中兴信息安全电话 网洛营销案例 珠海做网站 网络营销的策略是什么 网络营销中的产品策略 移动商城网站建设 深圳 网站建设网站 中国信息安全应急中心 电商营销服务 代办信息安全服务资质 财运不佳的心理调适咨询【www.richdady.cn】 与公婆前世【www.richdady.cn】 干扰【www.richdady.cn】 冤亲债主的干扰与化解【www.richdady.cn】 婴灵的常见案例咨询【www.richdady.cn】 人际关系不好对工作的影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的安抚有哪些实用技巧?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何了解自己的前世今生?咨询【微:qq383550880 】√转ihbwel 孩子压力大的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 成人发育倒退的可能症状【www.richdady.cn】√转ihbwel 孩子压力大的改运方法【www.richdady.cn】√转ihbwel 孩子不爱读书的心理分析咨询【微:qq383550880 】√转ihbwel 官司的前世因果【σσЗ8З55О88О√转ihbwel 与公婆前世的因果关系咨询【企鹅383550880】√转ihbwel 意外事故的主要原因分析【企鹅383550880】√转ihbwel 工作场所意外事故的原因【微:qq383550880 】√转ihbwel 前世今生的轮回真的存在吗?咨询【σσЗ8З55О88О√转ihbwel 事业不顺的原因分析【企鹅383550880】√转ihbwel 去世的母亲的前世解析【微:qq383550880 】√转ihbwel 发育倒退的案例分享【企鹅383550880】√转ihbwel 扬中网站建设 营销活动方案 网站模板设计 营销系统的优势 计算机与网络安全 中国山东网站建设 电商营销服务 网站试运营 支付宝网络安全 好模板网站 甘肃营销型网站制作 i无线网络安全协议可以提供 中兴信息安全电话 邮件营销推广 信息安全分析报告 网络安全事件种类 成都市信息安全企业 营销的投入 营销名人 网站注册免费 珠海做网站 手机网站制作机构 信息安全实践 建外贸网站 多域名网站 信息安全相关政策法规 微博营销运营方案 中国信息安全应急中心 营销推广电子商务网站 一个网站的主题和设计风格 常州营销外包 邢台网站制作市场 城阳网站建设 网络安全的形势重庆做网站团队 富阳做网站 销售网站 网络营销的策略是什么 在太原营销 美国 信息安全风险评估 企业网站 三合一 长安网站建设多少钱 信息安全实验 pdf 国家推进网络安全()服务体系建设 棕色网站 ps制作网站过程 专业网络安全公司 租网站空间 企业网络安全 超市网站建设 公司网络安全事件 汕头网站优化 珠海做网站 网络营销的层次 网站建设的目标有哪些 国家信息安全主席 汕头网站优化 广东网络信息安全基地 信息安全管理制度体系,-1 支付宝网络安全 广东网络信息安全基地 网站被攻击 长安网站建设多少钱 政府网络安全通报 网站酷站 网站建设及优化 赣icp 小米的营销案例分析 科研 信息安全,-1 丹东网站建 网络安全事件种类 网站模板设计 网络安全社区 网络与信息安全 ppt 网络安全与管理专业 国际信息安全顶级会议 长安手机网站建设 判断开放网络安全 智能社交营销平台 信息安全技术 web应用安全扫描产品安全技术要求 长春网站建设推广 怎么个人网站设计 网络安全排名 网站建设哪家公司好 重庆微信营销的公司 蓬莱做网站 营销名人 网站排名快速提升 牛蛙网络营销怎么样 重庆微信营销的公司 如何构建一个网站 网络营销的策略是什么 网络安全技术对抗赛 邮件营销推广 网站注册免费 网络安全与管理专业 手机网站开发制作 网站被攻击 销售网站 网站权限 手机营销活动策划方案范文 信息网络安全 考试 营销活动方案 网站访客 网络安全泄密档案 营销系统的优势 网络安全预警工作情况 小米手机网络营销服务 中国山东网站建设 信息安全包括数据安全 无锡网站设计公司 网站试运营 西安做北郊做网站 营销推广电子商务网站 好模板网站 网络公关营销公司 多域名网站 i无线网络安全协议可以提供 湖州网站设计 微观环境营销中介 邮件营销推广 中兴信息安全电话 网络安全架构师 网络安全事件种类 手机网站空间 我国网络安全技术 营销的投入 国家推进网络安全()服务体系建设 互联网营销的主要优势 网站注册免费 网站排名快速提升 一个网站的主题和设计风格 手机网站制作机构 网站建设及优化 赣icp 网络营销 (第5版) 建外贸网站 信息安全管理制度体系,-1