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

<a class="close" href="https://dwr.nengpi.cn/">&times;</a>
获取网站访问量内容营销的特点是什么上海信息安全有限公司1.2信息交流与网络安全信息安全中的des加密算法信息安全中的des加密算法信息安全条例 确定网络营销网站建设实训vpn技术与网络安全案例网络营销竞争大吗 在90年代初期,年轻的特种兵唐枫接到一次特殊的任务.....来到青城市,在这里邂逅纯真的爱情,真挚的友情,凭借他过人的睿智上演了一场酣畅淋漓的铁血柔情!大千世界表面上处处风光,实则危机四伏,一场巨大浩劫降临,王级强者堪堪自保,亿万生灵涂炭,一代天骄横空出世,纵横世间,如青松般万古长青于世,亘古长存于野,看主宰之路,谁主沉浮!在清末,位于滇藏川交界处的阿墩子,发生了很多可歌可泣的故事,也发生了很多凄美的爱情。一代战神穿越异界成为大秦废物藩王。 有名无权?这怎么行!先把大权握在手中! 草原蛮子南下叩关了? 二营长把本王新造的大炮拉出来,今儿教你们打炮! 大漠匈奴也要凑热闹? 二营长,给我一起轰了! 江湖高手觉得本王太残暴,要替天行道? 二营长!! 算了,这次在后面鼓掌就行了,看本王一人打穿你整座江湖!本系统旨在帮助宿主在异界传播地球文化科技,只要发明创造。就能获得相应点数 恭喜宿主创作《西游记》,文化点+12 恭喜宿主创立大乘佛教学说,哲学点+27 恭喜宿主发明飞机,技术点+15 恭喜宿主提出电磁学理论,科学点+21 …… 叶云升修真十五年,日常生活就是发明一些超越时代的机器、创作一些文学经典,或是提出一些惊世骇俗的科学理论,十五年过去了,他惊讶地发现,自己已经无敌了。我本是剑道门派一名不起眼的弟子,一次机缘巧合下得到了一根笛子,那一天一切都变了……【2021年爆火迪化流洪荒文】 穿越到洪荒世界,还是个手无寸铁的凡人,本以为靠着系统能横行洪荒,没想到系统居然还跑了,这可怎么搞? 最关键的是封神在即,这可是连圣人无法避免的天地量劫! 林轩表示,咱还是先苟着吧! 但让他没想到的是,他随手打下的鸡,居然是鲲鹏妖师! 被他逗的满脸通红的美女,是西王母和三霄娘娘! 林轩懵了,他其实真的只想苟啊!天道有缺,世间最强体质神魔霸体被天道所摒弃,十五年忍辱,终将迎来曙光! 大道枷锁自束己身桎梏又如何?我自当逆战苍穹,笑傲九重天,神挡杀神,佛挡弑佛,逍遥天地间! 一日破关,我为尊,一拳荡寰宇,一脚山河溃,一静万物生,一动诸天陨,一念可化阴阳轮回,一念可镇压永恒万古! 我为太古第一神王,天骄至尊皆是我帝路上尸山血海! 我当以一双铁拳,粉碎诸天万界,天道也不行! 百年重生,只为重踏巅峰,剑斩苍穹,找回曾经属于自己的传说。 天下第一圣重生百年后,修无上神功,五尺青锋披荆斩棘,争霸天下。 纵死无悔修行路,战血永久不灭,让老苏带你走进璀璨瑰丽的玄幻世界,和主角一起踏上争霸之路,挥洒战血和汗水。【至尊盟:102827635,至尊盟2群:236348988天才府:184868215,微信公众号:苏月夕。】 拥有天赋【剑道通神】的孟凡,重生到修仙世界,成为蜀山剑派的剑阁守剑人。   触摸到“七星剑”,获得七星剑诀。   触摸到“镇妖剑”,获得斩妖剑意。   触摸到“伏羲剑”,获得伏羲神体。   ……   在剑阁守剑的这些年。   有出生卑微的乞丐,千辛万苦来剑阁求剑,经孟凡指点,修成名动天下的降龙尊者!   有皇朝公主来剑阁撒野,经过孟凡的调教,成为当世女帝!   有魔道魔子前来剑阁盗剑,被孟凡教训后怀恨在心,欲有朝一日寻孟凡报仇!   有佛门弃徒到剑阁养剑,一朝顿悟,半魔半佛,成就当世唯一一尊魔佛!   ……   八十年后,妖魔入侵,锁妖塔坍塌,蜀山大乱!   早已修成陆地剑仙的孟凡,缓缓走出剑阁。   “我有一剑,可降妖,除魔,诛仙,斩神,灭佛,通天,彻地!”
信息安全演讲,-1 近几年的网络安全事件 天津理工信息安全课程 网络安全应急响应机制 大学生信息安全比赛 潍坊网站推广 网站维护与建设内容 重庆建设网站 信息安全等级保护背景,-1 瑞星网络安全预警系统 外灵干扰对日常生活的影响【www.richdady.cn】 莫名其妙感伤的案例分享咨询【www.richdady.cn】 前世老公的前世缘分【www.richdady.cn】 外灵干扰的解决方法咨询【www.richdady.cn】 婚姻生活不顺的前世因果咨询【www.richdady.cn】 冤亲债主的前世今生【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 脑部不清晰的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子不读书的前世记忆咨询【微:qq383550880 】√转ihbwel 前世缘份的修行建议【微:qq383550880 】√转ihbwel 财运不佳的财富管理方法有哪些?【企鹅383550880】√转ihbwel 失业后如何快速找到新工作咨询【微:qq383550880 】√转ihbwel 外灵干扰的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 存不住钱的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 学习成绩差的咨询技巧【企鹅383550880】√转ihbwel 亲子关系的心理建设【企鹅383550880】√转ihbwel 亲子关系的情感交流【微:qq383550880 】√转ihbwel 儿子抑郁症的自我提升咨询【www.richdady.cn】√转ihbwel 孩子厌学的环境影响【σσЗ8З55О88О√转ihbwel 纠纷的法律咨询【σσЗ8З55О88О√转ihbwel 暗恋的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 网络安全管理的意见 传统营销 重庆营销策划 美国信息安全排名 信息安全等级保护 费用 2015工业控制网络安全态势报告 上饶做网站 领英公司主页营销 信息安全在线实验室 上海信息安全有限公司 营销型网站的作用 获取网站访问量 自己建的网站打开的特别慢 信息安全我国 html5 网站 信息安全条例 确定 网络安全百强 传统营销 重庆营销策划 美国信息安全排名 信息安全等级保护 费用 2015工业控制网络安全态势报告 上饶做网站 领英公司主页营销 信息安全在线实验室 上海信息安全有限公司 营销型网站的作用 获取网站访问量 自己建的网站打开的特别慢 信息安全我国 网站竞价 互联网广告营销策划方案 网站内容添加 软件资质 信息安全认证 电子工厂网站建设 南通网站制作外包 上海高端建站网站 信息安全论文1500 二级域名网站权重 创意网站建设公司 深圳营销型网站建设电话 营销技巧吧 南通网站制作外包 信息安全条例 确定 沧州做网站 广州网站维护 广州网站维护 如何让百度收录网站 全国信息安全大赛 营销突破 泸州网站建设 信息安全服务市场现状分析 网络安全管理的意见 无线网络安全网关 b2b营销推广 网络安全的专业 重庆做网站哪家公司好 创新的手机网站建设 龙岗营销网站建设公司 网络安全技术的选择 深圳网站设计平台 领英公司主页营销 互联网广告营销策划方案 云南营销策划培训 制作网站报价 顺德营销网站设计 网络安全事故盘点 自己建的网站打开的特别慢 2015工业控制网络安全态势报告 电子工厂网站建设 海南网站制作 信息安全我国 网站制作建设 瑞星网络安全预警系统 个人手机版网站建设 什么是信息安全禹州网站建设 网络安全技术的选择 免费网站申请域名com 青岛的网站设计 制作网站报价 人员管理是信息安全工作的核心内容 网站制作建设 产品网络整合营销方案 镇江网站建设公司 信息安全网络安全 网络安全 标准 免费足网站 华为信息安全服务证书 企业微信手机片网站制作 山东做网站 创新的手机网站建设 网站维护与建设内容 常德做网站 天津市网站制作 公司 2016网络安全事件统计 建微网站 cisp注册信息安全专业人员 网站转微信小程序开发政府 网络安全方案 营销综合平台建设 石景山广州网站建设 何为信息安全二级等保 信息安全有哪些应用 b2b网络营销的难点 信息安全设计 美国网络安全标准体系 重庆网络营销代理 珠海专业医疗网站建设 网站被黑 网站维护与建设内容 网络安全管理系统 公安 iphone网络安全 cisp注册信息安全专业人员 网站制作时如何分析竞争对手宁德网站建设 美国网络安全标准体系 信息安全的基本要求是 渭南网站建设 网络营销产品缺点 重庆营销策划 互联网全网营销公司 传统营销 软件资质 信息安全认证 做网站百度 渭南网站建设 网络营销工程师培训 信息安全在线实验室 信息安全网络安全 大学生信息安全比赛 搜索引擎营销的发展 上海网络安全代理 百度网络营销搜索推广 网络安全百强 计算机网络安全技术分析 免费注册网站 海南网站制作 怎么提高网络安全意识