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

<a class="close" href="https://8ghesf4.9747.com.cn/">&times;</a>
图派做网站苍南网站建设营销培训视频运用政府职能 网络安全香港网络安全中心西宁网站关系营销珠海集团网站建设网络安全小工具企业网站怎么建站武道之途,乃与天争命,逆天而行,遭天罚万劫。世间唯有九脉者,脉与天合,顺天而行,身怀天地气运,迎劫渡身,逢凶化吉。 林辰本乃天赋异禀,为天纵骄子,修途一路高歌,遍处风光。因缘偶得奇功妙诀,断脉重修。从此遭同门羞耻,宗门遗弃,兄弟背叛,处遭唾弃。 待我重回巅峰,问鼎苍穹,势必一洗前耻,傲世凌天。“梦中人熟悉的脸孔 你是我守候的温柔 就算泪水淹没天地 我不会放手 每一刻孤独的承受 只因我曾许下承诺 你我之间熟悉的感动 爱就要苏醒…………” 在杀手行业闻名遐迩的顶级杀手乔森对自己身世始终一无所知,在一次意外中,扑朔迷离的真相浮出水面,对自己身世的调查在悄悄展开,他能否在一次次危险的行动中脱身并找寻到自己身世的线索?到底什么才是他的归宿!!!那就成为avenger!为了爱的复仇者!好看洛林:“我老婆就是个没毕业的小学生!每次去给她上课总有一万个理由给我找茬,明明菜的一批,却老是爱做白日梦去为了救那些毫不相干的人受伤,次次让我这君主救她,好在这傻姑娘的性格也就我受的了。” 铭可:“我老公洛林就是个大傻,英雄主义的色胚,还喜欢大晚上勾引别人,还自吹什么无敌流剑术!” 魔力受阻症诺修贝尔.洛林是魔族新继任的君主,但却让他的老师西仆真赶了出来,被迫前往皇家魔法学院教书,本应想着摆烂生活的他,却不曾想还要担任起那群学生的保姆,次次危险都要提刀去救,过够之前废柴生活的他,彻底麻了,但随着一个邪恶组织的产生,一系列的计划将围绕自己而展开。 疑似是绝世高手?一刀斩掉暗夜圣龙,无限次拔刀,竟然只是一位魔导师? 在初级魔导师,大魔导师,领主魔导师,域主魔导师,圣阶魔导师,归藏魔导师,神级魔导师遍布的世界里,带领着自己的三位可爱女弟子开启了冒险与学院的一段生活。彼时的少年已经站在了成长尽头,回首过去,一切崎岖早已繁花盛开。2755年,人类开始走向星际文明时代,终端永恒号将是第一艘飞向星际文明的战舰。没错,我们的主角在这艘战舰中。维克特萨摩斯,外号狼或狼夜叉,身高195厘米、体重325斤。背后那刻画出来般的肌肉,直接印出魔神脸般的魔神背。总长3550米的终端永恒号战舰装备了全球最先进的扭空引擎与许多灭星武器…直逼多重宇宙级别,完全可以探索宇宙。此时维克特萨摩斯与他的妹妹维克特爱多琳满脸期待地坐在终端永恒号的指挥室中,他俩谨慎地看着以上船的500名新兵的资料。不知道在浩瀚的宇宙中,等待这502位战士的将会是什么?在未来期限的50年内,这次探索宇宙文明的途中他们是否能完成全体人类交给他们的使命?他们将决定未来的人类文明是否是其他宇宙文明的敌人,太阳系被开发得差不多啦,他们也决定人类的新家园。【黑客帝国+卡徒+宠物】 因为母亲遗物,沈钰打开了一扇用卡牌进行战斗获取奖励的新世界大门。 【场景卡】、【随从卡】、【强化卡】、【非凡命名卡】.... 各式各样的卡牌,诡异强大的功能,亦正亦邪的同伴。 这一切的背后到底隐藏着什么秘密? 你看到的一切你确定都是真实的吗? 唯有不断强大自身才能窥视一切迷雾的中心.... 但....最终的真相,你能够承受吗? 他拥有令人艳羡的身世,他的的父亲是一国元首,而他的人生际遇却从没有受到过任何优待。 他拥有天生异能,他是传说中十二神石之首--“力量之源”的主人,但是这个异能却总在他需要时失灵。 他资质平平,没有一点武技和魔法的修为,却被上古邪灵看中,成为邪灵寄生体,变成了邪灵的傀儡。 他的梦想只是做一个普通人,但是命运总是跟他开玩笑,让一些不普通的事情跟他扯上关系,让他成为众人的焦点。 一个一心只想成为平凡人的他如何成就了他不平凡的一生,他的一生福兮?祸兮?当宝可梦从上古进入地球,历史会是什么样的。
植入式营销有哪些形式 营销电商化 关系营销优点 遵义网站建设 企业网站怎么建站 网络安全软件滨江企业 互联网营销总结感受 网站布局有哪些常见的 个人上网确保网络安全 营销培训视频 前世缘份对现世的影响咨询【www.richdady.cn】 投资项目的前世因果【www.richdady.cn】 耳鸣的环境影响咨询【www.richdady.cn】 前世缘份【www.richdady.cn】 冤亲债主的干扰与化解技巧【www.richdady.cn】 什么原因意外的前世修行【微:qq383550880 】√转ihbwel 前世老婆的前世影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 迟缓儿的自我提升【企鹅383550880】√转ihbwel 儿子抑郁症的自我提升咨询【微:qq383550880 】√转ihbwel 孩子厌学的原因分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 失业的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 内心恐惧胆怯的前世记忆咨询【σσЗ8З55О88О√转ihbwel 婴灵的存在有哪些科学依据?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 头脑混沌的生活习惯咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的预防措施【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的常见案例威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家宅磁场的常见问题【微:qq383550880 】√转ihbwel 大龄剩女的社交技巧【www.richdady.cn】√转ihbwel 忧郁症的心理调适【www.richdady.cn】√转ihbwel 事业不顺的自我提升咨询【企鹅383550880】√转ihbwel vpn与网络安全pdf 网站布局有哪些常见的 企业微信手机片网站制作 nike网络营销案例 中心网络安全管理办法 全网营销产品套餐 网络营销与消费者 网络安全在哪设置 中山移动网站建设报价 信息安全专业考证吗 信息安全技术风险管理 信息安全(网络犯罪侦查 网络安全小工具 网站建设前期资料提供 关系营销 信息安全产品测评 营销电商化 体验营销中的关联体验 做网站的软件 信息安全认证技术有限公司 信息安全技术风险管理 2014 国家信息安全 建立网站的条件 网络营销知识运营网店 营销培训视频 信息安全一级资质 香港网络安全中心 网络安全基线标准 信息安全产品测评 网站建设费 中国信息安全认证中心诈骗 网站建设品 互联网信息网络安全技术保护措施 网络安全中CIDF英文缩写 老王解读网络安全法 信息安全分类分级指南 2014年 网络安全形势 老王解读网络安全法 网络营销与消费者 信息网络安全大会 网络安全攻击 网络事件营销的特点 个人上网确保网络安全 重庆网络营销怎么样 廊坊网站建设日本网络安全法律法规 国家信息安全局待遇 网络安全监测方式 静态网站有哪些优点 网站建设前期资料提供 提供信息安全服务 资质,-1 微网站案例 济南网络营销推广公司哪家好 宝山北京网站建设网络安全=信息安全 网络营销与管理 信息安全分类分级指南 四川冠辰网站建设 广东营销网站建设服务公司 贵州 网站建设 网站开发中 建个人网站 信息安全发展史 网站流程 服务定价营销概念 微网站案例 中国信息安全认证中心诈骗 潍坊网站推广 绿盟网络安全笔试题 营销竞争 平台的营销 信息安全风险评估涉及( )影响和脆弱性三者之间的可能性评估 如何利用搜索引擎开展营销活动 廊坊网站建设日本网络安全法律法规 信息安全 人员 计划 怎么样做网站的目录结构 网络安全管理系统品牌 信息安全专业博士,-1 企业公司网站 北京 《美国网络安全法》 网络推广营销招聘 网络安全基线标准 企业网站怎么建站 网络营销与消费者 发生信息安全紧急事件 网络安全知识测试 天津市网站制作 公司 珠海集团网站建设 南京信息安全 网络信息安全创新创业大赛 网络安全中CIDF英文缩写 网站的重要性 网络安全主要涉及信息存储安全信息传输安全网络应用安全等3个方面 网络安全监测方式 厦门网站排名优化软件 网站制作价格 政务网站开发 发生信息安全紧急事件 互联网营销总结感受 维护国家信息安全 网络营销行为有哪些 网络营销的特点和趋势 代加企业营销qq好友 信息安全(网络犯罪侦查 网络安全攻防linux 企业公司网站 北京 网络营销的特点和趋势 网络安全网络空间 佛山网站设计公司龙岗网站设计机构 外贸自动营销软件破解版 网络安全网络空间 网络信息安全讲义 凡客概念营销 闭环营销 客户服务 搜索引擎营销策略分析报告 如何利用搜索引擎开展营销活动 昌平网站建设网络安全条例 信息安全的基本目标 提供信息安全服务 资质,-1 个人上网确保网络安全 关系营销优点 个人网站建设 免费 信息安全测评机构的资质认定主要有哪些 大石桥网站 创建个人网站 网络推广营销招聘 泉州网站建设 dsp营销 中心网络安全管理办法 昌平网站建设网络安全条例 建立网站的条件 微博营销涉及的范围 网站布局有哪些常见的 运用政府职能 网络安全 泸州网站建设 做网站的软件 信息安全专业知识