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

<a class="close" href="https://opwj.ekhx.cn/">&times;</a>
互联网出口 网络安全深圳网络安全咨询公司信息安全产品排名网站推广软文搜索型网站公司网络营销的方案企业网站快速建立aspcms2.2新手完全自学视频教程 免费下载芜湖网站推广网络安全流程图网络安全缺陷拥有三天赋,被誉为可能是拯救华夏最后一根稻草 的女帝穆青婉,却在觉醒天赋归来之时,寻到了 无是处,平平无奇的林辰,当着全校师生的面前做 出了最真挚的告白 灵气诡秘复苏,鬼神岀没,妖魔纵横…… 放弃了永生的至高圣位,见识到了时间长河尽头, 转世重生只想这辈子做个普通人混吃等死的林辰, 却忽然发觉,想做一个普通人真的好难啊 为什么你们都要来招惹我,真当我没脾气? 獬豸不想理你,并向你丢了一个奥利给五方力士,在天为五鬼,在地为五瘟。我叫李殇,师承五瘟使,从我父亲违背祖训的当日,阴差阳错被卷入两方势力争斗的旋涡中心,注定陷入无休无止的杀身大祸当中,为了活下去我变成了一个行走阴阳的摆渡人,真相伴着已逝之人沉埋黄土,拨开历史疑云,遥望过去,恍然惊觉,祸端的起因竟是我自己……朋友一般叫我枫音道人 敌人一般叫我疯阴老魔 其实大家可以叫我风影,风灵月影的风影性格孤僻的天才警官南港市公安局东海分局局长北海琼月只有一个愿望——成为一名恪尽职守、秉公执法的优秀警察。她从不怀疑自己的能力,坚信自己能做到让每一起案件水落石出,不料南港市发生的一系列连续凶杀案让一向被誉为神探的北海琼月焦头烂额,被害者不仅毫无共同点,而且死因离奇。北海琼月身为专案组长一直希望尽快破案,不料一件又一件事情打乱了她的计划…… 正在北海琼月被一个个意外弄得焦头烂额的时候,案件出现了一丝转机,有人目击到凶手犯案的过程,甚至在案发现场活捉凶手。本该为此举杯庆祝的北海琼月却陷入了沉思,这个被逮捕的凶手不是别人,正是和她一起上学、一起工作、一起办案的她唯一的朋友。 友情的信任遭到了巨大的冲击。作为警察,北海琼月有义务履行职责;但作为朋友,北海琼月不相信她是凶手。信任和证据面前,北海琼月必须做出抉择。 飘渺大陆是一个灵气充沛的世界,在这里,修炼者无处不在,也无所不能。 灵丹、武技、功法、秘术、这些都是修炼者一生追求的梦。 其中,被誉为天地葵宝的八系灵珠更是天下人必争之物。 **很唐突的就穿越到了这个世界,天选之人往往都是有着上天眷顾的光环。 在一次生死逃亡之下,他无意掉入了一座古老的墓穴之中,没有意外的就得到了符文铁卷,从此,他的黑色怒瞳成为了许多人挥之不去的梦魇! “霸决!” “残决!” “杀决!” “毁灭能量丸!” “千盘吸手!” “大崩裂术!” 一道道凶猛无匹的武技摧毁了一切敢于与他叫嚣之人,世人见他无不顶礼膜拜。 挚爱之人永远离他而去,心脉精血狂撒的那一刻开始,他的一头青丝骤然变成了沧桑的银白色。 坐在雪峰之上守候着那个曾经的约定,黑色的怒瞳成为了这个时代最引人争议的标志。 “重新开始也未必办不到,就让我重新塑造这个世界吧,一切的轮回皆由我执掌……” 穿越到小说世界,本来想另辟蹊径不按剧本套路,却发现付费章节,无奈忍痛跟着章节一起开启好笑之旅结婚纪念日那天,我手捧鲜花,单膝下跪,等待我的,却是床底下爬出来的陌生男人! 婚姻的背叛,人性的贪婪,让我的心愈加冰冷... 最直观的去刻画婚姻家庭、人生百态,火烧风出品,必须精品! 只因发现了院长不为人知的秘密而被院长开除,重返武院后开始了和院长斗智斗勇的故事……先别感到无趣,这,只是我传奇一生的开始!上一秒还在午休的我 下一秒我睁开眼睛发现一切都变得陌生 我新买没有一个星期的空调呢,没有你我该怎么活 不对,现在我应该在梦里。 可是为什么被打会这么疼 够了,住手。想知道是不是做梦你不会打自己呀 我一脸无语看着刚认识不久的网红小姐姐
第一级信息安全等级 西安专业的网站优化 网络营销热点事件2014 网络安全解决方案设计原则 近年来网络安全大事件 空间营销 网站建设策划书ol 重庆网络营销是什么 网络安全焦点 网站主色调 自闭症的咨询技巧咨询【www.richdady.cn】 外灵干扰【www.richdady.cn】 冤亲债主干扰的案例有哪些?咨询【www.richdady.cn】 自闭症的案例分享【www.richdady.cn】 孩子不爱读书的心理分析【www.richdady.cn】 纠纷的法律援助【企鹅383550880】√转ihbwel 特殊学校的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 解梦咨询【微:qq383550880 】√转ihbwel 去世的母亲的去向解析【微:qq383550880 】√转ihbwel 纠纷的法律咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子不读书的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主的干扰与因果【www.richdady.cn】√转ihbwel 财运不佳的风水布局咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 祖灵咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰的前世因果咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 精神不振的前世因果【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 人际关系不好的咨询技巧咨询【www.richdady.cn】√转ihbwel 缺心眼的心理调适咨询【www.richdady.cn】√转ihbwel 事业不顺的职场建议有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 网络安全焦点 网络营销的调查报告 大连做网站公司 成都 网站设计公司 2016信息安全审计发展趋势 信工所信息安全,-1 关于网络安全新闻 北京网络安全讲师 sns营销策划案例 公安 网络安全 企业 网络安全 案例及分析 o2o营销模式发展特点 建网站要学什么 重庆网络整合营销培训 泊头建网站 qq营销网网络营销目标市场选择 小红书网络营销推广 网站管理系统 大连做网站公司 网络安全做的好的公司 信息安全技术 章程 信息安全管理体系定义 网站的营销方法有哪些 四视图网站 网络安全法 等保测评 信息安全管理网络安全企业高峰论坛 大连做网站公司 网络安全流程图 哈尔滨网站建设市场 河东做网站 网络信息安全事件分析 代防火墙与网络安全中的防火墙有何联系和区别 营销型平台包括哪些内容 网络安全密匙破解 国内外网络安全论坛 网络安全技能竞赛的内容 论坛营销软件 政府网站建设 网络推广营销 重庆网络整合营销培训 网络安全保卫局官网 建网站报价 公安 网络安全 信息安全专业认证 2017网络安全高峰论坛 计算机网络信息安全 千度网站 信息安全相关设计 格力公司网络营销定位 网络安全做的好的公司 网络营销策划方案 网络安全如何创业 郑州的数据营销公司怎么样 网络安全展 网络安全测评机构 辽宁 网络安全解决方案设计原则 东莞seo网站优化伍佰亿官方网站 空间营销 中企动力技术支持网站 网站销售 网站网页制作机构 网站设计佛山顺德 信息安全都有哪些大学 网络营销作业从域名空间网页的内容结构功能风格分析 网络营销理解从重大事件看网络安全形势 答案 教育信息安全等级保护测评中心 云平台的运维与管理 ppt sns营销策划案例 网站背景怎么弄 教育信息安全等级保护测评中心 云平台的运维与管理 ppt 中企动力技术支持网站 网络安全法 等保测评 成都 网站设计公司 提高个人信息安全意识 佛山网站设计特色 信息安全漏洞分类 河北移动端网站建设 互联网营销的优缺点 网络营销课程资源 江津网站建设 小红书网络营销推广 保定专业做网站 网络信息安全事件分析 网站赞赏 企业网站建设服务热线 信息安全体系设计 代防火墙与网络安全中的防火墙有何联系和区别 第一级信息安全等级 大学生信息安全考证 哈尔滨网站建设市场 网站制作 技术 网络安全设备销售 信息安全管理体系定义 网络安全解决方案设计原则 网络营销理解从重大事件看网络安全形势 答案 河北移动端网站建设 网络安全密匙破解 信息安全管理体系定义 网站的营销方法有哪些 信息安全相关设计 学习网络安全技术最好的地方 网站的营销方法有哪些 网站推广软文 网站主色调 北京网络安全讲师 企业 网络安全 案例及分析 信息安全都有哪些大学 网站管理系统 免费建网站家谱系统 内蒙古网站建设 淄博网站建设相关文章 信息安全技术 章程 2016信息安全审计发展趋势 官方网站建设 网络安全法第24条 信息安全产品排名 网络安全法 等保测评 网络安全对企业 设计网站的优势 网络安全评级 河东做网站 网络安全如何创业 网站赏析 网络安全管控系统 网络营销推广策略是什么 空间营销 信息安全审计计划 免费建网站家谱系统 超链接营销 学校网站建设 2015网络安全大会 小红书网络营销推广 石油石化信息安全 2015网络安全大会 网络安全周 2017 互联网出口 网络安全