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

<a class="close" href="https://q59q.woqa.cn/">&times;</a>
天蝎网站建设学院网络安全解决方案小红书的战略营销信息安全企业排行赣州网站优化全网网站建设优化网站加地图yes网络安全论坛张家口网站建设互联网营销和策划方案南安网站建设  【练笔作品,永久免费】 “希雅,我要学技能!”   “好嘞!安排!”   浴血魔功:杀生既是修行…   净心佛经:一心向佛普度众生…   驭火诀:使修行者内力转化为火之力…   操雷诀:使修行者内力转化为雷之力…   控水诀:使修行者内力转化为水之力…   霸王功:使修行者内力蕴含霸王之气…   “换!”   “好嘞~”   ……   “再换!”   ……   “这些狐妖又漂亮又能打!打包!”   ……   “这些兵器都好喜欢!打包!”   ……   “这座山这草皮都不错!搬走!通通搬走!草皮都给他拔下来!”   ……   “这座岛上好多鸟,抓走,通通抓走!”   ……   莫情:“我们的宗旨是什么?”   众妖:“所到之地,寸草不生!”   莫情:“具体呢!”   众妖:“活的都抓!大山都掏!草皮都扒!大树都拔!”   莫情:“很好!”   ……   莫情:“你们的任务是什么?”   狐妖:“抓妖怪!掏大山!扒草皮!拔大树!”   莫情:“还有呢?”   狐妖:“每天训练生孩子!争取生出好孩子!”   ……   莫情:咱就是一个外挂有点多的小修士,咱可没什么坏心思…夏历2222年,黑色的太阳突然从极渊升起,在天穹之上悬挂七日,全球陷入一片黑暗。 此次事件中,整条赤道全线崩坏,水蓝星裂开一道长达4万公里的影渊,横贯东西。 七天后,黑日退去,光明重洒大地。 可当人们欢呼灾难结束之时,却不知无尽的恐怖正从影渊之中醒来。 自此,全球复苏,百鬼夜行。 天地正气在,英雄傲世来。一刀尽江河,一手握日月,共人间悲欢,历九世劫波。缘来行到水穷处,缘尽坐看云起时。世间毁誉,世人冷眼,能奈我何?道行乾坤,德载天下!萧瑟秋风,斗转星易,换了人间! 试看萧易觉醒蜕变,傲世苍穹,笑看风云!男主顾易意外穿越到大楚帝国,结果身份和现代社会还是一样平民,在大楚帝国一次意外中获得了系统辅助,完成任务直接一路飙升,咸鱼翻身为一大楚帝王。一次机遇之下少年重获再活一世的机会来到了一处崭新的世界,这里没有花俏绚丽的魔法,人人却都崇尚修炼魂力,修行极其艰难却不断有人前仆后继,因为命运的安排少年同样踏上了这条永无止境的道路那他又会到达怎样的地步?这其中又会有多少命运的羁绊?又会有多少的艰难与辛酸...... &amp;lt;万界魂破&amp;gt;是我的第一本书,所以希望承蒙各位读者的关心一场空难,韩涛和邻座的美女流落到了未知的荒岛。没有救援,危险重重,没有见过的野兽,人迹罕至的秘境,与世隔绝的蛮族,沉没在海底的遗失文明……惊险、刺激、还有绝境中人性的善与恶,一切不可抵挡的扑面而来。末世的日子不好过啊……是一个充满在神秘色彩中的反正义跨国杀手组织,故事由一起轰动全国的庞大组织杀人案的曝光引发,反正义和正义与之抗衡。灵魂之都是一个基于精神类疾病治疗的元宇宙空间,帮助人们认识自己,找到记忆中的创伤性原点,并进行提取和修复,但一个强大的黑暗力量入侵了灵魂之都,让原有的秩序变得混乱,甚至导致了一部分精神疾病患者的症状加重,主人公一行人在逐渐探查的过程中发现了更加让人吃惊的事情......这是神魔意志与人类精神的碰撞,这是斗气与魔法充斥的世界,在牧师的祈祷与召唤师的吟唱中,天才少年龙行云带领渺小的人类,决战诸天神魔。他是骑士?他是魔法师?他是学霸?他是冒险者?他是英勇的领主?他是伟大的统帅?他是无敌的战神?不他是人类的英雄。
网络安全岗位面试问题 长春建设平台网站的公司 计算机网络安全等级 数据信息安全 通知 网站制作中企动力 网站文章图片加标签加 长春长春网站建设网 信息安全竞赛试题 郑州网站建设案例 信息安全等级评估中心万州做网站 为什么过世的前世解析咨询【www.richdady.cn】 前世今生的故事如何改变命运?【www.richdady.cn】 大龄剩女的婚恋建议咨询【www.richdady.cn】 家庭关系的教育建议咨询【www.richdady.cn】 发育倒退的前世因果咨询【www.richdady.cn】 婴灵对家庭有哪些影响?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世咨询【www.richdady.cn】√转ihbwel 阴间生活的前世故事咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的教育策略威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的婚恋心态咨询【企鹅383550880】√转ihbwel 如何预防过早离世【企鹅383550880】√转ihbwel 如何改善亲子关系?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 莫名其妙感伤的心理调适【微:qq383550880 】√转ihbwel 感情纠纷的咨询技巧【企鹅383550880】√转ihbwel 财运不佳的财富增长技巧有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的财富积累方法有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何解决事业不顺的问题?咨询【微:qq383550880 】√转ihbwel 感情纠纷的情感咨询咨询【www.richdady.cn】√转ihbwel 前世今生的轮回有哪些科学依据?咨询【www.richdady.cn】√转ihbwel 外灵的预防措施威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 免费营销软件下载 网络安全周活动 立夏 热点营销 网络安全说明 网络渗透测试——保护网络安全的技术工具和过程 pdf 网络安全cia 信息安全与管理评估 负面营销 数据信息安全 通知 关于企业网站建设的必要性 营销产品定价策略涨价 郑州网站设计 人群营销 公共信息网络安全举报网站 电商商城网站建设 服装网站 欣赏 信息安全审核员薪资,-1 长春长春网站建设网 网络安全周活动 网络营销推广公司 绵阳网站建设 汽车有哪些信息安全 人群营销 兰州网络营销师 网络营销手段网络营销 漏斗原理 2017网络与信息安全展 深圳市网络安全公司 信息安全等级评估中心万州做网站 工业控制系统 信息安全标准 长春建设平台网站的公司 YY上的匿名网络安全维护是干嘛的 有关网络安全电影 国家信息安全认证服务资质 网络安全岗位面试问题 网站制作中企动力 电商商城网站建设 网络安全大赛比什么? 建立网站的价格 艺术风格网站 社交网络营销策划 郑州网站建设、 勒索软件当前网络安全 做网站合同 服装网站 欣赏 网站管理公司 信息安全文章 中科院 信息安全专家 公安部信息安全中心 信息安全专业读博士 seo网站系统 信息安全 应用安全 广东营销网站建设服务 网络营销王老吉 郑州网站建设、 信息安全等级保护证书 手机微信一体网站建设 国家信息安全认证服务资质 兰州网络营销师 信息安全认证书 设计网站考虑哪些因素 企业网站趋势 网站制作中企动力 德州网站优化 顺德网站建设要多少钱 南安网站建设 网络营销手段网络营销 漏斗原理 网站没流量 网络安全编程与实践 搜索引擎营销的流程图 公安部信息安全中心 网络安全感知 张家口网站建设 南宁网站建设教学 YY上的匿名网络安全维护是干嘛的 学院网络安全解决方案 网络安全pdf 兰州网络营销师 免费营销软件下载 济南网站建设 做个人网站 立夏 热点营销 网络安全大赛比什么? 网站推广公司 万网站建设 公用网络安全审计 南宁网站建设教学 做网站网络公司 工业智能网络安全 营销外包 武汉 网站设计公司 关于企业网站建设的必要性 建网购网站 漏洞扫描与网络安全 网站没流量 网站建设公司平台 信息安全课程设计报告,-1 服装网站 欣赏 珠海品牌网站制作 深圳 信息安全培训课程 怎么写问答营销的策划 计算机系网络营销学校 负面营销 《信息安全管理》 做网站合同 绿盟网络安全 渠道整合营销平台 信息安全等级保护 措施 南桥做网站 武汉 网站设计公司 如何组织网络营销部门 自动营销系统软件 网站设计工 大连网站建 网络营销贴吧 深圳网络营销|深圳网站建设公司|专业网络营销运营推广策划公司 2017网络与信息安全展 2016中国网络与信息安全大会 绿盟网络安全 有关网络安全电影 facebook营销方案设计 方案图网站 信息安全等级评估中心万州做网站 漯河做网站 网络安全视频网址 社交网络营销策划 深圳 信息安全培训课程 网站设计建设公司 哪些品牌是微信营销策略 网络营销推广公司 网络安全缘起 营销产品定价策略涨价 营销型高端网站建设 网站设计工 郑州网站设计 网络营销手段网络营销 漏斗原理