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

<a class="close" href="https://dqi.duqo.cn/">&times;</a>
与网络营销相关的书籍推荐网络和营销策略深圳网络营销师招聘信息营销环境分析的内容个人注册网站.com信息安全笔试,-1网络营销师证书无线网络安全的应用东莞长安网络营销招聘信息衡水做网站公司萧央重生平行世界,这世界没有前世那些大明星,大导演,大作家,于是他笑抽了。 随便写写小说,版权费到手,随便写首歌,火爆全国…… 但是他的梦想还是当个光鲜亮丽的演员,或者,能做个大导演岂不更好?   (本书企鹅号:436276579)  武灵域,大宏王朝境内宗门林立,家族纷争,已成群雄割据之势。   在这方弱肉强食的天地,各地武灵士为求生存,自强不息。   他们修真称王,驭兽称霸,更甚者与朝廷军队为伍,向匪患发起强烈攻势。   各派武灵士的所作所为,皆为寻求长生之法。   武功二十三年,龙骨山下龙灵城。   四镇重地,东关镇有一霸主家族,称为东方家族。   家族之主东方青锋,因遭仇敌暗害而失踪,生死不知。   值此家族摇摇欲坠之际,少主东方晋以弱冠十四,肩扛家业重担。   努力修炼成长,后来成为了帝师段位的武灵霸主!四千万年前,地府阴天子因触犯冥条转世轮回,自此以后地府是天子隐匿不出,地府阴气涌入凡间,自此以后人间鬼怪横行玄门势微。 四千万年后,地府阴天子转世为南国信王府世子宁凡被迫当灵鹫峰鲁王府赘婿,在逃离鲁王府的过程中得知当年杀害自己幼弟的凶手。 宁凡在逃出鲁王府后踏上了学习玄门万法报血海深仇之路。游戏俱现,五开玩家李长生,突然获得五个号的修为! 别人满级200,李长生:“我1000级什么鬼?” 别的玩家只能选一个职业,李长生:“你见过八块腹肌的法师吗?” 这是一部青春时期的回忆录。每个人的青春都是丰富多彩的,值得可歌可泣的,值得大说特说的,我们富有热血,我们积极向上,我们有过迷茫,也曾失落彷徨,愿你们独一无二的青春,能够得到你们想要的结果,活出自己的自由。监狱禁闭室中有句话人尽皆知,有朝一日龙抬头,定让黄河水倒流,有朝一日虎归山,定让血染半边天。星云宇宙环宇星海第一强者龙海,寻找百万年前,追杀上古邪魔的两位古神界护法祖师爷,而进入了其他宇宙位面空间之中,嫉恶如仇,不畏艰险,勇往直前是龙海的本心,在七大宇宙空间里,行侠仗义,救苦救难,发扬着大无畏精神……就在邪魔启动了轮回灭世的元器时,世间亿万生灵即将涂炭,所有人面对死亡也无能为力,这时龙海出现,利用两把终极元器才打破了轮回之刃,叫停了湮灭轮回的力量,谁曾想这祸害的源头竟然是创造了宇宙万物空间的造物主“神祖”的邪恶怨念所化,真是正邪不两立却出自一处!都是神祖的思想而已!正义和邪恶都是神祖体内的思维万象,演变出来的真实大能力!众人知道后都是无奈的摇头,只因为人类都是凡人,只有个别的修炼者得到了神祖真传,成了世间的大能为者,统治着整个宇宙空间和所有的环宇星海,龙海最终成了超越神祖境界的人族强者,达到了无极之境,废除了神祖的传承,站在了环宇之巅最高处! 本书就是《被逼成圣》的续集故事!正人君子赵高穿越到玄冥大陆,获得为所欲为系统,八十好感度有概率获得对方十分之一修为,九十好感度可开启为所欲为模式,满百好感度可无忧为所欲为! 别人升级靠修炼,赵高升级靠攻略,万物皆可攻略! 夫人,你也不想被我攻略后为所欲为,无法反抗吧!桀桀桀... ...... 异界门票不是爆史诗的吗?这奶罐、破面具、烤羊腿...是什么意思? 赵高看着每次从异界得到的一推破乱玩意儿陷入沉思。 ...... “三十年河东,三十年河西,莫欺少年...啊~” 赵高:小林,快,把那个喊三十年的给我带过来,别让人打死了。 ...... 大哥你好,我姓韩,在家排第六,你可以叫我小韩... 赵高,猝!...你个老六,我真是服了你了!别让我再碰到你! ...... “我为宗门流过血,我为宗门立过攻...你们不能这么对我...” 赵高:这小白怎么这么胆小?永安不安!白焰不白!一团苟延残喘的青焰,一个没落门派的弟子,一段埋葬在时间长河的秘史,千年的和平似乎让人们忘记了曾经的威胁,在这诸天星海,万界之族中,苦而弥坚的人族、据高临下的妖族、作壁上观的神族以及……在这万类霜天竞自由中,谁为棋子?谁为棋手?有人问:“生活的意义是什么?”我说:生活的意义就是不需要去寻找它的“意义”,我们活在这个光怪陆离的世界里,像是星辰大海、繁星点点,而意义就在于:我们,慢慢发光的那一个过程。 还有人问:“那爱情呢,是什么?” 爱情……也许会让你这颗“星”熄灭,但总会出现一个人点亮你的世界。 我叫周东黎,我用我的故事来告诉你,什么是生活,而什么又是爱情。
网络安全 强化培训 网站的布局 营销型网站功能表 北京网站建设公司 网络安全公司咨询 无线网络安全的应用 东莞企业营销型网站建设 信息安全等级评估证书 从化建网站 做网站需要学什么 孩子不爱读书的阅读习惯【www.richdady.cn】 家庭关系的前世记忆【www.richdady.cn】 财运不佳咨询【www.richdady.cn】 孩子不爱读书的阅读计划咨询【www.richdady.cn】 官司的法律援助【www.richdady.cn】 冤亲债主干扰的超度方法咨询【σσЗ8З55О88О√转ihbwel 财运不佳的财富增长技巧有哪些?咨询【企鹅383550880】√转ihbwel 事业不顺的前世因果咨询【www.richdady.cn】√转ihbwel 前世缘份的前世缘分【www.richdady.cn】√转ihbwel 前世缘份的常见类型【σσЗ8З55О88О√转ihbwel 前世缘份的咨询技巧【σσЗ8З55О88О√转ihbwel 感情纠纷的情感沟通【企鹅383550880】√转ihbwel 耳鸣的环境影响【企鹅383550880】√转ihbwel 与女友前世的故事分析【σσЗ8З55О88О√转ihbwel 长期头脑混沌可能是哪些疾病的前兆咨询【企鹅383550880】√转ihbwel 外灵干扰对日常生活的影响咨询【微:qq383550880 】√转ihbwel 家庭关系的情感维护【www.richdady.cn】√转ihbwel 如何知道自己是否有前世缘份?咨询【企鹅383550880】√转ihbwel 大龄剩女的婚恋困惑【微:qq383550880 】√转ihbwel 亲子关系的沟通技巧咨询【微:qq383550880 】√转ihbwel 深圳企业网站制作 什么叫企业网站 淄博网站排名seo 网站改版公司 绿盟信息安全科技公司 高校信息安全实验室 计算机网络工程!|辅修程序设计网络安全等课程! 信息安全笔试,-1 可口可乐的软文营销案例 浦东新区网站建设 做app网站建设 昆明云南微网站搭建 营销培训学校 - 百度 实用网络营销教程 网站建设协议 智能营销系统正规么 汉中网站建设 gbt 20984-2007 信息安全技术 信息安全风险评估规范 织梦(dedecms)网站不同自定义表单提交后的跳转链接怎么修改? 南山区网站建设公司 网站的布局 网络营销能力秀的文章 营销培训学校 - 百度 中国信息安全等级保护 美国 联邦信息安全法案 信息安全相关单位,-1 兰州网站建设报价 杭州信息安全公司 广东省信息安全协调工作系统 哈密网站建设 建行个人电子营销平台 东莞企业营销型网站建设 服务是软营销 360网络安全团队 衡水做网站公司 北京网站建设公司 营销策划平台 信息安全管理协同体系 营销广告语 信息安全技术大纲 信息安全技能竞赛 小程序在建网站吗? 企业网站需要响应式 游戏营销环境分析报告 信息安全管理协同体系 西北信息安全测评中心 政府网络安全工作方案 信息安全违规案例 网络安全攻击有哪些 dos攻击 成立一个做网站的公司成本 织梦(dedecms)网站不同自定义表单提交后的跳转链接怎么修改? 信息安全产品证书号查询 网站建设报价 信息安全等级评估证书 网络营销工具和方法有哪些内容 汉中网站建设 邢台网站建设 深圳企业网站制作 营销环境分析的内容 郑州网络营销服务 营销策划部 中国信息安全学会 公安 西北信息安全测评中心 中国个人信息安全 公安局信息安全证明,-1 网站兼容问题 虎门做网站 营销策划平台 淄博网站排名seo 联邦信息安全管理法 做app网站建设 番禺手机网站制作推广 个人注册网站.com 网络安全身份认证有哪些类型 服务是软营销 病毒营销 案例 2016 游戏营销环境分析报告 珠海政府网站建设公司 沧州网站制作 微博营销的swot 营销推介 网络营销整体宣传方案设计 网络安全 强化培训 网络营销师证书 做app网站建设 汉中网站建设 成都网站开发公司排名 网络营销1对1上门培训 中文域名怎样绑定网站 安徽省网络安全 可口可乐的软文营销案例 南通网站建设空间 广州网站推广 网络营销产品组合 营销研究 病毒性营销有哪些特点 网络营销的 书籍推荐 南京网站建设公司 网络安全技术内幕 南山区网站建设公司 gbt 20984-2007 信息安全技术 信息安全风险评估规范 如何建网站 网站建设公司 网站制作推广公司 中国信息安全等级保护 中国电子信息安全服务测评 建立个人网站多少钱银川网站建设多少钱 深圳制作网站 如何建网站 企业网站的意义 网络营销1对1上门培训 东营有网站 自己造网站 中国网络安全领袖 美国 联邦信息安全法案 网站建设公司倒闭 信息安全服务认证资质 商城建网站 杭州信息安全公司 软件定义网络安全 信息安全等级保护技术标准体系 国家信息安全实验室主任 360网络安全团队 o2o营销 深圳 企业 网站建设 东莞设计网站企业 哈密网站建设 网站兼容问题 安徽省网络安全 美国 联邦信息安全法案 汉口网站制作 360网络安全团队 北京网站建设公司 网站备案幕布照规范 实用网络营销教程