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

<a class="close" href="https://sepj.uzrs.cn/">&times;</a>
重庆专业网站设计服务网络营销思维网络营销公司培训企业网站建设目的深圳 信息安全信息安全行业招聘新潮网络营销论营销江西医疗网站建设哈尔滨的网站设计没有比这个更离谱的事情了! 陈墨只不过喝了几口水,居然马上就要死了? 【你如果还想活命,来,献祭十年寿命,我告诉你方法。】 陈墨愣愣的看着脑海中,一盏青铜灯表面浮现的血色文字。 他登上一艘被黑气环绕的豪华游轮,没想到青铜灯上的文字却立刻更新。 【我不会告诉你,这艘船上能造成你死亡的因素,大概有六千多万个……】 他吃了一颗仙气盎然的果子,以为是主角光环降临,获得了奇遇,从此走上人生巅峰! 结果青铜灯浮现文字。 【你吃了一颗充满污染气息的水果,等着死吧……】 陈墨有点控制不住下巴,这是金手指? 点燃灯芯,可以获得超凡能力。 他充满期待的盯着青铜古灯。 【抱歉,你的脑袋进水了,点燃失败。】 陈墨没有穿越,但是他一直赖以生存的世界病了,他也病了。 “如果我还有得选,我希望继续以人类的身份活下去。”叶云运气爆棚意外得到一个高纬度制造的次元面板, 并且利用面板走上了穿越诸天万界......刚刚高考完,十分喜欢文学,决定尝试一下当书店里扫帚自己动了起来,书本可以自动回到原位,书店能自动选择顾客,还能给老板颁发任务,一切都将变的不一样……《周易》不等同于《易经》。《周易》是产生于西周后期的一部曾借用前人创立的记事序数(商代已经使用)“六十四画符号”(被后人用之和称之的“六十四卦”)为题序而编写出六十四篇短文所组成的为“君子”(周天子血统的诸侯、贵族)们讲述“修身、齐家、治国”的道理书,按现代哲学分类,应属政治哲学书。《周易》是我国乃至世界上最早的一部政治哲学。不追求CP结合,架空历史的一部帮派穿越小说! 道上老大白楚阳,在一次斗殴中被人刺杀,结果直接穿越到数百年前的白氏家族。 为了能让自己存活下去,同名同姓的白楚阳,使出自己在现代混迹的所有本领,让这个古代的白氏家族,逐渐成为一方霸主! 大宇宙会囊括非常非常多的元素,而这本书,三界之战只是其中的一部分元素。 既然叫三界之战,那就是天地人三界之间的战争。如果你喜欢,那就请多多收藏吧。我一定会尽力将这本书写好,做到不断更的情况。江湖与庙堂之间之隔,也不过一把剑的距离 神宇年间,皇帝昭令,西北誉王的世子周慕入京与舞阳公主成亲,名为结亲,实为质子 然而江湖传闻 路人甲‘相传,在西北那边,周王的世子周慕,那可是万军从中取敌将首级,勇冠三军’ 路人乙‘不是吧,我怎么听说那世子殿下,风流无双,有曹孟德的喜好。月高悬于空,星不见其影。 沉眠的暴君从历史中苏醒,漆黑的双翼划过破晓的黎明;巍峨古堡跨越了尘封的的记忆,矗立在洛尔维亚的群山之巅。 当头戴王冠的公主睁开双眼,从死亡归来的旅人重新握住剑柄—— 国王湖的水面不再平静,却依旧深不见底。九州大陆,华夏历史上出现的巨大王朝,粉墨登场。 大秦嬴政,大汉刘邦,大唐李世民,大明朱元璋诸雄争霸! 嬴子夜穿越成嬴政第九子,躺平十年,刚踏入陆地神仙,就被天道金榜曝光! “武道资质榜第二:武当大师兄王也!” “武道资质榜第一:大秦九皇子嬴子夜!” 武当老祖宗:“什么?第一居然是祖龙之子!” 少林扫地僧:“这是个什么怪物?” 李世民:“此子,不能留!” 朱元璋:“派锦衣卫将嬴子夜除了!” 嬴政:“快让夜儿过来,寡人得好好问问他!” 嬴子夜:…… “我是真想低调,奈何实力不允许啊!”
网络安全部门提示 选手机网站 厦门成品网站 2014年网络安全大事件 成都网站设计制作工作室 网站分析模板 绵阳的网站制作公司哪家好 密码技术是网络安全 网站建设预览 信息安全等级测评结果 财运不佳的财富增长技巧有哪些?咨询【www.richdady.cn】 无形干扰【www.richdady.cn】 婴灵对家庭有哪些影响?咨询【www.richdady.cn】 孩子厌学的案例分享【www.richdady.cn】 感情纠纷的情感咨询如何进行?【www.richdady.cn】 如何识别冤亲债主干扰咨询【σσЗ8З55О88О√转ihbwel 财运不佳的财富规划咨询【企鹅383550880】√转ihbwel 亲子关系的教育策略咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的情感生活【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的缘分如何续写?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的婚恋心态如何调整?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 存不住钱的原因分析咨询【σσЗ8З55О88О√转ihbwel 如何解决事业不顺的问题?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心慌胸闷头晕的案例分享咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 莫名其妙感伤的情感释放【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 莫名其妙感伤的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的婚恋现状【σσЗ8З55О88О√转ihbwel 前世今生的缘分如何续写?咨询【微:qq383550880 】√转ihbwel 如何提高孩子的阅读兴趣?咨询【微:qq383550880 】√转ihbwel 交通意外的常见原因【企鹅383550880】√转ihbwel 新潮网络营销 上海网站设计开 机房信息安全管理系统 泰安网站建设公司 深圳 信息安全 开源网站系统 学网络营销视频教程 深圳整合营销活动 网络安全实训报告 公共网络安全 当前php环境关闭了文件上传功能网站将无法上传图片和文件 购物网站建设公司 网站统计对网络营销的价值 开网站公司 论营销 外贸企业网站 全网营销推广如何做 佛山新网站制作机构 网站分析模板 深圳营销型网站 网站权重低 衡水移动端网站建设 佛山新网站制作机构 空间网络安全研讨会 网络营销公司培训 哈尔滨的网站设计 淘宝网店营销培训 珠海品牌机械网站建设 网络安全法案 企业网络安全管理 网站费用 网站首页页面设计 的营销推广措施分析 营销的产品策略 企业信息安全保护的重要性 移动营销的优点 营销的产品策略 网站制作工具 开网站公司 机房信息安全管理系统 经典新媒体营销案例 莞城网站制作信息安全管理与监管 网络营销发展课 成都网站设计制作工作室 厦门网络推广建网站北京网络营销公司 对于网络营销的看法 信息安全等同于网络安全,-1 全国信息安全测评中心 上海网站设计开 网站建设预览 电商行业网络安全 商丘微网站 网络安全法案 机械类内容营销案例 池州网站制作公 美国信息安全15万美元 深圳网站制作公司人才招聘 自建网站 信息安全管理审核,-1 深圳网站制作公司人才招聘 网站建设预览 公司营销效果 南京制作企业网站企业无线网络安全 php 网络安全 信息安全软件提供商 深圳整合营销活动 网络营销能力秀扣扣群 开源网站系统 电脑信息安全检测工具,-1 网络安全实训报告 合肥网站设计高端公司 win2008网络安全网站背景怎么换 无锡做网站多少钱 公共网络安全 个人信息安全保护研究意义 娄底建网站 企业网络营销策划论文 当前php环境关闭了文件上传功能网站将无法上传图片和文件 广州广告网络营销公司 酒店网络营销具体方案 网络合作分享营销 购物网站建设公司 qq邮箱营销方法及管理系统 信息安全等同于网络安全,-1 美国信息安全15万美元 网站统计对网络营销的价值 大连网站设计公司排名 qq邮箱营销方法及管理系统 泰安网站建设公司 开网站公司 淘宝网店营销培训 泰安网站建设公司 网络信息安全 ppt 论营销 郑州网站托管 签名档营销 机械类内容营销案例 外贸企业网站 2014年网络安全大事件 绵阳的网站制作公司哪家好 北京微信网站制作 全网营销推广如何做 北京建网站公司 河北省网络安全 超简单网站 佛山新网站制作机构 公司营销效果 龙岗网站制作 深圳 信息安全 陕西省 信息安全 竞赛,-1 婚纱摄影网站模板 网络营销发展课 有那些网络安全小知识 企业营销学 深圳营销型网站 长沙专业做网站 网站 体系 2014年网络安全大事件 一个网站做几个关键词 深圳营销型网站 营销模式案例分析 合肥网站设计高端公司 衡水移动端网站建设 营销模式案例分析 网络营销与马云 优秀的网站设计案例 最新微信营销软件论坛 网络信息安全 ppt 长沙网站托管 国家信息安全检测中心 上海信息安全等级培训 网络信息安全事例2017 佛山做网站公司 湖南长沙网站建 自建网站