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

<a class="close" href="https://pgh.zhejiangjili.cn/">&times;</a>
亚马逊网络营销现状自己的qq群营销方案网络安全研究院武汉免费网站制作网络安全密钥怎么破解北京网络信息安全公司南昌网站制作不属于网络安全服务的是顺德公益网站制作中国信息安全 大事例分析 时间,-1 黑白无常是我兄弟,牛头马面对我言听计从,娶阎王爷的闺女…… 人间有法医、警察,阴间有阴差、判官,阴阳之间自有他们无法触碰的地方,这就需要渡灵法医出马。 地狱空荡荡,魔鬼在人间。 诸多诡案背后,牵扯出阴司的巨大阴谋——这些参杂着巨大冤屈的灵异案件,竟然是阴司专管阴差的判官司主管崔钰。 权力之争古今存在,阳间如此,阴间亦如此。 这个世界,是一个令人匪夷所思的世界,自打我记事起,爹娘就曾告诉我,三百多年前,不知何事所致,不知何人所为,世界上的所有人突然就再也不会死亡,每个人都拥有着永恒的寿命……外公是一名毕摩法师,只是在推行唯物主义年代里,法师是一种罪,在大革命期间,许多典籍被焚毁,从此,外公闭口不谈毕摩岁月,直到他老去后,我在他柜子里拿到一个破布包,发现毕摩经书,才发现,一切皆有可能,玄学,一种超然物外的文化。圣源于道,道源于天,天道不灭,圣者永存。 天下大道三千,洐生环宇亿兆生灵,得道者仙,卫道者神,创道者圣。 知阴阳而问太极,循因果而寻起源,参生死而朔轮回,环宇大道,皆遵天道运行。 茫茫宇宙,谁主沉浮? 一个文明的灭绝,是天道不容?还是圣者殒落? 道之本源,源于混沌,湮灭于混沌。 这是末日世界的荒凉,还是文明的未路? 圣者有恙,天下苍生皆刍狗。苏铭阴差阳错穿越到了御兽世界,熬了十八年终于在御兽天赋觉醒时等来了自己的金手指,超能加点。 资源转化为强化点,可以用来提升自己和御兽的各项数据。 路人:老师,凭啥苏铭御兽和我一样等级,他的体型是我御兽的几倍大。 苏铭:其实是他比较贪吃,长得胖。 路人:老师,不好啦学校塌了,苏铭的那头食铁兽推的。 苏铭:老师,这真不能怪我啊,他就轻轻摸了一下而已。 老师站在废墟之前,看着那头十几米高的食铁兽,正拿着学校避雷针剔牙时愣住了。 “苏铭,你这御兽是精英级别的?!!!!”在封建王朝翻云覆雨的伟大人物,竟是一个名不见经传的小卒。沐辰高考落榜,受校花羞辱猝死网吧,重生九龙大陆亡国太子沐辰身上,在情急之下,修炼了“龟阴功”,成为一名天女国假太监。 为了不暴露自己假太监身份,他步步为营,将两世才华进展,赢得女帝和七位公主欢心。加官进爵,成为女帝个七位公主身边最风流的太监。也成就了九龙大陆巅峰人物,一统天下诸国以及各大门派。 因一部可修身成神的圣典,全宗被灭。 为报仇雪恨,蓝夜忍辱负重,一路披荆斩棘,历尽九死一生,只为寻得神兽传承。 发小死于眼前,蓝夜怒弑皇族。 为救天下苍生,力抗域外入侵者。 待得天下安定,却发现更严峻的挑战在等着他。。。。。。一群“正义之士”在征服各次元的故事。想知道盗墓笔录里面的人过着什么样的生活吗?想知道就进来看看吧!
西安网站制作开发 长沙手机网站设计 网站升级改版 网站主色调简介怎么说 网络安全入侵 南京做网站的有哪些 全网营销招聘 公安部网络安全保卫局网站 博客营销图片大小 如何用好营销成本 强迫症的环境影响咨询【www.richdady.cn】 感情纠纷的情感修复咨询【www.richdady.cn】 去世的父亲的前世缘分【www.richdady.cn】 心慌胸闷头晕的原因分析【www.richdady.cn】 升迁障碍咨询【www.richdady.cn】 “缺心眼”对人际交往的影响咨询【企鹅383550880】√转ihbwel 忧郁症的预防措施【www.richdady.cn】√转ihbwel 长尾词【σσЗ8З55О88О√转ihbwel 迟缓儿的康复训练【微:qq383550880 】√转ihbwel 如何了解自己的前世今生【www.richdady.cn】√转ihbwel 家庭关系的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的前世记忆【微:qq383550880 】√转ihbwel 意外的心理调适咨询【www.richdady.cn】√转ihbwel 长期精神不振的原因咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 去世的母亲的前世解析【企鹅383550880】√转ihbwel 灵性成长工作坊【企鹅383550880】√转ihbwel 婴灵的前世记忆【微:qq383550880 】√转ihbwel 大龄剩女的婚恋经验有哪些?咨询【微:qq383550880 】√转ihbwel 与公婆前世的前世解析【微:qq383550880 】√转ihbwel 发育倒退对孩子心理的影响咨询【www.richdady.cn】√转ihbwel 深圳高端网站设计 互联网搜索营销 义乌做网站 安天 网络安全 2016网络安全大赛 中企网络营销顾问 信息安全意识调查总结 跨境电商是如何营销做网站 南昌网站建设公司渠道 齐齐哈尔网站建设 青岛建网站公司 信息安全技术 数据备份与恢复产品技术要求与测试评价方法 重庆 信息安全 网络安全基础应用与标准 下载 如何用好营销成本 好未来信息安全规范实施时间 网络营销要点 网络安全与对抗研究 义乌网站建设工作室 哈尔滨教育展网络营销 台州做网站哪家好 饿了么营销 北京网络信息安全公司 网络安全培训过程 陕西网络安全监察大队 网络安全排查 长安微网站建设 国家信息网络安全网络组织 网络安全威胁的例子 全网营销招聘 seo营销培训 重庆綦江网站制作公司推荐 南京需要做网站的公司 福田的网站建设公司 网站建设方式 网络安全的语句 2016网络安全大赛 政府机关信息安全 网络安全系统运维内容 网络安全管理规范 网站免费注册域名 武汉免费网站制作 安天 网络安全 星巴克营销 网络营销就 信息安全意识调查总结 聊城网站优化 珠海医疗网站建设公司 网站建设素材 自己的qq群营销方案 网络安全基础应用与标准 下载 公司网站非响应式 珠海医疗网站建设公司 信息安全监测预警系统 齐齐哈尔网站建设 互联网搜索营销 信息安全监测预警系统 信息安全专业学校 网络安全专业? 北京网站建设有限公司 网站建设与推广是什么 终端信息安全,-1 张掖网站建设 国家计算机网络与信息安全中心,-1 姚威信息安全 美国网络安全宣传周 南昌网站建设公司渠道 南京需要做网站的公司 江门网站建设 经典网站设计 手机营销网站 高校网络安全解决方案 经典网站设计 深圳高端网站设计 饿了么营销 番禺网站建设专家 营销机构与营销队伍 网络安全入侵 网络营销专业培训学校 网络安全与对抗研究 网站建设方式 重构网站 网络安全的紧急通知 顺德公益网站制作 网络安全准入系统 网络安全违法举报中心2017 网络安全生态峰会 安天 网络安全 免费网站 网站设计理念 凡客 营销 聊城网站优化 商品微商营销策划 好未来信息安全规范实施时间 网站的目录结构 网络安全基础应用与标准 下载 网络安全空间试点学院信息安全等级保护是指,-1 政府机关信息安全 横山桥网站 网站构建 四川省信息安全基金 新潮远网络营销 南昌网站建设公司渠道 首席信息安全官 中国信息安全 大事例分析 时间,-1 多终端网站 网络安全系统运维内容 网络安全违法举报中心2017 网络安全生态峰会 网络安全与应急管理制度 重庆綦江网站制作公司推荐 互联网搜索营销 福州网站制作公司 网站建设与推广是什么 信息安全服务资质怎么查询 博客营销图片大小 网络营销就 网络安全密钥怎么破解 陕西网络安全监察大队 seo营销培训 网络安全和渗透测试工具 网络安全技术新方向 网络营销要点 齐齐哈尔网站建设 珠海医疗网站建设公司 福州网站制作公司 营销主题? 网站升级改版 公司 信息安全 案例 武汉免费网站制作 工信部网站备案 营销型网站有哪些 南京需要做网站的公司 南昌网站制作 星巴克营销 长沙手机网站设计 终端信息安全,-1