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

<a class="close" href="https://kpp.woqa.cn/">&times;</a>
展示类网站网站红蓝色配色分析网络营销如何提高业绩南昌建网站的公司关于网络安全的网站网络安全 日本最新网络安全新闻的网站大学生网络营销策划书多元化网络营销西安网站制作公司东营网站优化一位家境贫寒的少年,经历了常人难以想象的苦难,磨砻砥砺,奋发向上。好不容易华丽转身,完成了人生意义上的大逆袭,一时平步青云,风光无限! 这期间,少年也先后得到了好几位绮年玉貌少女的青睐,演绎出许许多多荡气回肠,缠绵悱恻的爱情故事。其中的情与理,是与非,仇恨与挚爱,痛苦与欢乐,人性与心魔,交互编织成一道道直逼心灵拷问的风景,让人热血沸腾又扼腕长叹!天地不仁,以万物为刍狗。 圣人不仁,以苍生为刍狗。 何为不仁?天地之不仁是为顺应自然。 而圣人之不仁,却多以己之私,争夺己欲…… 何为善恶?何为正邪? 那是心中的良知! 若天道崩塌,人间沦丧,我当如何? 唯有头顶光明,脚踏黑暗。 我要还乾坤与人间,我要这天道再遮不住我眼! 王国战争结束时,因九牧义展现出超强实力被王国所忌惮,于是王国高层提出铲除这个少年。其父亲身为王国第一将军,在王宫大殿上以自己的性命为代价,打通了通向人界的大门,为九牧义提供了生的希望。这个12的少年降临人间后被一位老者收养,本以为生活会一直平静下去,但4年后一个人的到来打破了他生活中的宁静,未来终究还是朝着不确定的方向发展。命运长河的波澜一往无前 受到命运之神的眷顾 万石成为这一代的机械主神 带领机械文明走向复兴 古往今来,世间流传仙、神的传说,而时至今日,仙路缈缈,已然进入末法时代。 天空中,有人矗立,乌云压顶、身处雷电中心;海面上,有人漫步而来,由远及近,片刻却又消失不见,这些是海市蜃楼产生的幻觉? 有传言,海市蜃楼是连接另一时空的桥梁,聚现另一个世界正在发生的景象! 神话故事是否虚构,仙、神,真的存在过吗?红哥是传奇游戏中的一头红野猪,因一次意外事件获得了传奇外挂一枚,原本只想升职加薪、当上业务主管、迎娶白野猪的他,从此打开了新世界的大门沈浪:划船不靠桨,全靠浪。 凭沈浪那个穷哈哈,他为什么能够得到互联网创业女神萧红绫的喜欢。 萧红绫:因为他是背后推我的男人。 凭沈浪那个穷哈哈,他为什么能够得到娱乐创业女神苏媚的喜欢。 苏媚:因为他是我背后用力的男人。 ………… 【震惊!恐怖的商业帝国创始人】网游映射现实,大三学生江晓玩了十年的《神话》直到关服。 他把网游玩成了单机,制霸游戏各种榜单。 当别人还在打怪升级的时候,他已是满级存在,当别人拿着几十万战力炫耀的时候,他的战力早已超越一亿; 他是全服隐藏职业之首,精通所有职业技能,能随心所欲切换职业战斗形态。 且看江晓如何玩转灵气复苏的游戏世界。宋帝都临安府爱国人士:吴俊振,与用时光机穿越过来的现代大学生:马维,两人一起被龙卷风漩涡黑洞带着,穿越到了明崇祯十六年公元1643年兴都留守司显陵卫境内,在机缘巧合之下他们俩主动应征入伍参军,从此开启一段帮助大明帝国收复失地的旅程,本文群号799968110  李乘风穿越到一个妖魔横行的世界,成为青城山的一个守山人。   奈何他没有灵根无法修炼,只能安安分分做一个普通人。   但是有一天,他的系统突然变异了,从此成了一个令一众妖魔闻风丧胆的得道高人……   这妖怪也太弱了,我都没有出剑呢,怎么就死了。   我养的一条狗,居然是横扫妖界的一方妖王。   我池塘里的乌龟,竟然蜕变成了洪荒神兽。   之前跟我下棋的老头子,最后竟然成仙了。   还有那个最喜欢听他吟诗作对的漂亮姐姐居然修仙界第?仙?。   知道这些真相之后,李乘风开始怀疑人生:   我该不会真成为绝世高手了吧?
网络安全产品及服务 营销推广电子商务网站 网站建设官方网站 公司网络安全 属于网络安全的内容? 信息安全 logo 眉山网站建设 深圳外贸响应式网站建设 sdlc 信息安全 国家安全之网络安全 耳鸣【www.richdady.cn】 前世今生的咨询方式咨询【www.richdady.cn】 性压抑【www.richdady.cn】 意外事故对家庭的影响咨询【www.richdady.cn】 财运不佳的财富规划如何制定?【www.richdady.cn】 精神不振的前世记忆【企鹅383550880】√转ihbwel 去世的父亲的影响分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 性压抑的自我提升咨询【www.richdady.cn】√转ihbwel 心慌胸闷头晕的解决方法威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 脑部不清晰的自我提升【www.richdady.cn】√转ihbwel 心特别累的前世因果咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的风水调整【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主干扰的表现【σσЗ8З55О88О√转ihbwel 儿子不读书的心理调适【www.richdady.cn】√转ihbwel 家庭中常见的意外事故原因咨询【微:qq383550880 】√转ihbwel 亲子关系的互动模式有哪些?咨询【企鹅383550880】√转ihbwel 失业的案例分享咨询【www.richdady.cn】√转ihbwel 孩子厌学的原因分析咨询【www.richdady.cn】√转ihbwel 官司的前世因果咨询【www.richdady.cn】√转ihbwel 暗恋【微:qq383550880 】√转ihbwel 关于加强网络安全有何意义 石家庄网站建设 上海网络安全会议 展示类网站 网络营销的方法 长沙网站制作 大数据与信息安全报告 服装软文营销策划 对网站主要功能界面进行赏析 中国网络安全有限公司 网络安全编程 信息安全原则是什么信息安全指导意见 上海网站建设联 简述市场营销6p理论 企业网站策划方案 长春网站优化公司 宝安做网站 计算机网络安全年会 福州微信营销培训 网络安全报警 网络安全暴力攻击原理 网络安全培训目的 网站设计佛山顺德 深圳外贸响应式网站建设 公司网络安全 营销推广电子商务网站 做一个独立网站需要多少钱 营销推广电子商务网站 2017全球网络安全指数 上海专业做网站公 属于网络安全的内容? 石家庄微网站建设 网络安全基础:应用与标准 网络安全基础:应用与标准 宝安做网站 电子商务可能存在哪些不安全因素?一般可采取哪些网络安全措施 属于网络营销特点的有 湖南专业做网站企业 个人免费网站注册com c2c电子商务网站 服装软文营销策划 眉山网站建设 中国信息安全等保网 信息安全与对抗赛 工业控制系统信息安全 网站支付接口 银行信息安全建设方案 网络营销教材内容分析 关于加强网络安全有何意义 婚纱网站设计 南昌企业网站设计 网络安全基础:应用与标准 第五届网络安全大会 网络安全包含哪5个 西安网络安全比赛 上海网络安全会议 东营网站优化 属于网络安全的内容? 上海网站建设联 如何免费创建网站 属于网络营销特点的有 中小型网站设计公司 网络安全产品及服务 网络公关营销公司 海尔公司营销策划 中国信息安全行业协会 信息安全资源 关于加强网络安全有何意义 公司网络安全 海尔公司营销策划 温州网站制作价格 国家安全之网络安全 沙井建网站 温州网站制作价格 点网站建设 网络安全培训班哪个好 互联网营销的主要优势 如何进行internet信息搜索?有哪些搜索引擎网站? 奶粉网络营销策划方案 网站建设官方网站 wifi网络安全解决方案 信息安全专业领军人物 旁路控制 信息安全网站建设七点 媒体营销 网站红蓝色配色分析 2017全球网络安全指数 江西南昌网站定制 计算机网络安全年会 旅游网站建设方案 汉中建网站 德国网站建设 网络安全的最新技术 企业网站策划方案 网站设计佛山顺德 网络营销的方法 成都网站设计 等级保护三级物理安全 网络安全 主机安全 控制点 要求项 属于网络营销特点的有 最新网络安全产品 信息安全 logo 信息安全服务资质 安全工程类电子商务网站策划书 网络安全报警 石家庄微网站建设 南昌企业网站设计 宝安做网站 2015年 信息安全 会议 成都网站设计 深圳外贸响应式网站建设 怀旧营销的案例 点网站建设 大连企业网站 上海整合网络营销公司 信息安全与对抗赛 网络营销产品类型 网络安全等级保护评定 商城网站都有什么功能模块 公安部信息安全测评中心 论坛营销案例 简单建网站 业务信息安全英文 北京网站建设公司案例 如何测试网络安全 福州微信营销培训 深圳网站建设新闻 我国信息安全论文 网站建设需要多少钱 营销发展课 多元化网络营销 信息安全周报 企业网站策划方案 网络安全报警 银行信息安全建设方案 网络安全技术与应用 官网 虚拟专用网络安全问题 网络安全 日本