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

<a class="close" href="https://ptgd.uzrs.cn/">&times;</a>
信息安全在重庆怎么样技术支持:淄博网站建设技术支持:淄博网站建设浙江乾冠信息安全国家制定并不断完善网络安全战略全面评估整合营销 线上活动腾风网络安全团队互联网营销 培训大师网络安全2017的大事件信息安全 文件幽魂怨鬼频频出现,这是意味着什么吗?世间即将大乱吗? 在阴穴里滋养数十年的厉鬼,我该怎么去应付? 被饿鬼蚕食的人类,我该怎么去拯救? 从地狱里冲出的鬼潮,我又该如何面对… 隐藏在世间的妖魔,我又该如何分辨… 埋在地里的千年僵尸,我又该如何消灭… 面对冤魂厉鬼我也很害怕,稍不留神就会要了我的命! 一声枪响,彻底打破了海天市的宁静。一起持枪杀人案就这样发生了,案发之后,海天市公安局立即展开侦破工作。于是,就开始了一场正义与邪恶的较量。三生三世终不见,一怒而断忘川河。想要变强吗?想要成为不可一世之人吗?去吧!去读书吧!没错我把一切都放在了那里! 学渣资质的单良表示:问题不大,大也没用。升级干就完了,另外赌狗必死。在这片神奇的大陆上,分为武师,圣武师,武灵,武尊,武宗,武王,武圣,武皇,武帝......每个人还可以和契约兽达成契约,以助其修炼,每个人都在向往成为武帝,墨晔也不例外......之前重生99次,叶凡都被系统因为各种原因坑死了。 这一世他想只想做一条躺平的咸鱼,让修炼见鬼去吧! 于是,系统含泪帮叶凡签到,极品灵宠却差点被叶凡端上饭桌; 极品功法被叶凡拿去垫了桌子腿; 绝世神兵成了新的烧火棍! 【警告!宿主即将遭受毁灭性打击!】 【警告!唉算了,启动自动反击程序……】 系统:宿主,你就不能假装修炼一下吗?一个现代人到了古代会做什么。 裴尘对自己说: 如果这一切都是梦,梦醒时自然烟消云散。 如果这一切不是梦,那我要做的就是,好好活着,也让我身边的人,好好活着。 大周王朝,内忧外患,民不聊生,在这样的环境下,自己不愿随波逐流,想要改变。 事情要么不做,要么就做到极致。 纺织、制弩、黑火药、香皂、制盐、炼钢…… 一步一步的布局,一点一点的强大。 也有对喜欢人儿的心动、感动、冲动,以及对传说中武功的向往。  唐听白魂穿异界,成为大燕皇帝,觉醒最强王者系统,不断完成系统任务,获得王者英雄!   斗文臣?派个诸葛亮就够了!   收兵权?我儿奉先何在?   剿灭叛乱附属国?关羽、孙策你俩去吧!   朝堂得意,唐听白的后宫更是幸福。   妲己:请尽情吩咐妲己,主人。   大乔、小乔:皇上~,你好坏。   钟无艳:哈哈哈,亮个相吧,小宝贝!   短短两年大燕国力恢复,平北方四岛、灭南方诸国、战南印天竺、剿西方波斯。   然而,故事才刚刚开始。   还有更多的英雄等待唐听白的召唤……南方青年,从第一次到北方的经历,到爱上西安扎根西安经历的所有故事,包括爱情,事业,人情世故所有的故事!本故事百分之九十是作者亲身经历,以讲述回忆的手法叙述本故事,酸甜苦辣,最终认识人生,突破重围,人生所有的弯路,一步也不会少,于广大新青年共勉,美好的人生,可以流泪,不要放弃自己的美好梦想,初之心叶峰穿越到特种兵世界,因为是关系户不受待见,被派去当垃圾新兵连队的连长! 仅用三个月时间,就将这垃圾连队打造成了堪比特种部队的特战连! 团长:让你随便练练这些新兵,特么你全给我练成特种兵了? 狼牙:到底谁才是特种部队啊? 范天雷:求求你带着你的兵全部加入我狼牙吧! 何晨光:这辈子我墙都不服,就服叶教官! 冷锋:我才不加入战狼,我要降级去叶峰的野战部队! 从铁拳团新兵连开始,叶峰打造一支又一支可怕的幽灵部队,名扬全军。 传奇,从此开始!
随州网站建设 网站开发商 网络安全2017的大事件 python3 网络安全源代码 网络安全高级软件编... 网络营销产品的层次 南京网站搭建 2017网络安全会 日程 腾讯公司网络营销分析 网络营销的危害性 忧郁症的原因分析咨询【www.richdady.cn】 暗恋的咨询技巧【www.richdady.cn】 孩子厌学咨询【www.richdady.cn】 灵魂化解的步骤【www.richdady.cn】 化解婴灵的最佳时间【www.richdady.cn】 性压抑的前世因果咨询【www.richdady.cn】√转ihbwel 前世缘份的故事如何改变命运?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子不爱读书的心理分析咨询【微:qq383550880 】√转ihbwel 亲子关系的心理建设方法有哪些?咨询【企鹅383550880】√转ihbwel 强迫症的治疗方法【σσЗ8З55О88О√转ihbwel 脑部不清晰的自我提升【σσЗ8З55О88О√转ihbwel 家宅磁场干扰的原因【σσЗ8З55О88О√转ihbwel 老公家暴的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的解读方法咨询【微:qq383550880 】√转ihbwel 升迁障碍的职场策略有哪些?咨询【微:qq383550880 】√转ihbwel 为什么过世的原因分析【企鹅383550880】√转ihbwel 与老公前世的因果关系【www.richdady.cn】√转ihbwel 升迁障碍的风水布局咨询【企鹅383550880】√转ihbwel 家庭关系的自我提升咨询【企鹅383550880】√转ihbwel 不爱读书的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 2017信息安全的未来,-1 通栏式网站 网络安全2017的大事件 网络安全预算 信息安全的重要性2017 网络营销的实施计划方案 网络营销班 azure 网络安全组配置 全面解读网络安全发 聚美营销 网络信息安全部组长 龙岩网站建设 信息安全的重要性2017 近五年信息安全事件,-1 公司关于网站设计公司的简介 信息安全专业教育部 网站建设公司价格 营销型网站定制 网站开发商 新媒体营销成功案例ppt模板 随州网站建设 d:/网络信息安全研究 (1).pdf 网络安全性怎么设置 azure 网络安全组配置 全面解读网络安全发 聚美营销 网络信息安全部组长 龙岩网站建设 信息安全的重要性2017 近五年信息安全事件,-1 维护信息安全的一般措施 福州网站开发公司 网络安全销售招聘 化妆品 网站建设案例 2017年网络安全宣传周 信息安全等级保护备案端软件 信息安全的核心技术是什么 公司关于网站设计公司的简介 公司网络安全培训 旅游响应式网站建设 网站的设计 网站设计建设公司 西安php网站建设 西安网站建设 营销案办理 网络安全.需要哪些技术 信息安全专业教育部 长沙高端网站建设服务 互联网个人信息安全 营销软文范例 腾讯公司网络营销分析 2017信息安全的未来,-1 技术支持:淄博网站建设 网络安全专项检查 海尔的成功营销策略 信息安全机构的资质认证 福州专业做网站的公司有哪些 上海专业网站设计 什么是病毒营销方案 通栏式网站 网络社区营销的主要形式 营销型网站定制 cog信息安全论坛 im营销 启明星辰 天?h网络安全审计系统 信息安全与管理审计系统,-1政府网络安全事件通报 橙网站 国际著名信息安全专家观点简介 1论述基于网络营销信息传递系统的六大类13种常用网络营销工具和资 橙网站 佛山购物网站建设 有pc网站 电气网站建设 网络营销的危害性 软件开发与网络安全前景 网络内容营销的含义 维护信息安全的一般措施 网络营销应当实施以 为中心的产品开发策略 国家网络安全总局 网络安全 教育部 投资 营销资料网 网络营销职位分析报告 azure 网络安全组配置 关于耐克公司的营销案例分析 沈阳科技网站首页 思科 2014网络安全 营销案办理 全面解读网络安全发 手机故事式营销软文 移动互联网广告营销 信息安全的重要性2017 网络营销方法 体系 深圳信息安全评测中心 网络信息安全考试 信息安全与管理审计系统,-1政府网络安全事件通报 开源网络安全软件 网站搬家 深圳信息安全评测中心 scan扫描信息安全技术 科技网站配色方案 万州做网站 scan扫描信息安全技术 整合营销 线上活动 网络市场营销策略 最新营销工具 网站开发商 信息安全-信息系统安全等级保护基本要求 建网站空间 手机微信网站建设 网络营销班 淘宝网网络营销理论 信息安全管理的根本方法 共建网络安全的建议 python3 网络安全源代码 网络品牌网站建设 国家制定并不断完善网络安全战略全面评估 有pc网站 建立网站的价格 化妆品 网站建设案例 建立免费个人网站 台州网站设计外包 网络安全销售招聘 如何保证企业网络安全 高级信息安全管理师,-1 网络安全等保测评 新媒体营销成功案例ppt模板 上海建站网站简洁案例 手机微信网站建设 个人信息安全 案例 网络安全等保测评 中山企业网站建设方案 营销资料网 2017网络安全会 日程 中山企业网站建设方案 佛山新网站建设特色