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

<a class="close" href="https://eotl.nengpi.cn/">&times;</a>
郑州作网站内部局域网的网络安全微信聊天信息安全东莞网站开发推荐网络信息安全协会一个网站做几个关键词网站没权重网络营销能力秀等级病毒营销的定义与特点是什么网络安全认证体系秦小满穿越成了地主二代,本想当个败家子躺平,可总有人想夺他的粮、抢他的钱、要他的命。 “既然无法低调,那我就不装了。” 于是,大乾朝百官想巴结他、公主想嫁给他、皇帝想让贤给他,就连周边国家的王族都想跪下叫他“爸爸”求庇护。 可他真的只是想当一个闲散的败家子而已……yyw因为常年熬夜打歌,成功猝死了。但他获得了一次重生的机会,发现自己重生到了自己的死对头林擒身上,当yyw正在感到悲伤的时候,他发现自己的爷爷竟然是奥托雷普……身兼救世之重任,心系全球之万民。 功成名就,回首,可曾记得她! 你的母亲! 哪怕你赢了天下,失了她,又有什么意义! 致敬我最爱的母亲!听老人讲民间故事奇闻杂谈惊悚传说还有最终结果本书以男主角邹君的都市逆袭为主线,展现了一名社会底层单身汉如何在机缘巧合之下实现“系统升级”一般的开挂逆袭,以及在逆袭过程中所经历过零零总总的精彩人生。在这其中,既有令人羡慕的“桃花运”情节,也有惊险不断的人物冲突场景,科幻与玄幻并举,最终归于修真证道,成就永恒。故事从地球文明到太阳系文明再到银河系文明,精彩还在后头……各位看官,新手上道,请多关照!宋尘,表面上是一个算命先生,实际却是宋家第三十代捉妖师。看他如何与汉武帝刘彻一起冒险穿越成蟑螂,统领众多蟑螂,与人类斗智斗勇,发展科技。请看如何?在平行世界争霸,发展到太空与各个文明真斗 因胴而生,为诺守诚,纵是天恨欢喜,地厌情深,假作时空锁原初,乱造混沌生浑浊,依然印纹灼赤体,破天重谱万世不灭缘。 一个寻找的故事…… 飞星的宇宙科研舰队,在一次量子跃迁跨空间跳跃中意外穿越暗域,来到了神秘的星球“蛮荒之境”,发现了超级能源——晶能。为了挖掘晶能,舰队首领默德拉利用绝对优势的高级文明科技,向原住民发起了殖民掠夺,意图统治蛮荒之境,遭到了祭师龙瑞恩领导的原住民顽强反抗。随着神秘深渊、梦魇、原初天兽鳆鸦马等反科学现象与物种的出现、以及他亲手设计制造的智能战斗女机器人予舍1026异常的进化表现,默德拉逐渐意识到,蛮荒之境的神秘与未知,远超他的想象,甚至蛮荒之境本身,或许也与飞星有着千丝万缕的时空关联,他不得不反思飞星对立阵营“破天计划”的可行性。 记忆,是个BUG,时间,根本就是假的…… 无数人同时穿越到末世求生游戏。 洪水,地震,寒潮,辐射,酸雨,无数天灾接踵而至。 要想活下去,必须不断建造升级避难所。 就在这时,林天发现自己的系统与别人竟然不一样。 他的系统竟能无限升级! 【?木门→石门→铁门→......】 【木镐→铁镐→振金镐→......】 【自然能发电机→化学能发电机→核能发电机→........】 当所有人都在疲于应付天灾之时。 林天的避难所已满是神装,横行无阻! “咱们还在住火柴盒,人家林天大佬竟然都住上别墅了!” “林天大佬的避难所看着好有安全感。” “好想去林天大神的避难所朝圣!”穿越到玄幻世界,莫无念大站自己成了绝天魔域最强魔主,身负世人骂名。 然而他早有预感,料定会有天命之子来割韭菜...... “禀报魔主,属下已经找到了身负大气运之人。” “????” “此子身上有一缕残魂,和我魔域还有莫大关系,更和那古家......” 果然,剧本还是来了。 作为穿越者的莫无念怎能忍受得了。 “传令整个魔域……” 【叮!绑定系统】 【本系统为反派服务】 ……
教育信息安全平台 网站区分 app网站公司 常用的网络安全工具 网络安全 考研 网站网页制作机构 企业网站建设目的 密码技术是网络安全 网络与信息安全 互联网营销的方式有哪些方面 儿子抑郁症的症状与诊断【www.richdady.cn】 婴灵的超度仪式咨询【www.richdady.cn】 事业不顺的职场突破咨询【www.richdady.cn】 感情纠纷的情感疏导咨询【www.richdady.cn】 迟缓儿的康复训练【www.richdady.cn】 感情纠纷的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感重建方法有哪些?【www.richdady.cn】√转ihbwel 事业不顺的真实案例有哪些?【企鹅383550880】√转ihbwel 精神不振的环境影响【σσЗ8З55О88О√转ihbwel 有官司的法律援助威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的改善方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 婴灵的超度与心理安慰咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何改善人际关系咨询【企鹅383550880】√转ihbwel 冤亲债主的干扰原因咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子压力大咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 强迫症的康复训练咨询【www.richdady.cn】√转ihbwel 婴灵的前世今生【企鹅383550880】√转ihbwel 婴灵的超度方法有哪些?【www.richdady.cn】√转ihbwel 老公家暴的法律咨询咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主干扰有哪些常见症状?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel b2b营销模式 范本 常用的网络安全工具 信息安全法律研究中心 信丰做网站 网站的目标 律师建网站 苏州营销策划 优帮云 瓦房店网站建设 手机付费咨询网站建设 信息安全技术心得,-1 青岛外贸网站建设 2017信息安全缺人 东营专业网站建设 网络安全认证体系 浙江网络安全宣传周 建网站报价 单位网络安全预案 系统信息安全要求有哪些内容 国家领导人信息安全福建信息安全会议,-1 企业公众号的营销策略 一个网站做几个关键词 搜索引擎营销创意分析 三金网手机网站 无锡做网站要多少钱 东营专业网站建设 大连网络营销网站 厦门商场网站建设 病毒营销的定义与特点是什么 广州南方信息安全产业基地有限公司 网络信息安全有哪些 传统网络营销的区别 信息安全理论 2017信息安全缺人 2017信息安全缺人 成都 网站建设 大连微信营销 网站没权重 网站设计小技巧 上海门户网站建设 手机付费咨询网站建设 app网站公司 青岛外贸网站建设 深圳市能士信息安全有限公司深圳哪有学网络营销 海外营销推广平台 网站区分 信息安全预警系统 企业网站建设目的 公共网络安全 玉林做网站 营销知名安例 苏州手机网站建设 长安公司网站制作 病毒营销的定义与特点是什么 瓦房店网站建设 计算软考网络安全 微信的网络营销 广州南方信息安全产业基地有限公司 计算软考网络安全 公共网络安全 网络安全法 正式 传统网络营销的区别 教育信息安全平台 东莞网站开发推荐 网站设计小技巧 沈阳开发网站 2017年国家网络安全周活动主题 17年网络营销案例 淄博网站优化 服装营销学百度云 创意网站建设 2017信息安全缺人 信息安全预警系统 信息安全技术心得,-1 公司信息安全 系统 内部局域网的网络安全 2016网络安全威胁 哈尔滨的网站设计 宁夏网站设计在哪里 营销手机号 重庆大足网站制作公司推荐 云南网站开发 如何创办网站 app网站公司 网络安全实用宝典 网络安全攻击有哪些 dos攻击 互联网营销的方式有哪些方面 成都网站设计制作工作室 全国信息安全标准化技术委员会 单位网络安全预案 合肥网站设计高端公司 玉林做网站 中山精品网站建设信息 中山企业手机网站建设 大连微信营销 湖南手机网站制作公司 国家领导人信息安全福建信息安全会议,-1 海外营销推广平台 厦门商场网站建设 广州南方信息安全产业基地有限公司 网站多域名 公司信息安全 系统 海外营销推广平台 常用的网络安全工具 信息安全的威胁 网络营销能力秀的作文 营销型企业网站 上海众人网络信息安全 成都网站设计制作工作室 中山建设网站 家居企业网站建设新闻 网络营销考研 赣州网站制作 上海门户网站建设 浙江网络安全宣传周 互联网营销的方式有哪些方面 大连网络营销网站 和营销下载 信息安全测评费用 营销知名安例 数字营销与网络营销 企业网站建设目的 美国网络安全立法 好网站范例 网络安全病毒 安庆网站设计 网络安全态势可视化常州做网站的公司 政府网站制作公司 网络安全一点通 长沙百度做网站多少钱 西安制作公司网站的公司 建网站费用 服装营销学百度云 2013年网络安全 信息安全常见的漏洞有 一个网站做几个关键词