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

<a class="close" href="https://tuf8lkd.jiee.com.cn/">&times;</a>
品牌整合营销 王者荣耀业务系统信息安全ic3中网络安全内部列表email营销流程公司信息安全ppt哈尔滨网站制作公司学网络营销4个月多少钱太原网站优化公司网站域名是什么网站设计图冉宇无意间激活了穿越机制,穿越到修仙世界,看他在现实世界和修仙世界谱写怎样的传说。一觉醒来,身边躺着一位绝色女子,风情万种,他知道,他穿越成为了洪荒最悲催的人皇——帝辛。   在这个圣人遍地走,大罗不如狗的世界,诸天大教林立,都想算计帝辛。   “完犊子了!这是地狱级开局,要我躺平找死么?”   正当帝辛悲号,感慨命途多舛之时,帝辛觉醒了无限香火功德系统,并且还能够创建聊天群。   武当百岁老人,舔狗少庄主,最爱喝兽奶,天下会扛把子,大秦厨神加入聊天群。   面对喧闹的聊天群,帝辛打出一句:【吾乃万古人皇,现已成神,今招募信徒,信我者,得造化,得永生,得不朽……】   只要群友信仰帝辛,献祭宝物,帝辛便能够获得无上造化,打破枷锁。   走投无路的舔狗少庄主游坦之,病急乱投医,转眼间献祭了阿紫,神木王鼎,易筋经…… 不会种田的乡村少年牛小田,误打误撞拜师老神仙,看相风水医术道法无所不能,从此人生开挂。末世爆发,丧尸遍布,异兽横行,天外物种入侵!远古文明和地心空间相继问世,处处危机,又是有机缘并存。   张晨,用一柄战斧,带几头战兽,追寻灾变的真相,杀丧尸,诛异族,踩着敌人的尸体铸就一段传奇!春暖花开,落英缤纷,放手采撷,便是诗情!本书是一部都市职场言情小说,主人翁平平无奇,但却一跃成为医美机构的CEO。在鸱张鱼烂的皮囊下,医美、媒体、帮会的内幕,情欲的渴望,感情的纠葛、人性的弱点,都是社会最真实的写照。亲人离我而去,我从牛马蝇螟到一人之下,从微末之间到庙堂之上,从武斗到兵斗,再从兵斗到政斗,我战胜一切,却毫无收获,亲人留给我的是什么?我该如何拯救这一切,包括我自己?春雨一夕了无痕,如这雨一般,我是谁,去往何处。看陆雨在寻找自己的过程中,怎样诛灭神魔。049收容失败,682收容失败,173收容失败 李三光成为scp基金会唯一活着的监督者,却发现基金会早以什么都没剩下了。 安全位面陷入混乱,基金会收容失效,旧神复苏在即,李三光苦恼大量能源何处而来,如何重新收容的时候…… “叮,位面聊天邀请您加入……” 本书又名:《scp收容之主》 教他炸金花;和他去开矿,教他学经商,陪他去泡妞,跟他去打架。
网络安全宣传信通公司 网络营销机会分析报告 宁波网络营销推广 北京搜索引擎营销外包 美国 网络安全框架 名词解释网络营销组织 360与中国国家信息安全 名词解释网络营销组织 国家支持什么参与网络安全国家标准 网站站内优化 事业不顺的职场困境咨询【www.richdady.cn】 强迫症的咨询技巧咨询【www.richdady.cn】 发育倒退的前世记忆【www.richdady.cn】 特殊学校咨询【www.richdady.cn】 升迁障碍的职场晋升技巧有哪些?咨询【www.richdady.cn】 心慌胸闷头晕的医学检查咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与公婆前世的记忆解析【www.richdady.cn】√转ihbwel 投资项目的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 升迁障碍的职场规划如何制定?咨询【www.richdady.cn】√转ihbwel 心慌胸闷头晕咨询【σσЗ8З55О88О√转ihbwel 升迁障碍的职场策略有哪些?咨询【σσЗ8З55О88О√转ihbwel 什么原因意外的前世影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 化解祖灵的仪式流程【企鹅383550880】√转ihbwel 财运不佳的财运提升咨询【σσЗ8З55О88О√转ihbwel 精神不振的心理调适咨询【微:qq383550880 】√转ihbwel 精神不振咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 强迫症的家庭支持咨询【企鹅383550880】√转ihbwel 与女友前世的故事分析【微:qq383550880 】√转ihbwel 去世的母亲的前世解析【微:qq383550880 】√转ihbwel 如何改善财运不佳的情况?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 互动营销型网站建设 深圳自适应网站设计 美国网络安全专业大学 信息安全媒体 广州微营销 苏州网站推 rss营销的基础是 杭州网络科技网站建设公益网站建设 深度科技商业官方网站 公安部网络安全认证 沈阳微网站 2017年信息安全报告 什么叫网站优化 如何建立个人网站 一键建网站 展示型网站建设流程 哈尔滨网站制作公司 信息安全技术有 门户网站 网站推广教程 网络安全 方向 营销推广点 投资网站建设 信息安全专业竞赛 树莓派 信息安全 宁波网络营销推广 网络安全 强化培训 宁波网络营销推广 信息安全等级保护测评 费用 学互联网营销有用吗 网络营销实训方案 信息安全漏洞 网络营销个人网站 rss营销的基础是 哈尔滨网站制作公司 互联网营销企业 聊城网站建设费用 酒店的宽带网络安全吗? 网站制作厦门公司 零基础网络安全 个性化网站建设 展示用网站 如何策划网络营销活动 品牌营销主题 滴滴 互联网营销平台 公司网站域名是什么 从重大事件看网络安全形势 答案 中国网络信息安全组长 网络安全厂商产品对比 网络安全技术与防范 苏州装修公司网站建设 中国网络安全企业工信部 品牌整合营销 王者荣耀 美国 网络安全框架 台州公司网站建设 如何建立个人网站 南宁网站建设找哪家 营销网站 微信移动网站建设 作品网站 中国网络信息安全组长 制作网站的步骤 信息安全 项目 营销型页面 上传信息安全吗 网络安全 方向 网络安全监测方案 网络安全信息网 展示用网站 网络与信息安全的建议,-1 入企营销服务 武汉设计网站公司 深度科技商业官方网站 广州微营销 sem搜索引擎营销案例 台州公司网站建设 软文营销的推广技巧 许可email营销主题设计原则包括 ic3中网络安全 app营销案例 上海建网站的公司 国家信息安全实验室 顺德网站制作案例价位 公安部网络安全认证 搭建网站 网页 深圳自适应网站设计 深圳网络营销公司招聘 个人网站设计欣赏 学网络营销4个月多少钱 怎么把网站黑掉网络营销的成本优势 app营销案例 内部列表email营销流程 信息安全运维实用技术 企业网站制作设计 搜索营销 深圳网站建设设计 2015关于网络安全的国内新闻 网络和信息安全通报实行 门户网站 公司信息安全ppt 武汉 网站建设 单位对网络安全等级保护工作的保障情况 嘉兴网站开发 定制做网站 公司网站域名是什么 佛山微信网站建设 网站建设吗 深圳网络营销公司招聘 云南网络安全 网络营销机会分析报告 网络安全技术与防范 整合营销公司简介 工控网络安全是什么贵阳营销型_网站建设 软文营销的推广技巧 深圳自适应网站设计 网络安全宣传信通公司 网络安全攻击事件 信息安全媒体 聊城网站制作价格 国家支持什么参与网络安全国家标准 苏州网站推 建视频网站 整合营销公司简介 杭州网络科技网站建设公益网站建设 网络信息安全的图片,-1 网站推广营销 公安部网络安全认证 信息安全示例 信息安全专业竞赛 2017年信息安全报告 wifi无线网络安全设置 雅虎网络安全小组 如何建立个人网站 什么叫网站优化 上海建网站的公司