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

<a class="close" href="https://lq83i.6590.com.cn/">&times;</a>
太原推广型网站制作微信营销月总结报告江苏省网络与信息安全协调小组信息安全保护技术措施佛山网站设计公司网络营销的优势与劣势网站迭代网络安全 主动出击优秀企业网站设计工控信息安全 介绍他喝了一大口酒,眼睛看着那些画板,有的是女孩坐在草地上,有的是女孩坐吃苹果,有的是女孩做鬼脸,有的是女孩钻在桌子底下,有的是女孩在海边沙滩上走,有的是女孩在看书,有的是女孩在堆石头,有的是女孩在吹肥皂泡,有的是女孩在海边堆沙堡。 到处都是同一个女孩的头像,到处都是他无处不在的思念,和他曾经毫不吝啬的青春。她用眼睛一张一张的端详起这些画作,每一幅画作虽然很唯美,却都散发出悲伤的气息,仿佛充满了痛苦而挣扎的记忆,她轻轻地问,你为什么你不去找她? 他的眼睛里闪过一丝痛楚,我的世界在这里,离开了我的画室我就不再是我自己了。 她问,既然你这么想念她,难道不能将你的画室带到有她在的地方吗? 他的表情显得忧伤而决绝,我必须远离喧嚣,有如一座寂静的庙宇,我需要用有限的生命去创造永恒。 他问,你呢,为什么来到这里,为什么那么伤心。 她本来不是一个喜欢说话的人,也不喜欢轻易坦露自己的心事。但是这次她说,我总是这样。 傀儡挣不脱手的操控,风鸢扯不断线的束缚。但你是否甘心? ...... “执吾契约,为吾使徒!天地常在,子亦长存。愿否?” “终为始,始亦终。化身尘土,还灵天地!愿否?” ...... 苍老的声音在雾海中翻腾,沉默等待那意料之中的答案...... ...... 前科幻频道《星徒》作者,日更连载1076天无断更。 地图设定、3D人设、作者信息尽在公众号,搜索“游云之语”或者“cloud-whisper”在联邦星球,隐藏着无数个折叠空间,刘小浪像是一个行者,带着他的亲密小伙伴,在一个又一个神秘的元墟穿行......苏祈因为玩了一次笔仙游戏就被拽进了一个诡异的门后世界…… 这个世界,没有规则,没有对错,除了活着,没有别的选择。 轮回的教室,充满了笑声的楼梯间,尸块堆积的地下仓库。 同学接二连三的惨死却引发了更大的祸端,大门仍然是关闭的,游戏仍然在继续。 只有苏祈知道,自己病了,病的很重。 当他彻底无法控制病症之后,整个诡异世界,都会感受到真正的恐怖……子受穿越为殷商纣王。 系统发布的第一个任务竟然让他找个女人表白,任务失败回到原世界? 子受表示:当nm的暴君,老子要回去! 为了回到原世界,作死表白了女娲。 却没想到阴差阳错地成功了! 子受:女娲是我女朋友怎么办?急,在线等! Ps:此书又名《我的女朋友是女娲》、《女娲好感度爆满了怎么办?急,在线等!》茫茫天地,亘古永存,所有生灵,不断轮回,无限延续。 忽有一日,天地变,三界崩,阴阳转,轮回断,从此世间再无轮回,直至天地毁灭.....现代佣兵周文意外魂穿到民国学生周文身上。他利用穿越带来的一颗佛珠的神奇功能,再加上后世带来的经验、知识和技能。打造了一只武功高强、军事技术顶尖的佣兵团队。 他带领这支佣兵团,历经中原大战、淞沪抗战、称雄上海滩。装备了当世最先进的各种武器,最后投身于伟大的抗日战争中。带着兄弟们杀鬼子......特种兵赵阳一觉醒来却发现自己竟然魂穿三国时代,并且获得了无双帝皇系统。他从此开始收名将,纳美人,灭刘备,退孙权,拒曹操煌煌一世。曹操:“我曹氏子弟不如子炎分毫。”刘备:“谁能帮我除了赵子炎,我封他为王。”孙权:“赵子炎是上天派来惩罚我的吗?”赵阳:“我还没发力,你们全倒下了,还让我怎么玩啊?”最后问鼎江山一统天下。赵阳看着眼前的皇座,心中无限感慨:“我本低调,但实力不允许,奈何奈何~~” 他拥有令人艳羡的身世,他的的父亲是一国元首,而他的人生际遇却从没有受到过任何优待。 他拥有天生异能,他是传说中十二神石之首--“力量之源”的主人,但是这个异能却总在他需要时失灵。 他资质平平,没有一点武技和魔法的修为,却被上古邪灵看中,成为邪灵寄生体,变成了邪灵的傀儡。 他的梦想只是做一个普通人,但是命运总是跟他开玩笑,让一些不普通的事情跟他扯上关系,让他成为众人的焦点。 一个一心只想成为平凡人的他如何成就了他不平凡的一生,他的一生福兮?祸兮?他本是虚夷之境人人景仰的尊圣,连仙帝都畏惧三分,在苍穹之巅上缥缈度日,虽为神,却终日郁郁寡欢,无人知晓他的感受,但他又是这世间必不可少的存在。千百年的时光,终将消磨掉他的信念。于是,他便就此陨落,虚夷之境也再无一位至尊。 后天,先天,宗师,大宗师,圣人,尊神,尊圣 (初境,小成,中境,大成,圆满 )
上海整合网络营销公司 网络安全厂家分类 上海网站建设app 广州企业网站设计公司 网络安全编程的特点 商业网站设计 悬念式营销 网络营销的优势与劣势 重庆网络安全周 信息安全等级保护公司 克服职场升迁障碍咨询【www.richdady.cn】 意外的心理调适【www.richdady.cn】 外灵干扰的前世因果咨询【www.richdady.cn】 解梦的咨询技巧【www.richdady.cn】 亲子关系的家庭氛围如何营造?【www.richdady.cn】 感情纠纷的情感疏导技巧有哪些?咨询【企鹅383550880】√转ihbwel 与女友前世的故事分析咨询【企鹅383550880】√转ihbwel 老公家暴的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 发育倒退的咨询技巧咨询【www.richdady.cn】√转ihbwel 强迫症的自我提升咨询【σσЗ8З55О88О√转ihbwel 发育倒退的心理调适咨询【σσЗ8З55О88О√转ihbwel 强迫症咨询【www.richdady.cn】√转ihbwel 突然过世的原因有哪些【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情纠纷的情感疏导技巧有哪些?咨询【微:qq383550880 】√转ihbwel 与男友前世的咨询技巧【微:qq383550880 】√转ihbwel 与男友前世的故事分析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世老婆的前世修行【企鹅383550880】√转ihbwel 有官司的预防措施咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 工作场所意外事故的原因【企鹅383550880】√转ihbwel 冤亲债主干扰的超度方法【σσЗ8З55О88О√转ihbwel 网络安全常用工具 广州做网站信科分公司 第八届中国信息安全博士论坛 网站的栏目 扁平化网站建设公司 网上营销 广东网站建设专业公司 营销式网站制作 网络安全需要什么证书 网站 云建站 网络信息安全备案表 展示型网站建设流程 绿盟科技引领信息安全潮流 全国大学生信息安全竞赛2017 计算机网络安全认证技术包括数据加密技术和网络安全传输技术 网络安全法 重点解读 百度知道营销专家 学校网站模板 城市网络安全解决方案 徐州html5响应式网站建设 重庆网络安全周 怎么样做网站的目录结构 网络安全法大赛 网上营销 信息安全保护技术措施 太原建网站 信息安全等级保护公司 沈阳市做网站的公司 信息网络安全答案 网站页面尺寸 银监对信息安全的要求 中科院信息安全所高端全网平台整合营销 免费建建网站 沈阳网站制作 做一个独立网站需要多少钱 网络事件营销的优点 微信营销月总结报告 网络安全常用工具 做网站销售 建设官方网站 广东网站建设专业公司 广州做网站信科分公司 网络安全应该怎样做 龙岗 网站建设 怎样给网站换空间 第八届中国信息安全博士论坛 信息安全等级保护公司 网站站内优化 西宁做网站 网站的栏目 网络安全需要什么证书 南昌市建网站的公司 青岛专业做网站的公司 扁平化网站建设公司 知道创宇信息安全 网络营销公司 优帮云 seo营销技巧培训班 网上营销 掌握网络安全技术 深圳新媒体营销平台 网站写文案 广东网站建设专业公司 如何建立个人网站 网站页面尺寸 信息安全犯罪案例 营销式网站制作 饭客网络安全论坛 临沂做网站 个人网站备案 网络安全需要什么证书 网站架构图 网站速成 软件注册信息安全吗 网站 云建站 怎么样做网站的目录结构 信息安全风险评估的一般步骤 上海整合网络营销公司 网络信息安全备案表 营销式网站制作 网络安全宣传情况 网络安全攻击的方法 渐变网站 珠海网站策划公司 it 信息安全 2017 新媒体营销热点 网络安全监督管理电话 深圳新媒体营销平台 珠海网站策划公司 悬念式营销 网站开发技术 全国大学生信息安全竞赛2017 主机 信息安全风险评估报告 网络安全法大赛 网络安全 主动出击 ie8 中网站后台编辑器ewebeditor不能发布文章 外贸网站优化 扁平化网站建设公司 石家庄网站设计制作服务 网络安全法 重点解读 关注信息安全 网站教程 手机网站开发技巧 网络安全公司 招聘 城市网络安全解决方案 黄鑫信息安全竞赛 网络信息安全 考试系统 北京网站开发建设 互联网信息安全解决 佛山网站设计公司 维护一个网站 石家庄网站设计制作服务 网络安全需要破除 贵阳大数据与网络安全 百度知道营销专家 青岛个人网站制作 建英文网站 徐州html5响应式网站建设 网络安全环境整治 主机 信息安全风险评估报告 青岛个人网站制作 重庆网络安全周 酷网站欣赏 信息安全 产业 网络安全的核心 网络安全积极防御技术 黄鑫信息安全竞赛 大学生网络营销策划书 网络安全法大赛 临沂做网站 展示型网站建设流程 新媒体营销外包公司哪家好 信息安全犯罪案例 网上营销 商业网站设计 前端营销