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

<a class="close" href="https://xsjbi.locha.cn/">&times;</a>
常用的信息安全防护方法网站制作费用北京b2c网站制作个人网站在那建设软件开发网络安全个人网站在那建设软件开发网络安全网络安全属性和攻击的基本模式瑞昌网站建设营销的闭环移动终端信息安全,-1网络安全身份认证技术牛头马面勾错魂,错把一名学霸带下了阴曹地府,最后将其送到明朝,他的明朝之旅就在这里开始..........2009年到2021年间,g城作为改革开放后迅速崛起的沿海城市之一,政治经济快速发展,商界奇才、慈善大家、教育大亨······齐聚在g城,由此展开一场场腥风血雨的争斗······ “任何人任何事都不能阻止我开荒种田”,“毁我田地者虽远必诛”,“坏我收成者挫骨扬灰”——聂歌。 这是一个充满灵气的世界,人、妖、海兽共存于世,同时在山的那边海的那边存在神秘的“十灾”。 打工人聂歌于偶然之间来到这方世界开启了开荒种田系统。 四菜一汤、火箭大炮、仙丹功法、绝世神兵…… 只有想不到没有种不出,地有多大产人有多大胆。没“粮”我唯唯诺诺,有“粮”我重拳出击。 于霜:我要成为一代女帝平定妖乱、开疆拓土。 刘梦亮:我要天下无敌解开十灾之谜。 聂歌:嘿,我就想安静种地,躺平当咸鱼。 …… 异族压迫,人族式微,危急时刻,星宇大帝力挽狂澜,阻异族于银河战线,异族均不敢越雷池半步。 星宇大帝开创先河,将古武融入科技,彻底逆转了人类羸弱的局面。而后,他又突然消失!异族喘息之后再次大军逼近…… …… 苏星河,一名普通的中学生,以梦境为起点,亦步亦趋,最终带领人类横推异族……我从小受尽委屈,原以为等成年便可自由,结果还没成年,就给我赶出去了,听话,no no这个词永远不会在我的字典里出现,哈~。报复你们,是最正确的选择,结果我穿越了,还修仙?拜托~我是学渣,某狼:呸!你可真能装! 天地异变,劫难难逃,为了解决劫难,秦昊与其他十大强者联手将劫难击退,每神圣历七七九年,劫难形成,人类为了不让自己的家园受到侵犯,全意抵御侵略者。 伟大的元素之神,请让我再次庇护人类,元素之花。圆梦自此开启这是一个流量玷污的时代! 为了赚快钱,他们只需要改编,抄袭,制作一些口水歌,再加上这个时期扭曲的审美,乐坛早已不复曾经。 凌风穿越到平行世界,一档娱乐节目现场! 公开怒喷评委的评价和批判这种翻唱、抄袭风气! 不出意外,他遭到评委和全网的抵制! 面对抵制和质疑,凌风现场写出《孤勇者》,瞬间燃爆全场,将评委和观众全都唱跪! 之后,《青花瓷》《本草纲目》《赤伶》一首首国风神曲诞生! 凌风一跃成为娱乐圈天王巨星! 在贵州黔南万山丛岭之中,有一个世代繁衍生存的民族,他们被大山阻隔,被森林遮盖。其中一处镇子名为梧桐镇,便是这侗族人民久居之处,这里环境优美,物产丰富,人们热情好客,勤勤恳恳,寨子中依然保留着古老的文化和传统习俗。 一个失恋少女协同闺蜜到此游山玩水,为的只是寻求一处僻静之地,卸下烦扰生活,了却心中情念,却在不经意间知晓寨子中一个不为人知的诡异故事。群山环绕的湖泊之中,究竟隐藏着什么;秘境环绕之下,现实与梦境的扑朔迷离,随着越来越深入的探究,接踵而来的诡异事件,她们该如何应对,又该从何处而归,故事由此拉开序幕。人生无常,大肠包小肠。 孟飞穿越到漫威世界,成为中城高中的一名高中生。 并且绑定签到系统,开局签到终极帝皇铠甲。 在哥伦比亚研究院签到,获得三星奖励,兔符咒。 在复仇者联盟大厦签到,获得四星奖励,镭射眼。 在联合国总部大楼签到,获得五星奖励,暗影军团。 …… 两年后,当灭霸带着他的紫薯兵团入侵地球时。 只见地平线上亮起一道耀眼的光芒……
中国 国家安全局 网络安全 宣传类网站 常用的信息安全防护方法 无线网络安全解决方案 数据中心 年度网络安全检查报告 网络安全密码技术 网络营销运营部 做网站公 网站模板设计 网络安全售后服务 灵魂治疗与心理辅导【www.richdady.cn】 事业不顺的职场突破技巧有哪些?咨询【www.richdady.cn】 前世缘份的重逢有何迹象?【www.richdady.cn】 感情纠纷的情感调解技巧有哪些?咨询【www.richdady.cn】 大龄剩女的婚恋建议有哪些?【www.richdady.cn】 耳鸣的解决方法【企鹅383550880】√转ihbwel 与公婆前世的影响分析咨询【www.richdady.cn】√转ihbwel 大龄剩女的婚恋现状【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的咨询技巧咨询【微:qq383550880 】√转ihbwel 莫名其妙感伤的心理调适威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场晋升【www.richdady.cn】√转ihbwel 什么原因意外的前世缘分【微:qq383550880 】√转ihbwel 工作压力大导致的精神不振咨询【企鹅383550880】√转ihbwel 孩子不爱读书的阅读环境如何营造?咨询【σσЗ8З55О88О√转ihbwel 与老公前世的前世缘分【σσЗ8З55О88О√转ihbwel 头脑混沌的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子抑郁症咨询【企鹅383550880】√转ihbwel 孩子学习不好的前世因果【微:qq383550880 】√转ihbwel 如何应对冤亲债主的干扰?【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 意外事故的应急处理方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 国家信息安全技术研究中心,-1 大中华区信息安全经理 银行信息安全案例 16达内网络营销盘 做网站公 网站托管 信息网络安全员培训 南京需要做网站的公司 深圳 信息安全公司 百度云资源 网络安全 制作校园网站 计算机网络安全实验教程 网络营销活动策划案例 哈工大信息安全854复试 网络营销的5种类型 杭州 网站建设公司 网络安全有前景吗 互联网营销证书 银行信息安全案例 16达内网络营销盘 做网站公 网站托管 信息网络安全员培训 南京需要做网站的公司 深圳 信息安全公司 百度云资源 网络安全 制作校园网站 计算机网络安全实验教程 网络营销活动策划案例 哈工大信息安全854复试 qq绑定手机号银行信息安全吗 佛山网站建设公司 教网络安全的博客 国家网络安全周主题 网站开发培训 手机 网络安全 做网站公 网络营销的5种类型 苏州信息安全等级保护 哈工大信息安全854复试 网络营销理论知识 成都网站推广邮件营销优势 国家网络与信息安全通报机制 宁波seo营销 网络安全 csdn 杭州 网站建设公司 公安网络安全检查 北京网络营销运营 移动终端信息安全,-1 e脉通网站 深圳网络安全检测公司 16达内网络营销盘 重庆网站开发公 国家信息安全技术研究中心,-1 宣传类网站 网络安全法官网 手机 网络安全 立体化营销 淮安网站设计 河池做网站 杭州网络科技网站 大中华区信息安全经理 北京b2c网站制作 国家网络安全 物联网 杭州 网站建设公司 内存信息安全 舆情营销 天津 网站建设 网络信息安全公告 网站制作费用 天津 网站建设 杭州网络科技网站 淘宝网店的营销方法有哪些内容 上海平台网站建设公司排名 国家信息安全漏洞 我的注册信息安全 网络安全与黑客的关系 信息安全产品分类标准 滴滴营销活动 江苏的网络安全公司排名 信息安全会议内容 宣传类网站 新手可以自己建网站吗 教网络安全的博客 自己创网站 什么是信息安全工程 个人网站在那建设软件开发网络安全 网络安全 期刊 绿盟网络安全审计 网络安全法官网 16达内网络营销盘 怎么给自己的网站更换域名 网站模板设计 深圳 信息安全公司 引擎营销关键词公司网站的制作公司 2017 网络安全 大会 沈阳做网站 delphi 网络安全 深圳 信息安全公司 浙江省信息安全微信手机网站制作 网络与信息安全 网络信息安全面临的威胁 大网站成本 浙江省信息安全微信手机网站制作 网络营销的5种类型 营销培训课程费用 昆山网站建设· 团购网营销 信息安全实训总结 网络安全等级保护版本 银行信息安全案例 什么是网站规划 衡量网络安全的主要指标有哪些 计算机网络安全实验教程 公司手机网站设计 国家信息安全中心主任 b北京网站建设 瑞昌网站建设 如何利用饥饿营销 网站建设 长春 cisp信息安全专家认证 信息安全审计 市场发展 国家网络安全周主题 南京需要做网站的公司 做信息安全需要的技能 网络安全吧 微信群营销的推广方式 军用信息安全产品认证 计算机信息安全等级划分准则,-1 银行信息安全案例 g20峰会 网络信息安全 seosem营销案例 网络营销工程师报考 网站推广优化 百度云资源 网络安全 网络营销工程师报考