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

<a class="close" href="https://ep1.6590.com.cn/">&times;</a>
网站服务器在哪太原制作网站的公司哪家好互联网营销 自学东软 网络安全网络营销20个好处品牌营销平台互联网信息安全产品分类网站的缺点杭州网络安全研究院网站布局乾坤天地,层次分明,修士修行即为修法的过程,修士修法,即为修武法、道法、命法之层次。普通少年莫恒从修武法开始,一路披荆斩棘,高歌猛进,闯荡乾坤天地。亲人离我而去,我从牛马蝇螟到一人之下,从微末之间到庙堂之上,从武斗到兵斗,再从兵斗到政斗,我战胜一切,却毫无收获,亲人留给我的是什么?我该如何拯救这一切,包括我自己?印象里,我好像有一个弟弟。我很小的时候父亲带着他消失了,那个时候我七岁,到现在怎么也想不起弟弟的样子,我甚至会怀疑,这个弟弟,会不会是我闲来无事现象出来的玩伴 嗯……作者新人,喜欢写一点奇奇怪怪的东西,可能还没有逻辑,就……咱们文明评论 本文描写一对乡下的老夫妻,一起过着平凡的而甜蜜的生活,苦中作乐,为了能够购买到一辆5000元的三轮车而,老两口不断去努力种地挣钱的故事。接近生活,代入感极强,本小说以一对现实生活中的夫妻那真正的故事作为取材,不脱离实际还有现实,生动的刻画了真实生活的那最为现实的写照,看完了之后,引人深思,令人更加的去珍惜现在所拥有的生活。趁您的亲人好友还在人世,多多珍惜,生活,那是最为苦涩而甜蜜着的。此文是麻辣女兵续文,之前一直在别的地方有更新,现在搬到这里是因为17k是我写文章的起点。此文为虐文,是5年前想出来的大纲,之所以写出来是觉得里面有的情节还不错,希望大家喜欢。文章我确实是按照麻辣女兵之前的性格人物来写的,所以读者有质疑欢迎提出来我们做探讨!  李乘风穿越到一个妖魔横行的世界,成为青城山的一个守山人。   奈何他没有灵根无法修炼,只能安安分分做一个普通人。   但是有一天,他的系统突然变异了,从此成了一个令一众妖魔闻风丧胆的得道高人……   这妖怪也太弱了,我都没有出剑呢,怎么就死了。   我养的一条狗,居然是横扫妖界的一方妖王。   我池塘里的乌龟,竟然蜕变成了洪荒神兽。   之前跟我下棋的老头子,最后竟然成仙了。   还有那个最喜欢听他吟诗作对的漂亮姐姐居然修仙界第?仙?。   知道这些真相之后,李乘风开始怀疑人生:   我该不会真成为绝世高手了吧? 本来就只有一个平凡的一生,哪有那么多机遇让你改变自己的命运简介:天若灭我我逆天,神若阻我我弑神,小青年杨业回家祭祖不小心掉落悬崖被血魔殿主残魂带领穿越异界,强势崛起,打破上世界枷锁,开启了一个新世纪的传奇,并留下了万古传说, 九天之上我为巅, 覆灭星辰反手间, 血魔一怒银河碎, 帝骸遍布星空间诸神之局,吾为棋,吾之局,众生为棋。 拥有神秘老者赠予的黑塔,拥有追寻武道之巅的决心,这一生必踏破天穹,手持天道,成为万千世界的至尊之神。茫茫星宇,人的存在微如蝼蚁。 少年七夜,经历重重天地毁灭,能否成为噬神的存在? 灵魂永存,借我一生:愿主佑吾王! 繁华如梦,灿若星辰:用刹那问候浮生。。。。。。
互联网信息安全产品分类 网站建设专家 网络营销的难点是什么 因网络安全 网站关闭 2013年互联网网络安全态势综述 镇江网站制作公司 提升网络安全意识 建议 企业网站建站意义 网站怎么添加管理员 沈阳科技网站首页 儿子不读书的解决方法【www.richdady.cn】 迟缓儿的康复训练咨询【www.richdady.cn】 与老公前世的前世解析【www.richdady.cn】 儿子不读书的原因分析咨询【www.richdady.cn】 发育倒退的环境影响咨询【www.richdady.cn】 冤亲债主的干扰与因果【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世的前世缘分咨询【www.richdady.cn】√转ihbwel 前世老公的前世案例咨询【企鹅383550880】√转ihbwel 与公婆前世的前世解析【企鹅383550880】√转ihbwel 官司的解决方法【微:qq383550880 】√转ihbwel 学习成绩差的咨询技巧咨询【企鹅383550880】√转ihbwel 前世今生的故事如何影响现代生活?咨询【微:qq383550880 】√转ihbwel 前世老婆的咨询技巧【σσЗ8З55О88О√转ihbwel 如何发现前世缘份【www.richdady.cn】√转ihbwel 为什么过世的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 为什么过世的心理调适咨询【www.richdady.cn】√转ihbwel 与老公前世的影响分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 升迁障碍的解决方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世老公的前世故事咨询【微:qq383550880 】√转ihbwel 太原推广型网站开发 信息安全等级测评公司 自适用网站的建设 长沙网站建设工作室 佛山网站设计平台 建立免费个人网站网站布局图 杭州网络安全研究院 2016网络信息安全重大案例分析 导航网站怎么建 鞍山网站制作 公安部网络安全电视电话会议网络营销优化顾问 营销病毒 深圳网络安全公司排名 黄岛网站建设 临汾网站建设 .黑龙江省网络安全协会 因网络安全 网站关闭 重庆璧山网站制作公司哪家专业 关注网络安全bolg 更新网站的步骤 网站布局 网络安全高级培训 网络安全敏感国家 瑞士 网络营销计划 网络营销设计方案 外贸网站建设公司 企业 信息安全部门 外贸网站建设公司 网站中主色调 万户网站 因网络安全 网站关闭 广东手机网站建设报价表 营销转化率 营销外包服务协议 南通企业网站制作 网站服务器在哪 网警提示信息安全 营销技术 黄岛网站建设 网站h标签 营销技术 网站设计的文案 互联网营销 问题研究 建网站推广 镇江网站制作公司 网络营销计划 网站有哪些分类 做网站公司 做网站编程 网站移动端 北京网络营销公司网络与信息安全法 临汾网站建设 网站的设计网络安全实施指南 石家庄网站排名软件 2013年互联网网络安全态势综述 企业网站首页应如何布局 佛山网站设计平台 沈阳科技网站首页 在常用的网络营销方法中哪些网络营销的方法更适合中小企业 企业网站建站意义 网信部门和有关部门获取的网络安全保护信息 太原制作网站的公司哪家好 提升网络安全意识 建议 中国计算机网络安全年会 啥是营销机构 网页创建网站 鞍山网站制作 电商网络安全 中国计算机网络安全年会 网站建设专家 网络安全相关活动 网络与信息安全管理组织机构设置 网站建设专家 2016年 网络安全规划方案 网站f式布局 信息技术与信息安全 快速学习 网站设计的文案 太原网站推广 宜春网站建设 国家242信息安全计划 网站建设咨询 网络安全信息共享机制 学网络营销多钱 网络安全公司排行 什么是信息安全事件 cc技术 信息安全 企业 信息安全部门 互联网营销 问题研究 蓝色网站建设 网络公司网站 上海网站公司 长沙定制网站 信阳做网站 互联网公司信息安全 如何策划营销网站 品牌营销平台 企业网站建站意义 信息安全等级测评公司 信息安全读研 互联网营销 自学 长沙网站建设工作室 2017营销推广软件 网站移动端 建立免费个人网站网站布局图 朝阳区网络安全中心 如何策划营销网站 2016网络信息安全重大案例分析 网络营销公司靠谱吗 2016年 网络安全规划方案 鞍山网站制作 网站怎么添加管理员 销售与营销 营销病毒 专业信息安全服务资质咨询公司,-1 做好哪些网络营销能力 黄岛网站建设 深圳网络安全公司排名 网络营销免费自学网 公安局网络与信息安全,-1 营销转化率 成都网站设计哪家好 网络信息安全模型 重庆专业的网站建设 信息安全防护等级 自适用网站的建设 网络安全检查总结万能 品牌营销平台 第二届国家网络安全宣传周主题 为了提高网络安全 张家港早晨网站制作 网络安全敏感国家 瑞士 谷歌营销的概念与含义 网站f式布局 东软 网络安全 广东手机网站建设报价表