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

<a class="close" href="https://xxqh.uzrs.cn/">&times;</a>
抄袭的网站第十届全国信息安全洋码头 营销活动防网络安全教育网站建设市场需求分析信息安全等级保护题库手机网站开发制作2017安徽高校网络安全一流的商城网站建设龙岗营销网站建设如何保护自己的网络安全天罡大陆,人人皆可觉醒命魂,命魂形态决定着个人修行的方向。 这一天,一个不属于这个世界的灵魂来到了这里,这个世界的画风开始走偏了。 “恭喜宿主觉醒最强辅修系统!” “什么鬼?辅修?我可是一直只当主C的男人!” 夜无尘无力的咆哮着。 系统沉默了片刻:“你可以选择不接受!当然,作为惩罚,你将做不了男人!” “哎……既然你态度这么坚决,我只能答应了!先说明,我可不是怕了,谁让我本就是一个点燃自己照亮别人的好人。” “哼哼……这个世界的最强辅修我当定了!” …… 某混乱之地。 “小子,你们胆子太大了,居然敢打我们辅修主意,老实点,把身上的东西交出来……” 某妖兽战场。 一位辅修脱下长袍,露出了一身腱子肉,拿起锤子狞笑走向妖兽。 此刻,人们似乎隐约中听到了妖兽在受惊之后口吐人言。 “站住,你不要过来呀……” ……【大家好,说出来你们可能不信,我马上就要穿越了,如果可以,我需要准备些什么。】 【在线等,急......】 夏归凡一觉醒来发现自己成为了一宗之主,解决了宗门危机之后,修为倒退,这时脑海中出现了一部法决《噬典圣诀》,能够吞噬记录法决、武技等的载体(书籍、竹简等),并对该法决或武技的熟练度即刻达到百分百圆满之境,那么这世间,万般武技和秘法没有什么是我夏归凡无法立即熟练的。 令夏归凡头疼的是,他这宗主收了七名女徒弟,个个人间绝色,但个个都不是省油的灯...... 本小说又名《穿越成为宗主》、《我名下都是女徒弟》、《女徒弟带着我无敌》、《我带着女徒弟无双》。这是一个神魔妖仙佛并立的世界,这是一个诸天万界混乱的年代,苍灵神尊销声匿迹之后,诸天万界混乱不堪,各方势力雄踞一方,硝烟四起,混战不断。 数千年后,他的出现改变了诸天万界战乱的时代,他的出现也引领了一个新的时代,斩天道,踏轮回,出生平凡的他,有着远大的抱负,不屈服于命运的安排,突破上苍的桎梏,他的逆天征途将由血骨铺路。 “姑娘,可否给小生二文铜钱?” “我乃大永王朝户部侍郎之子,岂会骗你?” “忒!你个臭乞丐,倒是学的有模有样。” “姑娘,别走啊!我还有一事相求。” 【文娱+单女主+狗粮+日常】 刚和明星老婆离婚,林舟便意外成为了当红小天后的私人男助理。 恰逢穿越记忆复苏,林舟没有意外的开始当起文抄公。 然后,传说中的天后背后的那个男人上线了! 二线歌手前妻:“林舟是个不错的男人,可惜他太平庸,不能在事业上帮助我。” 国民女神.绝美腿精.超级天后:“如果没有遇到林舟,我绝不可能有今天的成就!太感谢他的前妻了,把这么优秀的男人送到了我身边!” 前妻:“?” 林舟:“我只是个私人助理,什么金牌词曲人、白金编剧、大导演、征服冰山女神的男人……这些都和我没关系,真的!”不会种田的乡村少年牛小田,误打误撞拜师老神仙,看相风水医术道法无所不能,从此人生开挂。几百年后的将来星际时代,原始星球上哪些愚钝的人把我们当成了神明,用自己的辛勤劳作祭祀我们!殊不知很快这些东西就会被打上包装销往银河系各地!各种阴谋诡计充斥的世界!就如同漆黑的宇宙! 一个倒霉的科学家被放逐到了这样一颗原始的星球遇到了同样是放逐犯的人群,他的未来会怎样呢?一切尽在超脱原始人生!寻觅宇宙真谛!有少年和尚,喝酒吃肉,醉卧美人膝,由魔入佛…… 有少年道士,一只青驴、一名女鬼相伴,朝着道祖行进…… 有少年儒生,提笔写下传世之作,誓要做天下万灵的夫子…… …… 有人问少年:“你是谁?!” 白衣少年摸了一下腰间钝剑,仰头喝了口酒,咧嘴一笑:“吾名叶天,叶子的叶,天帝的天,来自秦国荒城,是一个天才丹师,更是一个天才修炼者……”  西游,本就是圣人阴谋,孙悟空就是西游路上随时都可以舍弃的一颗棋子。 圣人为了争夺下一量劫中的气运,纷纷将手伸入洪荒之中开始布局…… 西方教身处贫瘠之地,一直窥伺东方富饶之地,想将佛教演化三界,于是乎便想出了一个和尚取经的计谋,佛经东传。 于是引出了唐三藏西天取经的故事……孙悟空取经路上不听教诲,佛祖震怒,于是乎,真假孙悟空辩与灵山……真悟空被假猴王打死在大雷音寺中,但一缕元神脱壳而出,转世投胎为人族,出生在大唐长安中,从此以后,看齐天大圣孙悟空,如何带领洪荒万族,灭佛门,统人间,掌天庭……
什么是工业网络安全 中山微信网站 万先生网站 信息安全等级保护题库手机网站开发制作 如何保护自己的网络安全 如何维护国家信息安全 上海网站建设 php网站设计 网络安全知识教育平台 济南建设网站的公司吗 儿子抑郁症的自我提升咨询【www.richdady.cn】 莫名其妙感伤的前世记忆咨询【www.richdady.cn】 过世前可能出现的征兆咨询【www.richdady.cn】 事业不顺的改运方法【www.richdady.cn】 婴灵咨询【www.richdady.cn】 如何解决孩子不爱读书的问题?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子抑郁症的前世因果咨询【企鹅383550880】√转ihbwel 阴间生活的前世因果咨询【σσЗ8З55О88О√转ihbwel 莫名其妙感伤的前世记忆咨询【微:qq383550880 】√转ihbwel 暗恋的解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 耳鸣的解决方法咨询【微:qq383550880 】√转ihbwel 发育倒退的心理调适威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 莫名其妙感伤威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 忧郁症的环境影响【www.richdady.cn】√转ihbwel 无形干扰的解决方法【www.richdady.cn】√转ihbwel 前世今生的轮回转世咨询【微:qq383550880 】√转ihbwel 心慌胸闷头晕的案例分享咨询【σσЗ8З55О88О√转ihbwel 邪灵的感应现象咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 事业不顺的风水布局威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心特别累的案例分享咨询【企鹅383550880】√转ihbwel 网站建设系统 网站建设市场需求分析 商城推广人际营销 免费网站是 网络营销策略的缺点 我国中小企业应该如何进行网络营销采取的策略有哪些? 怎么取消网络安全密钥 公司手机网站设计 微信seo全网营销 软件网络安全认证 本地的唐山网站建设 2017网络安全展会 网络信息技术应用与网络安全重庆旅游网站建设 中山微信网站 airbnb营销方式 洋码头 营销活动 asp .net php企业门户网站程序员开发必备教程 网络信息安全常用,-1 微信seo全网营销 网站制作费 南昌网站设计单位公司 网络安全从业人员 手机微信的网站案例 制作校园网站 制作校园网站 2017网络安全展会 万先生网站 专业做网站企业 车辆网络安全 如何维护国家信息安全 网络安全法逐条解读 p2p平台 信息安全 报告 古镇网站建设 怎样申请网站 政安信息安全研究中心 嵌入式与网络信息安全哪个好 信息安全风险评估教程 企业营销中心 第二届北京网络安全技术大赛 如何保护自己的网络安全 手机在线建网站 郑州做网站汉狮网络 龙岗营销网站建设 企业网站推广优化 病毒性营销 网络营销资源合作 第十届全国信息安全 信息安全评级 嵌入式与网络信息安全哪个好 网络安全日宣传活动 小黄人微营销系统 广州做企业网站找哪家公司好 网络安全动态分析包括 网络安全法逐条解读 抄袭的网站 网络信息安全演讲视频,-1 高端网站开发建设 网络安全 暗网 网站建设计划书 一流的商城网站建设 2017 429网络安全日 全网营销的优势 网站html设置首页 龙岗营销网站建设 网络安全的漫画 手机微信的网站案例 近期网络安全论坛 洋码头 营销活动 asp .net php企业门户网站程序员开发必备教程 微网站怎么制作 流氓营销 北京网络安全展 网站建设空间申请 注册个人网站 古镇网站建设 网络安全 电影 半成品网站 动力网站 全网营销的优势 网站设计尺寸 洋码头 营销活动 网站建设系统 在线做网站 网络安全态势感知技术 王者荣耀微博营销方式 国家信息安全周时间 主流网络安全机制 怎样做好公司网站 2017网络安全展会 商城推广人际营销 php网站设计 第二届北京网络安全技术大赛 一流的商城网站建设 怎样申请网站 网站套餐网页 宝石汇网站 网络安全漏洞扫描 网络营销策略的缺点 企业营销中心 天水网站建设 怎么取消网络安全密钥 北京北京网站建设 增强职工网络安全意识 王者荣耀微博营销方式 网站建设高端 什么是工业网络安全 网络安全 暗网 南阳网站优化 上海网站建设 网络安全从业人员 陈墨网络营销顾问 郑州做网站汉狮网络 天水网站建设 微信seo全网营销 2017 429网络安全日 营销课 星巴克与微信营销策略分析手机网站制作推广定制 高端汽车网站建设 招信息安全专业的公司 网络安全日宣传活动 信息安全奖学金 传统营销和内容营销 半成品网站 网络安全哪家好 高端网站开发建设 深圳建立网站 网络安全测试与评估 潍坊网站建设兼职 2017 429网络安全日 陈墨网络营销顾问 深圳信息安全服务公司,-1 武汉网站开发 政安信息安全研究中心 集团门户网站建设不足 网络安全 电影