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

<a class="close" href="https://kpz.xeqo.cn/">&times;</a>
玩具外贸网站模板信息安全重大事件2017济南网站制作厂家网站如何申请微信支付网络安全运维面试社交网络安全问题搜索营销师网站制作公司 郑州常州网站建设key de在线网站建设全民领主时代,每人开局一个领地招募兵种,发展资源。 王晨觉醒神级天赋不但拥有无限升级,而且还能百倍增幅。 7000级的亡灵骑士,一人就可覆灭一地。 面对5000级的枯骨亡灵,巨龙领主也只能成为坐骑。 当百万级的堕落使者,地狱三头犬,恐怖幽灵出没,世间所有领主臣服。 我是一个老千,为了报仇,我坐上赌桌,以千术把仇人踢进赌博的深渊。老千生涯,靠赌为生。三教九流,江湖百态。 赌桌上,没有常胜将军,输一次,万劫不复。元育大陆,地主家庭的他刚出生父母便遭到杀害,后被医师教导长大,6岁时送往修仙宗门,身负蕴魔体的他是隐藏自身魔气,一步步成为大陆高手,抵抗天外的邪灵。三年前,他破产落败,从天堂跌落地狱,尝遍了人情冷漠,白眼奚落,谩骂针对。 三年后,他携一身本领强势回归! 他是神医,也是杀神!不论你是想活命,还是想见阎王,都一个一个来!2350年,时空局正式成立,人类从此掌握了时空穿梭的技术,并派驻时空卫士驻守时空隧道。 因违纪而将要判处死刑的时空卫士叶北辰收到了没落家族苏家的来信 “给我取回一样东西,帮助苏家复兴,也能保住你的性命!” 叶北辰决定再次铤而走险,回到2020年,取回苏家所说的宝物! 但那个宝物,却深藏苏家府中… 为了深入苏家,叶北辰只能孤注一掷,参与到苏家与黑血集团的纠葛之中,最终竟成了苏家千金苏雪的贴身侍卫! 一个是落魄之时身边不离不弃的女孩,一个是苏家豪门千金,重任在肩的叶北辰在两个心爱的女孩中间反复地挣扎着… 时空爆裂,雷电骤起,未来世界一片火海,叶北辰竟成为最后的时空穿梭者,面对曾经抛弃他的未来世界,叶北辰又会做出什么样的抉择… 现代修仙者白鹤!在这个现代世界里,盗墓、杀人越货、为了自己师门的师训!不惜一切代价….武神,是所有人都想达到修为高度,成为武神,便可傲视整个世界。但云飞所处的那一片大陆因一场前所未有的大战倒退了不知多少年,为了打破禁锢,他带领伙伴们毅然踏上那条虚无缥缈的成神之路,去寻找大陆传说中的神器,却发现一个巨大的阴谋。那个让世界陷入绝境,让人恐惧胆颤的女人即将重回大陆,她的名字让所有人为之颤抖,她是那个站在武神之巅的人,拥有大陆最强武器,一招便可灭世,出现即是末日,而一切都压在了他的身上..文章讲述了发生在南京的一段爱情故事,主人公林枫是一个到南京打拼的大学毕业生,一次偶然的机缘巧合遇到了女主宋雪瑶,并开始了与林枫的同居生活,展开了一段跌宕起伏,曲折的爱情故事。穿越到了林正英的僵尸世界, 开局, 就抽中了满级金光咒。 满级金光咒强悍无比,外可化万千剑气斩鬼杀神,内可铸钢筋铁骨万法不侵。 神级抽奖系统,包罗诸天万物。 “叮!恭喜您抽中神技——风后奇门!” “叮!恭喜您抽中法宝——太乙拂尘!” “叮!恭喜您抽中传承——千年修为!” 九叔:没想到我苦练了几十年的道术,居然还不如你一日苦修。 任婷婷:林大哥,你能教我画符咒吗?水沝淼?……
企业网络营销方法 网站模板网 长治做网站 南和邢台网站制作 海尔公司营销组合策略 被黑的网站 湖北信息安全测评中心待遇 上海市信息安全师 整合网络营销优化 互联网周刊 网络安全 孩子压力大的环境影响咨询【www.richdady.cn】 纠纷的法律咨询【www.richdady.cn】 人际沟通障碍解决【www.richdady.cn】 脑部不清晰的解决方法【www.richdady.cn】 忧郁症的原因分析咨询【www.richdady.cn】 婴灵的安抚与超度咨询【微:qq383550880 】√转ihbwel 孩子不爱读书的家长引导方法有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的故事是真的吗?咨询【企鹅383550880】√转ihbwel 孩子学习不好的解决方法咨询【www.richdady.cn】√转ihbwel 大龄剩女的婚恋困惑如何解决?咨询【σσЗ8З55О88О√转ihbwel 冤亲债主的干扰与解脱咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的心理调适【企鹅383550880】√转ihbwel 心特别累的原因分析【企鹅383550880】√转ihbwel 特殊学校的教育理念【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 内心恐惧胆怯的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 耳鸣的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 失业的职业规划【σσЗ8З55О88О√转ihbwel 邪灵的定义与特征咨询【微:qq383550880 】√转ihbwel 特殊学校的前世影响咨询【企鹅383550880】√转ihbwel 信息安全事件的案例 东莞网站策划 重庆网络安全测评机构 hefei 网站制作 建立自己的网站 网络营销产品缺点 广东省网络安全维护 甲方信息安全 广州网站维护 网络安全与加密 ctf 信息安全 技术讲解 信息安全管理的原则 阿图什网站 北京建网站网络营销课程设计总结 网站制作时如何分析竞争对手 怎么建网站 烟台制作网站的公司 杭州网站建设公司 网络营销直通车 上海市信息安全师 网络安全归哪个部门管 佛山用户网站建站 阿图什网站 建网站后如何维护 总参网络安全防护中心 网站制作公司 郑州 天津电商网站制作 常州网站建设key de 邢台网站设计厂家 国内网络安全厂商排名 合肥网站建设的公司 洛阳做网站 网站制作公司 信科网络 我们网络安全等级保护级别 长沙哪里做网站好 佛山用户网站建站 搜索营销师 青岛设计网站的公司哪家好 javascript 识别手机并跳转到手机网站 并可回到电脑版 海尔公司营销组合策略 信息安全等级推荐 网站模板网 阿图什网站 烟台制作网站的公司 一站式网络营销平台 网站品牌推广 ctf 信息安全 技术讲解 长治做网站 信息安全等级保护背景,-1 2008网络安全事件 电信网络与信息安全网络安全通信 广州信息安全公司 总参网络安全防护中心 上海信息安全有限公司 上海高端建设网站 关于网络安全的建议 在线网站建设 青岛设计网站的公司哪家好 网站建设: 天津电商网站制作 长治做网站 网站建设 技术 企业网络营销方法 自己建的网站打开的特别慢 巴中网站制作公司 网络营销市场环境手机 第三方支付网络安全 华为信息安全服务证书 南和邢台网站制作 巴中网站制作公司 沈阳科技网站建设 中国联通 网络安全 网站建设策划 沈阳科技网站建设 网络营销词语 上海高端建设网站 成都 网站建设 阿图什网站 网络营销推广策略是什么意思 病毒营销 案例 近年 国内网络安全厂商排名 解密星巴克的微信营销 信息安全重大事件2017 网络营销学习路线图 2012 西电电子竞赛信息安全邀请赛西电 信息安全行业安全标准 洛阳做网站 网络安全主要威胁 五点 烟台制作网站的公司 一个空间建多个网站 东莞长安网络营销招聘信息 高端大气网站设计欣赏 信息安全云端攻击 网站功能及报价 耒阳做网站 网络营销直通车 2017 信息安全 设备 湖南+网站建设 开展网络安全 深圳营销型网站建设电话 网络安全月报 2017 信息安全 设备 东莞网站策划 电信网络与信息安全网络安全通信 营销型网站建设哪里有 国家网络安全月 多边形网站营销产品定位 青岛营销型网站建设 网络营销专员工作要求 网络营销词语 2008网络安全事件 网络事件营销优点 什么叫事件营销 网站制作时如何分析竞争对手 上海市信息安全师 互联网周刊 网络安全 重庆网络安全测评机构 被黑的网站 微网站建设 信息安全事件 逻辑 网站伪静态 网络安全技术应用期刊 互联网营销工具有哪些内容 自动发货 北京云主机网站源码 phpcms_v9_utf8 广州网站维护 微博营销的swot 简述什么是网络营销 合肥网站商城开发 某电器的o2o营销方式 信息安全云端攻击 信息安全管理发展历史 ctf 信息安全 技术讲解 国家网络安全月 深信服 国家信息安全测评信息安全服务资质 安全工程网络安全事件应急响应时间 网络安全归哪个部门管