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

<a class="close" href="https://1ds.duqo.cn/">&times;</a>
网站建设网站推广cps营销网站制作 番禺公司网站管理中心可以修改内容上传图片不能修改主页画面医院自营销网站制作帐户设置主要有哪些信息安全技术总裁营销学网络安全法多少条建网站怎么上线陪朱棣走过最艰难的一段路。 这是个赘婿奋斗在乱世的故事。 恭喜绑定育儿成长系统 本系统因不可描述原因 受损程度78%,无法主动提供任何帮助 如遇危险请用爱感化对方 谢谢合作 简介?什么简介 作者已经被整疯了 哈哈哈 假的 假的 全是假的 去你的育儿系统啊啊啊啊!洪武十三年,胡惟庸案开始。 靖安侯方修遭言官弹劾,豢养私兵,结党营私。 朱元璋与文武百官来到方修住所求证。 却发现他在寒冬腊月,穿着单衣,吃着剩饭,住着茅屋,三十年如一日。 省下的银子,不是用来建书院,就是用来造枪炮。 多年后,面对已经是丞相的方修,朱元璋终于忍无可忍: “方爱卿,求求你,贪污吧!咱大明不允许有你这么穷的丞相!”意外被卡车撞死的周奕,阴差阳错成为了阴阳商人! 阳间孟婆汤饥饿营销,阴间替鬼追凶服务,氪金轮回包你满意! 只有你想不到,没有周奕他办不到! 只要格局打开,人生处处是惊喜! 作为一名优秀的雁过拔毛阴阳商人,周奕表示,是龙也给我盘着!是虎也给我卧着! 毕竟我一个行走阴阳两道的商人,战力天花板也不是什么稀奇的事吧?他性格独特,为杀害之仇血洗苍生。他与三杰一统世界,问世间何为法,他就是法。一步步走上巅峰,复兴家族,成为全宇宙第一人!30后地球被一束光包裹着,当光散去,人类的眼睛发生了变异甚至动物也是。眼睛变异的生物拥有了超人般的能力被称为异瞳者。单懿是五年前编号012赤级副本的唯一幸存者,但抛弃懦弱一直贯穿着他的一生。五年后,单懿成功地证明了自己并且要为自己的同伴报仇。宇宙就是一座黑暗森林,每个维度的文明都是带枪的猎人,在这片森林中,他人就是地狱,就是永恒的威胁,任何暴露自己存在的生命都将很快被消灭。——刘慈欣。 元宇宙历188年,人类主动打开元宇宙世界,将自己暴露在诸天宇宙所有万维生物的眼前,开启了漫长而又血腥的进化之战。 “与其等着被其他维度狩猎,不如主动出击,要么轰轰烈烈实现进化,要么全族战死万维战场。” “人类,要的从来不是生存,而是进化!” 看着满天由二维生物、四维生物、六维生物……组成的万维大军,人族第一战神叶天横刀向前,所向披靡。诸天气荡荡,我道日兴隆! 楚风穿越到神秘莫测的世界,悲催的发现自己是个瞎子... 外加没有修炼天赋,只能前往蜀山剑宗的封魔塔,擦拭雕像,却不曾想得到了观像就能得到奖励的系统。 【你成功观像蜀山老祖,获得通天圣体!】 【你成功观像蜀山掌教胜七,获得功法,霸天剑典!】 【你成功观像蜀山长老叶玄,获得顶级道法,一剑定生死!】 …… 三百年后,堕落的正道之首乱天宗,联合曾经毒瞎楚风双眸的拜月神教进攻蜀山剑宗,蜀山剑宗危在旦夕! 楚风持剑,脚踩祥云,俯视妖邪,俾睨天下! “仙人之下,我无敌!” “仙人之上,一换一!”梦中他是世间最古老的生命,长生不死神威盖世!梦醒他是世间普通一员。当有一天神话复苏,他赫然发现自己的梦竟是曾经的历史。而似乎神话时代的终结就是由他一手操纵,当神话再一次降临他又会走向何方!是再一次终结神话时代开创前途未卜的科技大道,还是融入神话成为那至高无上的不死至尊! 我是人!是盖亚!是生物!不是神!!! 一个另类的足球天才,一群热血的足球人,一切从零开始,逐步成长,从弱小变得强大,从中国走向世界。 足球理想、足球智慧、足球商业、国家精神、民族气度,所有元素都在《影球者》中,既虚幻又真实,在中华民族伟大复兴的路上,谱写我们的足球传奇。 本小说献给为中国足球腾飞矢志不渝,默默奉献,勤奋耕耘的人们。
客户短信营销 门户网站网站制作 张斌互联网营销策划 昆明网站建设制作 维护网络安全我会做到 信息安全+应急响应 网站页面设计稿 武汉网站优化seo 昆明网站开发多少钱 营销四大系统 官司的法律援助【www.richdady.cn】 发育倒退的医学检查咨询【www.richdady.cn】 精神不振的自我提升【www.richdady.cn】 官司的自我保护咨询【www.richdady.cn】 前世今生的轮回传说咨询【www.richdady.cn】 亲子关系的心理调适威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 精神不振的咨询技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 解梦的前世影响咨询【www.richdady.cn】√转ihbwel 去世的母亲的前世案例【www.richdady.cn】√转ihbwel 不爱读书的原因分析咨询【www.richdady.cn】√转ihbwel 如何知道自己有前世缘份?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子学习不好的前世因果咨询【www.richdady.cn】√转ihbwel 前世今生的故事如何影响现代生活?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 事业不顺的职场困境咨询【微:qq383550880 】√转ihbwel 前世老婆的前世影响【微:qq383550880 】√转ihbwel 亲子关系的问题分析咨询【微:qq383550880 】√转ihbwel 前世今生查询服务咨询【σσЗ8З55О88О√转ihbwel 感情纠纷的情感重建方法有哪些?咨询【企鹅383550880】√转ihbwel 去世的母亲的前世因果咨询【σσЗ8З55О88О√转ihbwel 脑部不清晰的环境影响咨询【www.richdady.cn】√转ihbwel 医院自营销 桂林网站建设 营销推广要点 公司网站建设推广 微博营销传播效果 福州建网站 莞城网站制作 网站制作价格 上海 网络营销的常见问题 2015中国网络安全技能大赛 网站制作公司电话 杭州 网站建设公司排名 日照网站制作 网站设计费 宁波seo营销 管理网站制作 企业网站建设 idc 中国网络安全市场 达内2016网络营销seo 兰州网站建设公司排名 云南专科 信息安全 北京欢迎你网站制作公司 台州网站优化 优秀设计作品网站 公司网站管理中心可以修改内容上传图片不能修改主页画面 总裁营销学 工业物联网网络安全 网站制作公司电话 网络营销参考书 查看网络安全日志 网站制作价格 上海 北京平台网站建设 微博网络营销软文 手机信息安全概述 2017 网络安全 断网 建网站程序 网络信息安全法主体 网站域名域名 国际网络安全法 西电信息安全录取分 网络营销的对策有哪些 北京公司网站建设报价 国网信息安全培训心得百度竞价营销 桂林网站建设 网站模板 购物网站推广 沙井做网站 信息安全+应急响应 长春微信做网站 公司营销网站制作 信息安全 大数据 公司网站建设推广 网络营销的常见问题 汽车软文营销案例 做网站讯息 网络信息安全法主体 做网站推广邢台 太原网站改版 电商营销策略案例 福州建网站 xx旅行社网站建设方案 企网站技术解决方案为申请虚拟主机 营销策划培训班 网站主播 麦包包营销 公司网站建设推广 北京平台网站建设 南京网站建设 济源建网站 泰安网站设计 网络营销渠道的成本 快速设计网站 如何在饥饿营销策略 购物网站推广 网站建设网站推广 网站注 1、大型门户网站服务功能 网络安全协议都有哪些内容 企业网站建设 三亚网站建设 网络科技网站设计信息安全咨询公司名称,-1 网站制作公司电话 电子 东莞网站建设 2016网络信息安全事件 我国网络营销环境现状 2017全球网络安全事件 杭州 网站建设公司排名 建网站怎么上线 泰安网站设计 客户短信营销 2017 网络安全 断网 qq营销的优缺点 微信营销的特点有哪些 国家信息安全等级要求 北京事件营销公司 定制建网站 管理网站制作 我国网络营销环境现状 2014年网络安全形势 信息安全服务资质认证分几级 网络营销参考书 北邮网络安全 企业面临的信息安全 专业外贸网站建设 2015中国网络安全技能大赛 企业网站建设 北邮网络安全 信息安全检测定义 贵阳设计网站 宁波seo营销 信息安全是对信息的 工业物联网网络安全 查看网络安全日志 网络营销途径都有哪些 网站模板 如何在饥饿营销策略 保山网站建设 现在手机网站设计 信息安全 大数据 桂林网站建设 门户网站网站制作 营销推广介绍 卡片式网站 情感营销策略案例 长春专业网络营销公司 网络科技网站设计信息安全咨询公司名称,-1 口碑营销的经典案例 湘潭网站seo 计算机信息安全产品 保山网站建设 台州网站优化 滴滴出行营销案例 导入mysql数据库 空间 网站 教程 flasfxp 网站制作帐户设置 张斌互联网营销策划 建公司网站