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

<a class="close" href="https://4py5.9401.com.cn/">&times;</a>
计算机网络安全产品深圳市信息安全成都网站建设市场网络安全就是信息安全网络与信息安全 ppt网络安全行业编程能力计算机网络安全产品网络安全公2014全球网络安全事件谷安网络安全洪武十二年,大明初创。 蒙元余孽依旧在虎视眈眈,逐渐走出黑暗中世纪的西方也开始文艺复兴。 就在这个古老民族即将被世界抛弃的关键节点。 一个穿越的灵魂降临大明,附身到了一个十五岁的少年身上。 “有一人。 他文可订币制,育良种,办大学,开科学为天下先! 武可发明蒸汽机,造枪炮,扬帆七海,让凶残的草原蛮子为朕歌舞助兴!” “他,就是我朱元璋的孙子,朱肇辉!”我叫牧冬,我的世界存在着一种名叫天劫的怪物,幸好,与此同时,有一群正义的超级英雄们挺身而出,与之对抗...... 直到那天,这个游戏出了BUG,不再自动刷新和删除记忆。高阳原本是个蓝星的雇佣兵,在一次执行任务中来到了金庸武侠世界--神雕。 在神雕世界中获得武林中人梦寐以求的武林秘籍,左手六脉神剑、右手降龙十八掌,年纪轻轻就达到别人一辈子的成就, 一个小小的蝴蝶能带动多大的效应?神雕世界因为高阳的到来又会有什么样的变化?神雕中的爱恨情况是否因为高阳的到来而改变? 让我们走进神雕世界,看高阳如何在江湖中翻云覆雨~~~~~ 各位书友要是觉得《神雕之我是大魔王》还不错的话请不要忘记向您的朋友推荐哦描述本人在一次机缘巧合的情况下穿越了自己的首创小说作品《仙剑跨世代》当中,亲身经历进行小说作品历程,在小说作品中本人担当着每一个角色的视角来找出作品中的软伤和硬伤的所有漏洞并想方设法更改的过程,从而达到回到自己所属世界的前提,可是就当本人经历千辛万苦迂回曲折的历程后准备回到自己所属世界的时候,令本人料想不到的情况却又再度发生……末世爆发,丧尸遍布,异兽横行,天外物种入侵!远古文明和地心空间相继问世,处处危机,又是有机缘并存。   张晨,用一柄战斧,带几头战兽,追寻灾变的真相,杀丧尸,诛异族,踩着敌人的尸体铸就一段传奇!姜子牙离世之后,打神鞭和道法之意,让他流于后人,世上一并妖魔也随着天道封神之后隐秘下来,纷纷融入凡间,混迹在人类之中生存。 而世间时间推移百年千年,在人世之中隐藏自己的身份,而道法和这些妖魔鬼怪都也被世人作为饭后闲谈而已,当作故事流传至今。 而姜子牙的后人也就是道法继承者,在千年里还是和妖魔进行抗争,在不被世人所知的情况下斩杀驱除于世。 直到【中历】黄帝纪年4695年,也就是现代的公元2004年,公历闰年,科技发达,世人也都认为妖魔只是那些歪理邪说诡异故事。 “你信神么?”。 “不信就跟我走吧”。天塌下来由高个子顶着,梦飞扬成了那个高个子,在别人羡慕的眼神中,梦飞扬心理却很苦恼。 遥望星空,那是破碎的星辰,目光看向下方满是破碎山河大地。这是一个关于两位少女的故事。被神明眷恋的爱丽丝——西门子拥有被称为&amp;lt;凋叶咒&amp;gt;的诅咒,在得知自己害死了另一位少女的家族后,她决定踏上梦境世界的旅途,以自己的方式拯救那位少女。 剑尘,江湖中公认的第一高手,一手快剑法出神入化,无人能破,当他与消失百年的绝世高手独孤求败一战之后,身死而亡。 死后,剑尘的灵魂转世来到了一个陌生的世界,并且飞快的成长了起来,最后因仇家太多,被仇家打成重伤,在生死关头灵魂发生异变,从此以后,他便踏上了一条完全不同的剑道修炼之路,最终成为一代剑神。 《混沌剑神》漫画将于10月1日上线腾讯动漫、微博动漫、快看漫画、爱奇艺漫画、哔哩哔哩漫画,10月1号-5号,连更5天!之后每周三、周六更新,自带金手指的剧情设定,你一定不能错过! 本书实力体系,由低至高——圣者,大圣者,圣师,大圣师,大地圣师,天空圣师,圣王,圣皇,圣帝。 了解更新情况,请关注微信公众号:xinxingxiaoyao110 或者微信公众号搜索:心星逍遥命运弄人,天地造化。不论前路有多么的不如意,皆要砥砺前行!
信息安全行业从业指南2.0 重庆网站建设公司名单 谷安网络安全 网络安全的漏洞 加家集是什么营销上海专业网站建设咨询 家装微营销 网站建设资料 南通网站怎么推广 昆明网站搜索优化 信息安全监管 前世缘份的前世故事【www.richdady.cn】 内心恐惧胆怯的前世因果咨询【www.richdady.cn】 官司的法律援助【www.richdady.cn】 长期精神不振的原因咨询【www.richdady.cn】 心特别累的环境影响咨询【www.richdady.cn】 升迁障碍【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的情感生活如何改善?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场规划如何制定?【σσЗ8З55О88О√转ihbwel 孩子不爱读书的原因咨询【企鹅383550880】√转ihbwel 脑部不清晰的前世记忆【σσЗ8З55О88О√转ihbwel 心慌胸闷头晕的解决方法【σσЗ8З55О88О√转ihbwel 解梦的方法与技巧咨询【微:qq383550880 】√转ihbwel 什么原因意外的心理调适威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 投资项目的前世因果【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 干扰对人的心理影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家宅磁场的常见问题咨询【www.richdady.cn】√转ihbwel 感情纠纷的心理调适【微:qq383550880 】√转ihbwel 亲子关系的心理调适咨询【微:qq383550880 】√转ihbwel 祖灵咨询【微:qq383550880 】√转ihbwel 性压抑的情感释放咨询【企鹅383550880】√转ihbwel 网络安全就是信息安全 银行信息安全等级保护,-1 美国国际信息安全大会 企业网络安全防护方案武汉想做网站 北京信息安全公司 暗月信息安全论坛 营销一体化 信息安全行业从业指南2.0 宝洁公司网络营销分析 成都网络整合营销服务 网络安全公 网络安全面临的主要威胁及解决措施 5设计网站 全球网络安全办公室/BG 重庆网站建设公司名单 南昌网站开发 网站后台 设计 中国共和国网络安全法 5设计网站 个人 网络安全认证 网络安全的法律 上海平台网站建设公司排名 武汉 网络整合营销 集团网站建 昆明网站搜索优化 衡水商城网站制作 网络防火墙系统就是网络安全技术在实际中的应用之一英文翻译 西安做网站 网站建设资料 网络安全活动的开讲词 网络危机公关营销案例 检查网络安全 影音微营销 网络安全 宣传周 塘沽网站建设 山东大学网络信息安全研究所 中国网络安全技术30所 信息网络安全合格证明 国际间的网络安全 网站建设:翰臣科技 银行信息安全等级保护,-1 信息安全方面个人证书 忻州网络营销 信息安全专业报名 美国国际信息安全大会 上海网络安全专业大学 企业网络安全视频 温州网站制作的公司 企业网络安全防护方案武汉想做网站 南通网站建设教程 成都 网络安全 信息安全事件等级制度 北京信息安全公司 网御网络安全管理平台 中国 局网络信息安全 厦门网站的制作 网站建设书 网络营销的定义 科研 信息安全,-1 网络技术与信息安全 亚太区信息安全大会 网络安全的漏洞 无线网络安全wep/wpa/wpa2 网络安全 教学安排 大连网站建设 家装微营销 信息安全方面个人证书 windows 网络安全控制软件 网络安全设置方案 信息安全事件等级制度 网络技术与信息安全 影音微营销 2015年网络安全大事件 网络安全屏保 学校网站开发 检查网络安全 忻州网络营销 网站建设资料 软文营销案例有故事 怎么营销 网御网络安全管理平台 网络信息安全的新闻 武汉网络安全培训 网络安全的主要威胁是 网络营销有用吗 营销公誉 网络自动化营销软件 网络营销专业好就业吗 广东省网络安全应急 中国 局网络信息安全 谷安网络安全 营销组合四大要素 外贸网站建设公司流程 网络营销促销的类型 中山网站建设 软文营销案例有故事 成都市信息安全企业 科研 信息安全,-1 网络安全的主要威胁是 南通网站建设教程 营销组合四大要素 网站设计 价格 网络营销时时彩焦作网站建设 网站设计规划书 暗月信息安全论坛 公安厅 信息安全 网络安全法 香港 西安做网站 企业网站系统 网络营销时时彩焦作网站建设 杭州市 网络信息安全 信息安全与网络安全的区别 影音微营销 深圳市移动端网站建设 信息安全专业学习软件 星沙做网站 电子商务网络营销实验报告常见的网络营销方式并加以适当详述 关于信息安全的图片 营销活动方案 南京定制网站建设 中国计算机网络安全大会 北京网站建设公司电话 信息安全行业从业指南2.0 南昌网站开发 加家集是什么营销上海专业网站建设咨询 做电子外贸网站建设 信息安全 博士专业,-1 杭州市 网络信息安全 门户网站策划书 塘沽网站建设 大连网站建设 衡水商城网站制作 网站设计 价格 负面营销模式网站效果 网络危机公关营销案例