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

<a class="close" href="https://xw7n.550022.cn/">&times;</a>
上海知名网站建设公司沙井做网站网络营销组织形式有哪些特点是什么意思上海网站设计建设网站页面设计稿网络安全的原因分析小榄网站设计电子商务新网络营销网络营销引擎网络安全监控东土国沿海的一户贫困人家的女儿蔡钟生与海鲜门店老板的儿子柳三军早恋生子,后来阴错阳差迁往内地生活,因劣根深厚,频频造孽,死后轮回转世为猴、鸡、蟑螂等多种禽兽虫豸偿还宿债。 继而再次转世变成鸽子,被主人训为信鸽,在一次战役中送信,使成千上万的老百姓逃离出来而保全生命。在送信途中,不幸被猛禽猎杀而魂归地府,阎王见它有功,赐它转生人身,成为一个爱唱歌的女人。 五百年后,又经过多世的轮回,先后变蝉、丹顶鹤和专为穷人治病的医生,由于素行善举,广积阴德,至上寿而殁。 又一世,他生在一个钱姓居士家里,取名济世。幼习佛经,后出家住庙修行,积极倡导护生放生,正值高龄,他把寺庙收拾得非常干净。一天,他跏趺而坐双手合十,脸带微笑。忽然凌空一声巨响,众人掩耳下视,发现老僧的打坐过的位置什么也没有,只留下毛发和指甲;再抬头看时,天上出现一道彩虹。有人高兴地叫道:钱和尚虹化了。 千年前妖族天才 宫未仙 鱼化蛟龙,强势踏入虚仙境, 为躲避妖后之争,祸乱人间界。封仙体率人间众高手,以命镇封宫未仙千年。 麻衣领袖推算出宫未仙即将破封而出,而新一代的封仙体迟迟没有出现,麻衣领袖入古族商谈找寻封仙体之事。 新一代封仙体封暮寒自平凡中,一路颠颠撞撞走来, 度阿飘,封恶人,镇妖邪,框正义,护天道, 面对背叛,不解,从未迷失自己,始终以天下苍生为己任,终入巅峰。法师们目空一切,贵族们高高在上,大商会只手遮天;在这人吃人的世界里,我看到了深渊的触角,文明的退化,和微弱的希望。魔尊李长风逃婚来到了人界,因贪恋人间美食被卷入一段段因果。 武林绝学重出江湖,上到大门派,下到小刀客,都为之痴狂,且看破落门阀后人宁启如何快意江湖~九龙大陆,强者为尊,武道一途,与天争命,且看一朝皇子,凭三尺长剑,如何皇临天下!武道巅峰,谁为皇? 为了心中的一丝执念,阳炎勤修武,争太子,夺皇位,战天下,历生死,证武道,破轮回! 号令天下,莫敢不从!混迹于政治场上长大的皇子,立誓要做一位明君。奈何寒来暑往物换星移,登上龙椅执掌天下时,才知皇帝的不易。酒池肉林夜夜笙歌,使其明君之路步履维艰,最终成为了要美人不要江山的快活皇帝。2030年代及以后,由于兔子在可控核聚变技术和人工智能方面取得的伟大成就,使其综合国力大幅跃升成为了蓝星第一的存在。世界再次变为了两极,与之不同的是和传统帝国主义相比,兔子显然有着更高的追求目标。虽有着强大的武备,但却没有搞侵略扩张。和平发展路线和人类 命运共同体理念得到了世界各国(除了大漂亮)的广泛赞誉。欧罗巴,脚盆,棒子等也纷纷抛弃了大漂亮,和华夏展开了全方位合作。一时间人类高度团结在一起,共同奔赴更加美好的未来 然而,人们逐渐发现,人类的诞生似乎隐藏着巨大的秘密。南极冰层下埋藏的罪恶,上一代文明的伟大。纳粹和共耀会的终极目标? 共耀会一个控制世界几百年的秘密组织,创造过无数超级帝国,西班牙,日不落,鹰酱。巅峰时期门生故吏遍天下,他们不断挑动宗教对立,思想对立,种族对立。没有人知道他们的目的是什么?但随着30年代的到来及上述大事的发生,这个组织的影响力目前已被压制在,美洲大陆。但他们会束手吗大千世界表面上处处风光,实则危机四伏,一场巨大浩劫降临,王级强者堪堪自保,亿万生灵涂炭,一代天骄横空出世,纵横世间,如青松般万古长青于世,亘古长存于野,看主宰之路,谁主沉浮!混沌凶兽,千古一佛,妖祸魔灾,圣佛救世。 渡天之劫,逆天之行;乱世风云涌,妖祸兴魔灾。 顺天之命,应天之道;邪魅鬼鲛行,不改诛魔志。
外贸模板网站深圳 单页面营销 网络安全测试 免费申请网站 互联网营销平台 官方网站欣赏校园 网络安全 杭州微网站建设 网络安全基础操作 网络安全产品选型 云南网站建 发育倒退的咨询技巧咨询【www.richdady.cn】 孩子不爱读书的阅读计划【www.richdady.cn】 财运不佳的财富管理咨询【www.richdady.cn】 发育倒退的案例分享【www.richdady.cn】 孩子压力大的教育建议咨询【www.richdady.cn】 前世今生的故事与轮回【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 为什么过世的前世因果咨询【www.richdady.cn】√转ihbwel 前世缘份的前世今生咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的理财技巧有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 干扰的常见类型【企鹅383550880】√转ihbwel 亲子关系的互动模式咨询【微:qq383550880 】√转ihbwel 去世的父亲在哪【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 灵魂化解的意义【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情纠纷的前世因果咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感调解【www.richdady.cn】√转ihbwel 为什么过世的原因分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与老公前世的因果关系咨询【企鹅383550880】√转ihbwel 暗恋的解决方法【微:qq383550880 】√转ihbwel 婚姻生活不顺的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 阴间生活的前世影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 网络广告营销的优缺点 信息安全研究中心 免费申请网站 2017新网络安全法 网站多语言 企业网络安全的 2017年信息安全报告 网站运营模式 公司网络安全通知 多个zencart网站收款邮箱绑定到同一个paypal主账号 合肥网站优化 沙井做网站 网络安全现状及前景 设计 网站 信息安全服务资质证书查询 网络安全测试 网络安全情况 网络安全宣传信通公司 企业信息安全软件 公安网络安全考试信息安全国家重点 活动营销网 手机设计培训网站建设 网站设计公司 无锡 兰州网站建设公司排名 外贸模板网站深圳 福州网站建设案例 长春营销外包 深圳网站维护有限公司 做定制网站 网络安全产品选型 网络安全的信息 宣城网站建设 上海做网站的公司官网 柳市做公司网站 企业网络安全风险评估 给会所做网站 网络安全情况 242信息安全计划 网络安全基础操作 信息安全研究中心 企业网站 三合一 网络安全技术专业 深圳企业网站建设报价 小榄网站设计 信息技术与信息安全 域名分为 网络营销引擎 广东信息安全测评,-1 合肥网站优化 网络营销与网络销售的关系 网络安全检测评估 营销型网站特点 深圳信息安全大学 上海知名网站建设公司 兰州网站推广 网络安全现状及前景 阜新网站建设 网络营销带来的好处 黑客做网络安全怎么挣钱 信息安全服务资质证书查询 单页面营销 合肥网站优化 天创网站 建网站程序 云南省网站建设 网站套餐 活动营销网 清华本科信息安全 我国网络营销环境现状 网络安全技术专业 网站套餐 网站开发培训 浙江 网络安全企业 网站制作员 网站开发培训 网站推广优化张店 网络安全现状及前景 绵阳科技网站建设 深圳企业网站建设报价 网络营销组织形式有哪些特点是什么意思 上海做网站的公司官网 企业网络安全风险评估 湘潭网站seo 珠海网站优化 天猫网络营销手段 网站设计存在的不足 网络安全的书 shark 建立网站备案需要什么资料 网络安全有哪些技术 小榄网站设计 新网站制作平台 网站多语言 海珠做网站 近年来信息安全大事件 信息安全培训试题,-1 网站设计分享 2015 信息安全报告制度 重庆网络营销战略设计 云南网站建 企业信息安全软件 网站页面设计稿 南京信息安全运维 重庆网络营销战略设计 网站建设的目标有哪些 营销型网站特点 网络营销引擎 杭州品牌网站建设 公安网络安全考试信息安全国家重点 建立网站备案需要什么资料 网络广告营销的优缺点 网站推广优化张店 网络安全检测评估 整合营销公司简介如何制作网站 信息安全防范的基本方法 浙江信息网络安全服务协会 网络安全技术之常见病毒种类与杀毒软件分析 深圳手机网站设计 网络与信息安全监控记录表 成都网络营销 网络安全监控 公司信息安全组织架构 为什么要网络安全 免费申请网站 设计 网站 苏州网站推广 整合营销公司简介如何制作网站 深圳网络营销三只蜘蛛 公司网络安全通知 什么叫邮件营销 信息安全共享 柳市做公司网站 网络安全基础ppt 企业网络安全的 简述网络营销内容 外贸模板网站深圳 企业网络安全风险评估