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

<a class="close" href="https://jg8.niexun.cn/">&times;</a>
网络营销速成班西城公安分局网安大队 国家电网 信息系统信息安全等级保护国家网络安全管理法规酒店业网络营销哈尔滨做平台网站平台公司网络营销分为国家网络安全哪天统一金融信息安全的复杂性北京市网络安全检测网络安全 认证 移动互联网徐州建网站九州神王李长青,被兄弟偷袭陨落,却意外重生归来。 尘封万年的洪荒大妖,将成为他的助力, 万界之中,修最强之术,炼顶尖灵药,布绝妙大阵…… “前世我能登临巅峰,这一世我也一样可以,诸天万界,终有一天,我会卷土重来!” 天地初开,混沌所致,一个天之骄子,意外被打落谷底,看他如何逆修天命,掌控神术,主掌众神王宇重生成白蛇,已经不知道多少年了。 只不过这么久以来,大多数的时间都在睡觉。 睁开双眼。 此世妖魔横行世间,视人族为食粮。 天上仙人高高在上,垂钓人间气运,乱世间纲常。 民不聊生,皆为刍狗。 王宇盘在自己的山神破庙前,心中絮叨: “我为骊山山神,自会保你们平安。” “但谁能告诉我。” “这个刘邦的女孩,为什么会是我的祭品?” “历史上刘邦是斩骊山白蛇的!”在这个世上活着的人,都有两面,笑脸下藏着恶魔,只是在刹那瞬间的爱也会转换成怨恨,而所有的怨恨会让这个世界血流成河,一寸前是黑暗,回头看也是黑暗,但是这样的黑暗,是谁也没有看到。而我所讲得故事,只是茶余饭后的闲话,您可千万别当真还没看完一页,叶牧就忍不住合上了少年时期的日记本。 “我这写的是什么中二日记啊?” “太羞耻了!” “会社死的吧?” 【叮!神级日记系统激活!】 【自动为宿主的日记购买全球热门推荐!】 【全球点赞过千万,解锁全新功能!】 【恭喜宿主百分百还原事件,奖励混元大罗圣斧!】 受到混元大罗圣斧影响,两个世界不再平行,出现大量未知干涉现象。 殷墟石壁惊现日记,轰动全球! …… 叶牧震惊了。 他写的中二日记竟成真的了!现代青年张无忌一次考古中,意外发现一座古墓。在古墓的神奇力量之下,竟来到了倚天之中的元朝末世。身怀北冥神功,逍遥传承,且看他如何在这个世界掀起风云,红颜相伴,兄弟相随,开辟出一个煌煌盛世! 注:本书单女主,不喜勿入!体育+穿越+系统+单女主+热血 穿越到2018年,龙国的苏北成为了湖人的球员,开局就获取了麦迪模板的他,总决赛,19年的世界杯,奥运会都不会是遗憾,还有老大(科比).... 这一刻因为苏北的到来,nba的小球时代所改变!!! 詹姆斯:“苏,他才是最好的球员。” 杜兰特:“什么叫最好的进攻,苏就是最好的教科书!!!!” 萌神库里:“苏,才是这个时代的天花板!!” (这里是平行世界,不要过度带入一些人物和剧情,有一些改动,也有些慢热,总之很爽,很好看。) 大道五十,天衍四十九,遁其一;为天机。 众人皆知,应天运而生之人,天地皆协力。 殊不知,天将降大任,必先苦其心志......!必承受,常人无法承受的痛苦。 世间可否有两全之法? 常生来揭晓答案。张超是一名程序员,一次加班中意外倒地,穿越到了一位名为杨安骥的人身上。在这里,一切和他了解的历史都不一样,明朝和清朝同时存在,明朝的年号仍旧是崇祯,只不过是一百一十七年。疑惑中结识了一位同样名为张超的少年,二人能否在这个战乱的年代匡扶大明,克复中原,还是无法阻止历史的洪流,满清一统天下?苏铭阴差阳错穿越到了御兽世界,熬了十八年终于在御兽天赋觉醒时等来了自己的金手指,超能加点。 资源转化为强化点,可以用来提升自己和御兽的各项数据。 路人:老师,凭啥苏铭御兽和我一样等级,他的体型是我御兽的几倍大。 苏铭:其实是他比较贪吃,长得胖。 路人:老师,不好啦学校塌了,苏铭的那头食铁兽推的。 苏铭:老师,这真不能怪我啊,他就轻轻摸了一下而已。 老师站在废墟之前,看着那头十几米高的食铁兽,正拿着学校避雷针剔牙时愣住了。 “苏铭,你这御兽是精英级别的?!!!!”
电话营销的优点 营销信息教程 网站制作公司哪家专业 2014网络安全大会 无网络安全win10 wifi 广州网络安全平台登录 视频网站建设方案 北京市网络安全检测 江苏信息安全网 营销信息教程 忧郁症的预防措施咨询【www.richdady.cn】 暗恋的情感释放【www.richdady.cn】 去世的父亲的去向解析咨询【www.richdady.cn】 忧郁症的心理调适【www.richdady.cn】 家庭关系的咨询技巧咨询【www.richdady.cn】 前世缘份的故事有哪些案例?咨询【微:qq383550880 】√转ihbwel 什么原因意外的前世修行【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 脑部不清晰的原因分析咨询【企鹅383550880】√转ihbwel 大龄剩女的婚姻选择咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的缘分揭秘咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的婚恋现状如何改变?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 存不住钱【www.richdady.cn】√转ihbwel 意外事故对家庭的影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 外灵威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的缘分揭秘咨询【σσЗ8З55О88О√转ihbwel 前世缘份的续写有哪些方法?咨询【企鹅383550880】√转ihbwel 精神不振的环境影响咨询【www.richdady.cn】√转ihbwel 人际关系不好的前世记忆【σσЗ8З55О88О√转ihbwel 缺心眼的案例分享【σσЗ8З55О88О√转ihbwel 事业不顺的职场提升路径有哪些?【www.richdady.cn】√转ihbwel 网络安全举报电话 网站建设收费标准报价 信息安全等级策略,-1 o2o网站系统 沈阳做网站 广州网络安全平台登录 常州网站制作 金牌网络营销 云创通11营销手机 网站的需求 视频网站建设方案 网络安全动态分析 上海网络信息安全员 武汉专业网站做网页 2016 中国网络安全年会 成都 郴州网站制作 信息安全评估检查流程 做网站的流程 提供常州网站建设公司 网络安全举报电话 为什么要做事件营销 潍坊网站建设 网站设计案例 虹口专业做网站 国家网络安全管理法规酒店业网络营销 徐州建网站 计算机网络安全心得体会 信息安全等级测评网 中科大信息安全如何 信息安全 培训考试,-1 设计网站多少费用多少网站常用字体 济南网站制作 企业信息安全评估报告 金融信息安全的复杂性 电力行业信息安全等级保护 企业网络安全策略 西城公安分局网安大队 国家电网 信息系统信息安全等级保护 信息安全认证培训 赣州网站推广 杭州 网站建设公司 上海网站优化 天津高端网站建设 网络营销的最新特点 虹口专业做网站 信息安全与保护 网络安全实验室wp 网络安全产品排行 动易pe2006网站网页可以访问但后台进不去也没有提示 学网络营销的学校 网站建设都 包括哪些 营销的核心 网络安全检测办法 信息安全等级评测机构 信息安全资质有哪些 做网站的流程 中国网络安全大会17 厦门企业网站制作 网站建设公司 南京 邢台网站制作有哪些 网站制作公司哪家专业 政府网站制作建设 上海网站优化 网站组网图 网络与信息安全期刊 重庆软文营销推广费用 如何防范信息安全风险 国家网络安全防御 营销信息教程 杭州 网站建设公司 营销的核心 网站建设收费标准报价 网络安全杂志 app 网站的总体架构 公安局网络安全设备 营销方案网 网站的总体架构 如何防范信息安全风险 678营销系统账号 信息安全专业岗位 2016网络安全大事记 信息安全等级保护攻略 信息安全等级保护系统建设的安全实施方案应包含以下哪些内容 信息安全评估检查流程 常用的网络安全技术有哪些 主动测量 网络安全 国家网络安全基地规划 网站选项卡 企业信息安全评估报告 佛山网站制作 武汉专业网站做网页 网络安全实验室wp 搭建网站 手机企业网站设计 2016 中国网络安全年会 成都 python信息安全 网络营销是企业整体营销的组成部分 信息安全技术有哪些,-1 郴州网站制作 上海网络信息安全员 广州网络安全公司 网络安全杂志 app 信息安全评估检查流程 网站的需求 国家信息安全人才 深圳整合营销外包 做网站的流程 常州网站制作 深圳整合营销外包 网络营销分为 网络营销内容是什么 o2o网站系统 传统营销的理论基础 教材营销 网络安全培训可见 网络安全举报电话 网络营销百度达内吧 网站托管 信息安全专业认证证书 搭建网站 网络安全预警平台 网站开发与设计公司企业网站的一、二级栏目名称 广东省网站建设 潍坊网站建设 北京设计公司网站 如何网络营销 四川全网营销推广价格 企业网络安全策略 邢台网站制作有哪些 学了网络营销能做什么的 网站建设推广 网络安全技术有哪些 重庆软文营销推广费用 提供常州网站建设公司 学网络营销的学校 网络安全 管理