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

<a class="close" href="https://slgbg.duqo.cn/">&times;</a>
北京市重大网络安全事件网站建设系统网站设计工作室网站定制与模板开发平台的网络安全认证网络安全防火墙上海学网络营销的地方保定市网站建设网站设计工作室互联网营销的主要优势开局穿越红云,成了洪荒第一大冤种? 让位是不可能让位的,这辈子都不可能做好事了! 等等,你说什么? 我有系统! 只要做好事主动赠予对方灵宝功法,就能随机获得100到10万倍的暴击返还奖励? 对不起,我承认我刚刚大声了点。 我红云高风亮节,就喜欢做好事! “叮!恭喜宿主赠予准提蒲团一个,已触发万倍返还,奖励鸿蒙蒲团一个!” “叮!恭喜宿主赠予帝江九九散魄葫芦,奖励混沌葬天葫芦一个!” “叮!恭喜宿主赠予冥河老祖冥河胎盘,奖励血道胎盘一尊!” …… 在红云的义薄云天之下,整个洪荒势力都懵了。 鲲鹏:“不可能!红云道友高风亮节,怎么可能坑我!” 准提:“红云高义,堪比大道!我西方经此大劫,一定不是红云道友所为!” 三清:“我也不想怀疑红云道友,毕竟他给的实在是太多了啊!”吴邪怎么也想不到,自己三十岁生日的愿望竟然实现了, 只不过这地方有点不对劲,但缓劲过后,那是相当嗨啊! 有老婆,有妾,还有通房丫头,最大的亮点还是能去怡红院! 咳咳……这时代真的让男人爱上啊! 只是, 只是,这男人的名声太臭了吧! 怎么把名声改过来?怎么把名声改过来?怎么把名声改过来? 吴邪开始一系列重大挑战……茫茫天地,亘古永存,所有生灵,不断轮回,无限延续。 忽有一日,天地变,三界崩,阴阳转,轮回断,从此世间再无轮回,直至天地毁灭.....灵魂之都是一个基于精神类疾病治疗的元宇宙空间,帮助人们认识自己,找到记忆中的创伤性原点,并进行提取和修复,但一个强大的黑暗力量入侵了灵魂之都,让原有的秩序变得混乱,甚至导致了一部分精神疾病患者的症状加重,主人公一行人在逐渐探查的过程中发现了更加让人吃惊的事情......简介:末世降临,一个出生于偏僻山村的普通草根小人物开启开挂人生,逆风成长,最终蜕变为人类守护者的故事。人在没有离开尘世时,谁也说不清未来将会发生什么。 本来工作顺心、家庭和谐,婚姻稳定的主人公但益恒不经意间发现贤惠持家的老婆暗地里已出轨多年,工作又不顺心,令他性情大变一怒之下辞职却又遭老婆羞辱,生无可怜之下跳河自杀。 死容易,生更难。 他落魄、失意,在逃离家与愧对女儿的煎熬中不断努力,并结识了三位红颜知已,一方面为了女儿有一个健全的家他想守住初心但夫妻之间的裂痕已无法愈合;一方面逃家自由中又遭遇三位婚外女人的步步紧逼。面对三个独立而有个性的女人主动攻击,他贪恋这种“偷情”的刺激陷入了婚外“情”的泥潭之中,可是,谁想过这种不伦不类纠缠不清的日子呢?熊与鱼掌不可兼得,经过无数次挣扎,他只得做出断、舍、取,那晓得,命运又跟他开了一个玩笑,他该何去何从呢……少年陈枫身怀绝世神器,修盖世魔功。战人界、屠魔界、挑仙界、冲神界。打遍诸世界,杀出冲天血路,成就无上至尊。(声明:新书发布,各位新老书友多多支持。群号:158697732)2022年世界处于爆发的未知灾害之中,百鬼索命,丧尸横行……就在人类面临种族存亡之时,世界面临毁灭时刻。一股神奇的力量在人类种族中爆发,力量拥有者有与其灾害抗争的能力,于是人与灾害的战斗就此展开。截止目前2070年,人类已然掌握了与灾害对峙的能力。而在世界的一个角落,钟源绑定了末日生存系统,从此踏上了不断变强的生存之路!如果,人的梦可以控制,那么百分之九十九的人都会沉浸在其中而无法自拔吧!? 在不理想的现实中总是幻想着理想的生活,事物;可是只有晚安的梦才能真正的让心灵感觉到不一样的快乐和美好。 或许也会有噩梦,会从中惊醒,感到害怕,无助。 总是希望随心所欲。直到面对的时候才发觉自己的渺小。 失败的到来会带来恐惧,但只要存于心中的意和念不灭,其实便是成功。五年前,叶尘被暗害沉江,侥幸不死,穿越到其他位面,医武双修,达到巅峰之时重归都市,却发现自己有了女儿,但女儿却患了先天心脏病,妻子姜若雪也被抓走,叶尘怒了。他一怒,血流成海,江河撼动,让天地都为之变色。
网络营销中的机会 哈尔滨网络宣传与网站建设 信息安全大会2017 盐城网站制作 蛋糕店如何做饥饿营销策略 建立http网站 网站试运营 潍坊网站建设公司推荐 趋势科技2014 年第一季度信息安全报告 上海学网络营销的地方 忧郁症的前世记忆【www.richdady.cn】 官司的心理调适咨询【www.richdady.cn】 前世今生的轮回转世【www.richdady.cn】 老公家暴的法律咨询咨询【www.richdady.cn】 成人发育倒退的可能症状【www.richdady.cn】 莫名其妙感伤的前世因果【σσЗ8З55О88О√转ihbwel 意外事故对家庭的影响咨询【微:qq383550880 】√转ihbwel 投资项目的环境影响【σσЗ8З55О88О√转ihbwel 为什么过世的前世缘分咨询【企鹅383550880】√转ihbwel 老公家暴的心理调适咨询【微:qq383550880 】√转ihbwel 解决孩子不爱读书的问题威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子抑郁症的前世因果咨询【σσЗ8З55О88О√转ihbwel 大龄剩女的婚恋故事咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 头脑混沌时如何提高注意力咨询【www.richdady.cn】√转ihbwel 什么原因意外的前世影响咨询【www.richdady.cn】√转ihbwel 什么原因意外的前世记忆咨询【σσЗ8З55О88О√转ihbwel 家庭关系的矛盾化解咨询【www.richdady.cn】√转ihbwel 如何应对冤亲债主的干扰?【σσЗ8З55О88О√转ihbwel 婴灵的超度仪式如何进行?【σσЗ8З55О88О√转ihbwel 亲子关系的沟通技巧【企鹅383550880】√转ihbwel 关于公司建网站 镇江网站seo 信息安全领域 cia 网站酷站 趋势科技2014 年第一季度信息安全报告 邮箱营销软件哪个好用吗 视频网站费用 关于计算机网络安全证书介绍 网站建设公司 2016信息安全事件 阳光网络安全资料 广警转网络安全 盐城网站制作 富锦网站 个人注册网站.com 光速网络网站 网站加黑链 北京网站制作 茶叶蛋营销 唐山做网站 公安部网络安全监察 城阳网站建设 番禺网站 网站怎么注册 网站建设备案 c2c网络营销市场份额图 济南网络营销推广公司 网络营销工具分类 建公司网站要多久 微网站域名 视频网站费用 通州顺德网站建设 电商营销服务 信息安全备案 一流的商城网站建设 网络营销产品类型 单位信息安全等级保护工作是否做了部署 网络安全防火墙 顺德公益网站制作 印度的信息安全营销优势和劣势分析法 星巴克和微信营销 辽阳网站建设 酷炫给公司网站欣赏 c2c网站有哪些 信息安全等级测评工作 广东中山市做网站 信息安全渗透测试求职,-1 潍坊网站建设公司推荐 宝安网站建设公司 两会网络安全 金融行业信息系统信息安全等级保护测评指南,-1 手机网站空间 微信营销培训 通州顺德网站建设 网络安全证书报名 企业网站建站元素 虎门做网站 网站建设总结 上海学网络营销的地方 外贸网站模板建立 知名网站规划 网络安全 调查报告sdlc 信息安全 温州优化网站 邮箱营销软件哪个好用吗 临沂学营销 智能社交营销平台 小米的营销案例分析 我国网络安全技术 广警转网络安全 衡水做网站公司 网络安全基础的rsa的全称是什么 网络安全绿盟科技 烟台网络营销外包 唐山做网站 国家信息安全等级保护工作协调小组办公室推荐测评机构名单 印度的信息安全营销优势和劣势分析法 专业网站设计建站 2016信息安全事件 局域网网络安全解决方案 网站建设公司 中山营销型网站设计 富阳做网站 平安信息安全 网络安全 移动防御 曲靖网站建设 龙岩网站制作信息安全性测试 信息安全保护等级 国标 网络安全证书报名 网站建设系统 工信部 网络安全处 成都国家信息安全中心 富锦网站 全国信息安全邀请赛 网站试运营 国家网络安全局副局长 外贸网站模板建立 唐山做网站 茶叶蛋营销 游戏的营销 中国国家信息安全政策 网络安全大网站建设案例 网络安全基础的rsa的全称是什么 顺的品牌网站建设 潍坊网站建设公司电话 潍坊网站建设公司推荐 北京网站制作 顺德公益网站制作 无锡微信网站定制 趋势科技2014 年第一季度信息安全报告 长安网站建设多少钱 长安手机网站建设 网络安全法正式施行 计算机信息网络安全的技术支持 网络营销中的机会 网络营销中的机会 模板网站有什么不好 武汉免费网站制作 泰合信息安全运营中心系统-日志审计 关于计算机网络安全证书介绍 城阳网站建设 盐城网站制作 信誉好的龙岗网站建设 微网站域名 我国信息安全论文 网络营销工具分类 网络安全架构师 网站试运营 中国信息安全测评中心广东测评中心 网络安全法正式施行 高端网站开发建设 温州优化网站 保定哪里有做网站的 公安部网络安全监察 c2c网络营销市场份额图 邮箱营销软件哪个好用吗