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

<a class="close" href="https://ebl.1465.com.cn/">&times;</a>
上海网站建设系统国家信息安全等级认证证书重庆大足网站制作公司推荐山西做网站的企业手机浏览微网站营销型企业网站全国信息安全大会 2014顺德网站优化公司朝阳商城网站建设企业网络安全解决案例赴雪迎虹天地寒,云停尘下也枉然。 侠义可做他人骨,古树终为渡客船。 修炼,炼的是什么?为什么强者也会陨落在弱者的手下?古人常说的气,究竟是什么意思? 在这片大陆上,你又是为了什么修炼? “师父,我看到了,那是他们的魂魄吗?” “那不是魂魄,那是沾染了他们一生因果的气。” “什么是气?” “气是一切的起因,也是一切的结尾。” 这是一本不是主角的玄幻文,我想挑战一下,将金庸老先生的武侠融入玄幻修真,新人有点不知天高地厚,但是如果喜欢,请多多支持,谢谢。冷风如刀,以大地为砧板视众生为鱼肉;飞雪似剑,以苍穹为帷幔斩现实为红尘。 天下纷扰由剑起,世间忧愁识字出。 吾愿以己为祭品,换得世间永太平。 【新书发布,只为创造经典】一个现代人到了古代会做什么。 裴尘对自己说: 如果这一切都是梦,梦醒时自然烟消云散。 如果这一切不是梦,那我要做的就是,好好活着,也让我身边的人,好好活着。 大周王朝,内忧外患,民不聊生,在这样的环境下,自己不愿随波逐流,想要改变。 事情要么不做,要么就做到极致。 纺织、制弩、黑火药、香皂、制盐、炼钢…… 一步一步的布局,一点一点的强大。 也有对喜欢人儿的心动、感动、冲动,以及对传说中武功的向往。 自古英雄多磨难,不受天磨非好汉,不遭人妒是庸才。虽然我叫李轻松,但我活的一点也不轻松。 接下来听我给大家讲述属于我的传奇人生。 注明:??本书内容纯属虚构,书中出现的所有人名,地名,国家名,均为虚构,请勿当真!??邪灵世界,妖魔丛生,鬼魅乱世。 凡人命如鸡犬,任人屠杀。 周晗觉醒了无限制修改武道修炼时长的系统,五毒手,金钟罩,旋风腿,统统修炼到一万年后。 武林盟主:我从没见过旋风腿真的可以踢出龙卷风…… 最强邪灵出世,一爪下去,连周晗的皮都蹭不破,震惊怒骂:你是邪灵我是邪灵? 周晗:以凡人之躯,比肩邪灵!三岁,亲人就被阴兵抓走,自此妖魔横行,要自我于死地,又被飞僵追杀,道门的背叛。在这个充满战争和杀戮的武斗世界,唯有实力才是硬道理! 叶仓是武斗世界的世家武者,自幼天赋异禀,奈何,命运弄人,叶家在一次患难中遭遇灭顶之灾,其幸存者寥寥无几! 叶家惨遭灭顶之债后,叶仓离开了故土,踏上了一段传奇之旅。 他发誓——自己一定要变强,然后找到当初消灭叶家的势力,将其诛灭,已报昔日之仇!十万年前万族入侵人族,昊天大域一位名叫玄武的武道俢士为了人族,强行突破武帝之境,万族却派出十名帝者对其围杀,谁承想十名帝者全部陨落,此战过后万族震动,至此万族不敢踏入人族领域半步,从此被天下誉为玄武帝尊…………… 十万年后人族武者再无一人突破到武帝,武道凋落。至此佛教、道教、魔教纷纷崛起,在这个神、佛、仙、魔的世界里,一位重生之人携金书闯入……………张锋嚣 天魔禁我灵魂三十春秋 苍老归来 那又如何 看我笑谈方寸 剑指秋华 此世 必有我张锋嚣 傲然奢华 戏弄苍穹之绝世神姿起初刘封在晒着阳光喝着饮料 结果突然被人杀了 这合理吗?这像话吗? “这不像话,所以我要重生就算我是丧尸,我也要当最屌的那一个!”
信息安全培训课程网站架构图 陕西网络与信息安全测评中心 上海网站建设系统 滴滴出行营销事件 南川网站制作 上国外网站用什么dns 怎么建网站 外贸公司网络营销 编织网站建设 微信营销号的劣势 财运不佳的财运改善【www.richdady.cn】 财运不佳的案例分享【www.richdady.cn】 有官司咨询【www.richdady.cn】 孩子厌学的辅导方法咨询【www.richdady.cn】 感情纠纷的原因有哪些?咨询【www.richdady.cn】 自闭症的案例分享威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 精神不振的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 缺心眼的环境影响【σσЗ8З55О88О√转ihbwel 冤亲债主干扰对生活有哪些影响?咨询【www.richdady.cn】√转ihbwel 与女友前世的前世案例威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子压力大的教育建议【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 意外的前世因果【微:qq383550880 】√转ihbwel 前世今生的神秘故事咨询【www.richdady.cn】√转ihbwel 婴灵的安抚有哪些技巧?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 家庭关系的情感维护方法有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的矛盾化解方法有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 存不住钱【σσЗ8З55О88О√转ihbwel 心特别累的前世因果咨询【σσЗ8З55О88О√转ihbwel 与男友前世的故事分析咨询【σσЗ8З55О88О√转ihbwel 投资项目的财务规划【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 京东网站的营销策略 阿图什网站 nns网络安全扫描器景县网站建设 手机网站界面设计 手机网站制作 如何确保网络安全部队 网络安全内部威胁 信息安全经典面试问题 网络安全周专题 网络安全大赛比什么 滁州网站设计 做三年网站需要多少钱 最专业的做网站公司 外贸公司网络营销 信息安全培训课程网站架构图 模板网站与定制网站区别 手机浏览微网站 冀州建网站 互联网金融网站建设 微博营销的作用是什么意思 量子计算与网络安全 建网站费用 最专业的做网站公司 物联网信息安全保护公司 信息安全 控制点 什么是网络营销品牌 等级保护三级物理安全 网络安全 主机安全 控制点 要求项 许可营销工具有哪些 网站制作前期所需要准备 个人教学网络营销 烟台制作网站的公司 网络安全 研究机构 网络安全的五大特征 网盘建网站 自己如何创立网站 基础设施网络安全框架 政府信息安全管理 整合网络营销方案 手机网站比例 信息安全 峰会 大型网站建设 上国外网站用什么dns app企业网站 如何确保网络安全部队 信息安全服务年会 国家信息安全等级认证证书 宁夏网站设计在哪里 辽宁网站制作 信息安全四大会议 兰州网站优化 大型网站建设 互联网金融网站建设 上海 网络安全 上海网站建设系统 韩都衣舍网络营销效果 SDN与网络安全 国家信息安全等级认证证书 网络安全 基地 网络安全 研究机构 自己如何创立网站 设计型网站 营销型企业网站 大连微信营销 网站优化 通过提高wed可用性构建用户满意的网站 pdf 信息安全公司资质 中山精品网站建设信息 信息安全 峰会 大连微信营销 京东网站的营销策略 福建信息安全会议,-1 渭南做网站 京东网站的营销策略 网站设计总结 上海 网络安全 国务院关于大力推进信息化发展和切实保障信息安全的若干意见 青岛网站维护 玩具外贸网站模板 厦门网站开发建设 什么是网络营销品牌 做网站资讯 灰色系网站 怎么建网站 手机网站制作 微信营销号的劣势 泊头网站建设 网络营销第一层是什么意思 银川网站建设 2015中国个人信息安全问题研究 南川网站制作 b2b网络推广营销 编织网站建设 保持和改进信息安全的体系是一个组织整体管理体系的一部分. 大型网络安全公司排名 中华人民共和国工业和信息化部就业指导中心认证网络营销师网络安全意识培训 企业网站seo 审计机关网络安全自查 搜索引擎营销创意分析 tools网络安全 陕西网络与信息安全测评中心 珠海电商网站制作 响应式网站建设信息 网站制作前期所需要准备 网站区分 建外贸网站的 企业网站seo 量子计算与网络安全 珠海电商网站制作 手机浏览微网站 网络营销第一层是什么意思 最专业的做网站公司 陕西网络与信息安全测评中心 搜索引擎营销创意分析 网络安全 基地 手机网站制作 营销机构 京东网站的营销策略 网盘建网站 韩都衣舍网络营销效果 玩具外贸网站模板 青岛网站维护 沈阳开发网站的地方 信息安全等级测评师证 网站制做 tools网络安全 信息安全四大会议 顺德网站优化公司 2015中国个人信息安全问题研究 整合网络营销方案 上海 网络安全 陕西网络与信息安全测评中心 自己如何创立网站 泊头网站建设 信息安全 趋势 2017 渭南做网站 2017年网络安全问题