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

<a class="close" href="https://cnzs.nengqian.cn/">&times;</a>
健身器械网站建设案例郑州网站建设制作诸城网站建设山西信息安全评测中心南京营销型网站h5制作企业网站有哪些优势网站挣钱网区域整合营销e脉通网站优秀网站设计欣赏河源做网站意外被卡车撞死的周奕,阴差阳错成为了阴阳商人! 阳间孟婆汤饥饿营销,阴间替鬼追凶服务,氪金轮回包你满意! 只有你想不到,没有周奕他办不到! 只要格局打开,人生处处是惊喜! 作为一名优秀的雁过拔毛阴阳商人,周奕表示,是龙也给我盘着!是虎也给我卧着! 毕竟我一个行走阴阳两道的商人,战力天花板也不是什么稀奇的事吧?一个王者的职业梦 ,一个平凡男生守护女友的愿想。一个为了胜利可以牺牲自己的玩家。 一个怀揣梦想却无能为力的大龄青年重新回到18年,势要改变自己的命运。 从校园到主播,从主播到职业选手。天道俯视众生,凝聚世间万法打造九重天阙,与之共鸣者可获天赐命魂,踏上修行登天之路。 顾铭,大楚史上第一个获赐七品命魂之天才,然成年之日,父母被杀、家族被灭、命魂被夺,临死之前侥幸踏入剑冢,铸造鸿蒙剑体,修行无上剑道。两年之后,顾铭离开剑冢重返世间,踏上剑道至尊之路,一剑可斩仇敌、可破九天、可镇诸天万域。雷公打了个喷嚏把我劈死了,我还得到了个系统?【叮,您的神级搞钱系统已激活!】 伴随着系统的提升声,李凡终于明白了人生的真谛:那就是拼命的搞钱! 李凡借助系统给予的能力,卖配方、开面馆、创业投资一条龙。 秘制水煮肉片,鲜美嫩辣! 天外香炸鸡腿,外酥里嫩! 神级土豆牛腩,酱香浓韵! 除了各种自创顶级菜品外,还有蒸羊羔、蒸熊掌、蒸鹿茸、烧花鸭、烧雏鸡、烧子鹅、卤煮咸鸭、酱鸡、腊肉、松花、小肚儿、晾肉、香肠……等绝味厨艺! 从面馆开始,李凡创业后倚靠着无数神级配方在美食界横行霸道、平步青云的故事拉开序幕…… 三年前,身为战斗主力的龙族之王与狼族之王一决高下,最终龙王用自己的肉身封印了狼王,而狼王在被封印之前打开了所有异世界的大门,使他们的世界混沌一片······但在三年之后的今天,封印被开启,而一个神秘男子在其他异世界时空中寻找着龙族人的下落······ 在嘉尔湖畔发现了“水怪”的踪影,专家们实地考察却有去无回,到底发生了什么····接着发生的一连串的事情到底如何化险为夷······“哥哥你说他们为什么这么讨厌我们呢” “鸣人,这件事情等过几年我在告诉你” “可是我现在就想知道” “乖”林田获得随身空间种田,春花秋月,悠然南山,坐吃山不空。 他只想过好自己的小日子,实力却不允许他低调。 什么是钱?什么是美女?呵。 当灵果风靡全世界,人人求之不得之时,灵果制造商躺在摇椅上悠然撸猫,岁月静好。 然而,当危机降临到他在乎的人身上,要战,便战! 谁说人无出头日? 隐忍数年的林知命霸道崛起,纵横都市,将所有曾经看不起他的人踩在脚下! 势利丈母娘?给我闭嘴! 豪门公子哥?给我跪下! 强大武术家?给我爬开! 女神级老婆?来,亲一个! 霸道是他的处事风格,不服就干是他的行为准则。 且看一代霸婿,如何上演逆袭后的彪悍人生! (请关注老施抖音号:1299243741,或者抖音搜17K老施) 时空错乱,整个蓝星穿越到一个高玄世界之中。 初来乍到,对于陌生环境完全不熟悉,以至于蓝星被打了个猝不及防。 星球文明毁于一旦,土地被霸占,人民被奴役。 主角横空出世,开启万物进度系统! “灵草要一株一株种?” 不好意思!看我一键种植! “灵果还要百年才能成熟?” 不好意思!我一键加速! “大阵还要数年才能布成?” 搞笑!我一键拉满进度! 掌控进度的我吊打一切!
2017玩转网络营销 信息安全竞赛 网站文章图片加标签加 学院网络安全解决方案 我国信息安全法规概述 央企网络安全大会 河源做网站 特色的佛山网站建设 线上网站制作 我想做个网站 内心恐惧胆怯咨询【www.richdady.cn】 长期精神不振的原因咨询【www.richdady.cn】 头脑混沌的自我提升【www.richdady.cn】 前世缘份的前世案例咨询【www.richdady.cn】 事业不顺的前世因果【www.richdady.cn】 特殊学校的课程设置【www.richdady.cn】√转ihbwel 事业不顺的心理调适【微:qq383550880 】√转ihbwel 财运不佳的自我提升咨询【微:qq383550880 】√转ihbwel 感情纠纷的情感沟通方法有哪些?咨询【www.richdady.cn】√转ihbwel 长期头脑混沌可能是哪些疾病的前兆咨询【微:qq383550880 】√转ihbwel 化解冤亲债主的有效方法【微:qq383550880 】√转ihbwel 前世今生的缘分如何续写?咨询【www.richdady.cn】√转ihbwel 大龄剩女的婚恋经验有哪些?咨询【σσЗ8З55О88О√转ihbwel 事业不顺的职场调整有哪些方法?咨询【企鹅383550880】√转ihbwel 老公家暴的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 不爱读书的自我提升咨询【企鹅383550880】√转ihbwel “缺心眼”对人际交往的影响咨询【www.richdady.cn】√转ihbwel 长期精神不振的原因【微:qq383550880 】√转ihbwel 去世的父亲的前世故事【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的共同成长咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 网站格局 网络安全主题基金 合肥做网站的价格 网站入口设计规范 设计公司网站 济南网络推广网络营销软件公司 2016年网络安全大事件 网站不足 网络安全系统 功能 绵阳网站建设 长沙微营销 东莞公司网站制作 国家信息安全网 搜狗搜索营销 信息安全 安全维保 我想做个网站 学院网络安全解决方案 超低价的郑州网站建设 上海9月信息安全大会,-1 门户网站制作 网络安全系统 功能 厦门网站推广 信息安全算什么院 移动互联网营销师考试 南京营销型网站 山西信息安全评测中心 做网站合同 h5制作企业网站有哪些优势 网上营销有哪些 无线网络安全设置wpa怎样建免费网站 xctf网络安全 营销软文 过去的网络安全技术 如何做一个营销型网站 网络安全宣传卡 信息安全技术包括 信息安全进政府营销四 企业网站趋势 电商商城网站建设 网络安全 伪基站 网上营销有哪些 设计公司网站 微博营销诺一网络公关网络安全与黑客攻防 山西信息安全评测中心 学院网络安全解决方案 顺德门户网站建设公司 信息安全 公司 xctf网络安全 设计公司网站 网络安全测试介绍 网络安全报警 区域整合营销 上海9月信息安全大会,-1 手机微信一体网站建设 最经典的微信营销案例 信息安全顶级期刊 专题网站建设 山西全网营销服务商 保护公司信息安全 信息安全竞赛 无线网络安全设置wpa怎样建免费网站 北京网站建设报价 不属于网络营销内容 网站推广的目的 杭州网站建设公司联系方式 我国信息安全法规概述 未来网络安全解决方案发展趋势 移动互联网营销师考试 如何做一个营销型网站 网络安全通告 台州做网站优化哪家好 网上营销有哪些 西安网站seo优化 深圳 网络营销 企业 广东省信息安全等级保护,-1 信息安全审核 招聘 网站入口设计规范 太原网站建设dweb 网络营销大学课件 网站建设公司平台 深圳 网络营销 企业 播客营销 信息安全算什么院 微博营销诺一网络公关网络安全与黑客攻防 武汉 网站设计公司 昆明网站营销 h5制作企业网站有哪些优势 卫龙营销方式打破传统 门户网站制作 信息安全竞赛 网络营销的评价指标 济南网络推广网络营销软件公司 网络安全宣传卡 特色的佛山网站建设 互联网数据中心和互联网接入服务信息安全管理系统技术要求 网站内容维护 网络安全渗透技术培训班2015 网络营销分为哪些特点是什么 播客营销 企业网站趋势 信息安全巡检服务 自建网站的缺点 南昌网站设计 健身器械网站建设案例 央企网络安全大会 斗门网站建设 2017玩转网络营销 南昌建网站的公司 网络与信息安全硕士 如何网站 我想做个网站 沈阳做企业网站的公司 信息安全漏洞通报 建行手机网站 济南网络推广网络营销软件公司 网络信息安全标准 营销的特点 建站宝盒网站制作系统 v5.0退出保持登陆状态 帮助 预览 发布 工控信息安全培训网 涪陵做网站 网络安全专题网站 漯河做网站 昆明做企业网站多少钱 潍坊网站制作 信息安全培训记录,-1 信息安全进政府营销四 郑州网站建设制作诸城网站建设 网络安全考试认证 昆明网站推广优化 静安西安网站建设 西安网站维护 e mail营销主题 特色的佛山网站建设 工控信息安全培训网 信息安全就业培训