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

<a class="close" href="https://neno.jieng.cn/">&times;</a>
香港网络安全中心搜索引擎营销理论基础网上超市的网络营销群发营销第四届网络安全网络安全素质山东网络安全大赛报名政务网站开发泰安网站开发叫兽学院网络安全随身碟密码如今人类主宰大地,诸般神魔都已烟消云散? 考古发现的怪兽化石统统按上恐龙之名是不是太过敷衍? 摇着躺椅的文玩店小老板,仰望星空,对着圆月嘟囔着:“这一次,我们要做执刀人。”一笔聚集万千大道,号令十方鬼神,斩断无数因果轮回,历经亿万次轮回的恐怖直播最终被终结异世大陆,强者为尊。 少年陆泽惨遭背叛,却意外获得无上神功,从此龙游苍穹,鹰翱九霄。 杀圣子,灭天骄,夺造化,逆天改命,强势崛起! 一步一登天! 一路披荆斩棘,一剑破万法! 高歌猛进,无所不克,一直走到巅峰。原本陈辞作为商界一方大佬,前途可谓一片光明,却遭遇了一场意外事故,经抢救无效死亡。 再次醒来的他,竟然变成了个阉人——北宋童贯! “我这是造了什么孽啊!” 凭借前世经验,以及对历史发展的充分了解,陈辞真正做到了一个好官,同时也是北宋第一富! 后期逞强除恶,匡扶宋室,一统中原,只为打造史上最强北宋! (原谅鄙人浅薄的历史知识,文中可能会出现与史实不符,本文半架空!)末法时代的到来,来自深空的界碑,不详降临的九州,神秘失踪的天神。夜幕笼罩的乱世,败犬修士于一片破败中崛起。架空小说。 曹孟德的魏国一直持续到公元1984年,同样,刘玄德和孙仲谋的蜀国和吴国也是如此。 魏国于83年前从封建制和平演变为民主制,除了国名更改为大夏民国外,一切章法基本未变,皇室也象征性地保留着。 吴国于33年前变革体制,较魏国变得彻底了一些,最明显的就是婚姻制度实行一妻多夫制。 蜀国在今年年底也要对实行数千年的一夫一妻多妾制进行变草,是改为魏国的一夫多妻制,还是吴国的一妻多夫制,则要举行全民公投。 魏国15岁的宋琦仗着拥有上一世的记忆,在阴差阳错间改变了三国格局,统一三国,顺手还灭了恶邻倭国。同时顺应历史发展的潮流,婚姻制度实行最为文明的一夫一妻制。 恩格斯说:一夫一妻制家庭的产生和最后胜利乃是文明时代开始的标志之一。刀:百兵之胆 代表着霸气和刚猛 我,只是个平凡的玩家 当,我默默地握紧大刀 唯有果断决绝 唯有以力破巧 唯有快意恩仇 当生逢乱世,妖魔当道,唯有长刀所向,斩妖除魔,义不容辞。 来吧!战友们,让这黑暗世界因我们的怒吼而瑟瑟发抖吧!三个穷困少年逆袭成功的故事&amp;quot;我丢了一些记忆,我想不起那个人的样子&amp;quot; 白骨头颅抖动着下巴骨,喃喃的说。 &amp;quot;但是我仍记得,那个小偷偷走了什么!&amp;quot; 邪异的蓝色花朵从白骨头颅处钻出,花蕊处却是几个狰狞纠缠的蛇头。 &amp;quot;找到那个小偷!杀了它!夺回神的权柄!!&amp;quot; 无数荆棘与花朵缠绕白骨,又怦然散开。 恢宏的大殿满是血肉狰狞的怪物,古老的神佛雕像全都破烂不堪,它们曾是高高在上的神!却被一个小偷偷走了神的权柄! &amp;quot;现在,我们苏醒了,即使没有神的躯体,但是也要拿回神的权柄!&amp;quot; 随着白骨的呼啸,无数怪物越下云层,冲向人间。 白骨立在云边,妖异的蓝花轻柔的舔舐着它的骨缝,&amp;quot;放心,我们会成功的&amp;quot; 白骨握住蓝花的叶柄,森森白齿吻上了蓝花的蕊,纠缠的蛇在激动的回应。 &amp;quot;我知道,亲爱的。&amp;quot; 人间葫芦庙,一个穿着黑色僧袍的小童抬头看了一眼天空,可爱的小脸耷拉了下来。 &amp;quot;切,如来那个老不死的活过来了…&amp;quot;   凌源:一个看似温文尔雅,性格稳重,坚毅,善良,仁厚,睿智的优质少年。成绩优异,拥有不俗的身体素质,面容俊秀,在校园有着众多的仰慕者。跟随母亲生活。母亲善良,人缘好有威望。有从小一起长大青梅竹马的发小。并且这个发小还是省级16岁以内级武术器械和套路双料冠军!凌源从小在母亲的教导下,待人处事稳住细心,遇事波澜不惊!既拥有母慈子孝的亲情,又有两小无猜的友谊,本是普通人家的普通生活,直到一场让所有人都意想不到的灾难降临!   洪鹰:23岁!孤儿,村里唯一一位重点大学生!本来可以有着一片光明的人生道路。那天偶遇到了改变一生的那件事和那个“人”
等级保护 网络安全 网站icp备案 我与网络安全 openssl与网络信息安全 下载国外app设计网站 信息安全软件展会2017 网络营销定义 婚纱网站模板 网站设计侵权 广州h5网站建设公司 网站建设外包 前世缘份的前世解析【www.richdady.cn】 耳鸣的医学检查咨询【www.richdady.cn】 头脑混沌的自我提升【www.richdady.cn】 前世缘份的前世缘分咨询【www.richdady.cn】 如何改善亲子关系?咨询【www.richdady.cn】 外灵干扰的咨询技巧【微:qq383550880 】√转ihbwel 自闭症的治疗方法咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与公婆前世的咨询技巧【企鹅383550880】√转ihbwel 强迫症的咨询技巧咨询【微:qq383550880 】√转ihbwel 内心恐惧胆怯的前世记忆【企鹅383550880】√转ihbwel 官司的解决方法【企鹅383550880】√转ihbwel 亲子关系改善建议咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 去世的父亲的前世故事咨询【企鹅383550880】√转ihbwel 不爱读书的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心慌胸闷头晕的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 阴间生活的前世缘分【www.richdady.cn】√转ihbwel 缺心眼的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 内心恐惧胆怯的前世记忆咨询【www.richdady.cn】√转ihbwel 前世今生的修行方法咨询【www.richdady.cn】√转ihbwel 与公婆前世的前世缘分咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 微信营销的成功总结 信息安全发展史 山科信息安全怎么样 网络安全素质 网站icp备案 重庆网络安全公司 银行信息安全演讲,-1 网络安全网络空间 珠海高端网站制作公司 企业营销信息平台构建 下半年的信息安全会议 网站免费注册域名 信息安全漏洞还原方法 网络安全素质 广西网络安全技术大赛 vpn与网络安全pdf 营销跟促销的区别 国内网站设计案例 北京昌平网站设计 婚纱网站模板 香港网络安全中心 建设公司网站的重要意义 四川省信息安全测评中心业务 北京企业网站建设方 初级信息安全测评师 营销型网站试运营调忧 xcon安全焦点信息安全技术峰会 群发营销 网络安全风险评估情况 泰安网站开发 信息安全发展史 河北大学信息安全专业 淘宝营销知识 企业建网站 网络安全专业? 网络安全大会 数据 个人信息 直销网站建设 openssl与网络信息安全 下载国外app设计网站 国家网络安全中心 公司营销策划托管 微信营销的成功总结 网络安全网络空间 中心网络安全管理办法 上海网络安全监察部门 网络安全新技术 传统网站和手机网站的区别是什么 重庆王网站制作成都企业网站建设公司 信息安全管理专员 重庆网络安全公司 北京昌平网站设计 下半年的信息安全会议 手机营销网站 网站建设外包 网站建设分几个阶段 信息安全等级保护实验室 菏泽网站制作 公司营销策划托管 中国石油信息安全 赣州做网站 网络安全新技术 开设信息安全大学名单 网站建设外包 信息安全服务资质安全工程 网络信息安全创新创业大赛 有关网络安全的电影 广西网络安全技术大赛 信息安全保障 认证 临沂在线上网站建设 牡丹江网站建设 小米事件营销 openssl与网络信息安全 下载国外app设计网站 南通企业网站制作 网站icp备案 建设公司网站的重要意义 企业网站建设技 信息安全等级保护二级要求 什么是信息安全事态 南京网站设计公司 搜索引擎营销理论基础 杭州 信息安全培训 信息管理与信息安全实验室 四川省信息安全测评中心业务 email 营销 建个人网站 高大上强企业网站 网站都是每年续费的吗 初级信息安全测评师 网站设计侵权 南通企业网站制作 从重大事件看网络安全形势 答案 雅虎网络安全小组 什么是信息安全事态 企业信息安全资质认证,-1 高大上强企业网站 网站布局有哪些常见的 1号店营销 网络安全素质 山科信息安全怎么样 在线教育营销策划方案 企业网站怎么建站 网站升级改版 网络安全实验平台 小米事件营销 2017年信息安全竞赛 网络安全方面的认证 有关网络安全的电影 横山桥网站 营销的误点 台湾网站建设 景区网络营销策划方案 网络营销宣传方案 中国移动4g网络安全 网络安全风险评估情况 下半年的信息安全会议 企业宣传网站建设 网络安全监测方式 新媒体营销外包公司做个简单网站大概多少钱 公安信息安全助手网址,-1 珠海高端网站制作公司 网络营销定义 2017年信息安全竞赛 网站免费注册域名 公安部网络安全保卫局网站 台湾网站建设 网络安全软考 新媒体营销外包公司做个简单网站大概多少钱 企业建网站 为什么说信息安全是一项系统工程 网络安全网络空间 银行信息安全演讲,-1 网络安全法对央行履职 泰安网站开发 建立网站的条件 安徽省 信息安全 为什么说信息安全是一项系统工程