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

<a class="close" href="https://q2t7.11000000.cn/">&times;</a>
网络安全人员能力认证威海网站优化网站代运营全球信息安全卓进网站拓吧网站企业整合营销公司新媒体营销手段有哪些网络营销实训课程ppt义乌网站制作罪恶,欲望,宝藏,传奇,理想,自由,欢迎来到大航海时代。三年前,他家道衰落,被迫退婚! 三年后,他功成名就,强势归来! 作为战神,为了龙国安宁,他选择放下昔日仇恨;可让他没有想到的是,同袍竟利欲熏心,与仇人结盟谋害自己! 所幸天无绝人之路,林天权大难不死! 三年前,他能成就一方战神,三年后,他依旧能以天人之姿,让那些陷害自己的人,付出百倍、千倍代价!规培医生王磊应聘失败,却获得透视脏器能力,更有神级手术技巧。 幼儿误诊,即将死亡,王磊:我看到了,支气管断裂,马上手术。 主刀医生误伤主动脉,鲜血喷到天花板,王磊轻松搞定。主刀:幸亏王磊在。 农庄爆发奇怪病症,全市医生晕头转向,大佬:快去请王磊! 小小的乡卫生院逐渐成为世界医学中心,无数患者和名医云集于此,周边房价超过市中心。 这一切,都是因为一个人。 这是一片浩瀚的星空,星空下分布着众多大大小小的星球,在星空中央有一颗超大星球在慢慢旋转。   这颗超大星球很不一样,在远处看去上面分布着,长着像是数百个大小不一的白蘑菇,如果在近处看,这些白蘑菇竟然是一个个大小光罩。   光罩大小有三种,有两个最大光罩的分布在超大星球两端,中等的光罩有数十个,不规则分布在一端的一个大光罩比较远的周围,最小光罩最多有数百个,星星点点在中等光罩和另一端大光罩中间,其中有几个最小的光罩,紧挨着另一端大光罩周围。   浩瀚星空中某个方向一个黑洞突然出现,黑洞慢慢由小变大。不知过了多久,在变大的黑洞中间隐隐透出淡淡彩光,彩光不知什么东西竟然快速的变亮?。不一会就彩光芒万丈穿透黑洞,彩光像流星一样直线朝浩瀚星空飞去。   彩光直线飞行经过无数星球,竟然没碰到一颗星球,只是险险从坠石星球擦着而过。彩光不知什么东西,随着时间推移慢慢变淡……一个玩世不恭的小子,因奇缘而获得特异奇能,在校园里由傻冒而一跃成名。走入社会,左右逢源,由此而暴富,走出一条自在的人生之路。社会底层的陈斌因生活奔波,母亲重病,心力交瘁,在寂静的夜晚倒在路边 至此 地球少了一个少年,穆真大陆多了一个传奇 一个人的毁灭铸就了另一个人的新生 ‘我萧易水偏偏不认命’ 少年被家族遗弃,遭受刺杀修为被废。 危难之际开启镇魂世界,神秘女子百般磨练,终修剑道。 自此修行坦荡,领悟无上剑道,修不灭剑体。 修武技,破苍穹,入圣域,掌握天下权,醉卧美人膝,翻手为云,覆手为雨, 轻挥手中剑,剑出移山镇海,诸天星辰陨落,横断八荒四野; 九洲雷霆动,剑气侵万古,临绝世剑神。凡尘一梦,不知仙道几何。 欲踏凌霄,不知天堑几重! 昔,世家另立梦当其一。后封天绝地死灵不通神佛不在,世家倾倒一夜荒芜。 今,梦家梦琼拜佛门,拜仙家。 借古运之力抗衡天道重拾种族之技,登临巅峰! 以梦证道,震踏九霄。琼此一生,无惧无畏! 看九重宫阙天道世家,看异世苍穹谁主沉浮!出身社会底层的少年应该拥有怎样的人生?可能什么都不做只是在家啃老,可能在工厂暗做无天日的流水线工作,也可能在老家种地放羊…当然,如果不是现实世界的话,他就能抛开一切,去开启一段冒险之旅,经历更加精彩的故事!我本无意争锋,却被迫推上高位,在血与火中,一步步走到天的举世瞩目的高度,那么就剩下天了......来自他的故事传奇。
网站建设陕icp 自建网站 网络营销策划创意分析 网络营销可以吗 春秋网络安全 简易的网站 如何免费建网站 网站红色 湘西网站建设 网络营销实训课程ppt 冤亲债主的干扰解决方法【www.richdady.cn】 与老公前世的咨询技巧咨询【www.richdady.cn】 心特别累的前世记忆【www.richdady.cn】 失业的案例分享【www.richdady.cn】 不爱读书的教育建议咨询【www.richdady.cn】 家庭关系咨询【微:qq383550880 】√转ihbwel 心特别累的解决方法咨询【微:qq383550880 】√转ihbwel 自闭症的心理调适咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份的识别方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的轮回有哪些真实经历?【σσЗ8З55О88О√转ihbwel 耳鸣的环境影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生测试在线【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 祖灵的存在形式威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 升迁障碍的职场规划如何制定?【企鹅383550880】√转ihbwel 大龄剩女的婚姻建议【σσЗ8З55О88О√转ihbwel 情感心理咨询在线咨询【σσЗ8З55О88О√转ihbwel 去世的父亲的去向解析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 纠纷咨询【www.richdady.cn】√转ihbwel 儿子不读书的改运方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 财运不佳的财运提升咨询【www.richdady.cn】√转ihbwel 中山做网站的公司 开展网络安全认证检测风险评估 整合营销理论案例分析 最好的网络安全实验室 网络营销实训课程ppt 信息安全政策包含 良好的网络安全 信息安全控制基础原则 武汉大型网站建设 小米手机网络营销推广方案 网络营销就业明星 深圳市信息安全测评中心 官网 论坛营销软件 企网络安全措施 广州做网站的 互动营销公司 病毒性营销的实例 关于简单网络安全协议有哪些 网站移动端建设 网络安全攻防大赛 网络营销作业从域名空间网页的内容结构功能风格分析 网站建设费用预算 网络安全软件的使用 网站制作流程 2015网络安全周 信息安全服务资质 互助网站制作公司 网络安全 北邮营销在线 问答营销的成功案例 注册网络信息安全师 网站建设开发公司 网络安全攻防大赛 顺德网站建设原创 优质公司网站 测试内容不属于网络安全测评的是 深圳电商营销策划公司排名 企网络安全措施 博客营销类型 如何建立自已的购物网站 重庆网站建设公司那好 邮箱营销案例 信息安全服务提供商 手机做网站的 陌陌做营销 网络安全行业发展史 广州市信息网络安全协会 中山做网站的公司 asp网站默认打开index.html不是index.asp 网络安全黑白之道 提供网站建设设计 信息安全政策包含 郑州营销托管公司排名 上海有名的做网站的公司 网站建设营销技巧 外部营销 互动营销公司 idc网络安全报告 做门的网站建设 信息技术与信息安全 网络安全人员能力认证 网络安全病毒逻辑实例佛山做网站公司 网络安全对抗数据赛 网络营销作业从域名空间网页的内容结构功能风格分析 病毒性营销的实例 模板建站影响网站的优化排名 富阳网站建设 网站建设开发公司 马鞍山网站设计 网络安全 北邮营销在线 网站红色 富阳网站建设 2017网络安全周 上海 沈阳建设公司网站 sns社区营销案例 2017网络安全周 上海 9.网络安全的特性包括( ). 网络安全意识 培训 如何免费建网站 陌陌做营销 京东目标市场营销 武汉大型网站建设 家具营销策划 优帮云 网络营销实训课程ppt 信息安全服务ppt 网站策划机构 全球信息安全 国家网络营销师 网络营销可以吗 网络汽车营销策划 注册网络信息安全师 网络营销策划创意分析 信息安全控制基础原则 互联网信息安全要求,-1 网站制作维护 网络安全基础 华为网盘 网络营销开始先怎么做重庆企业网站建站 大连做网站的公司有哪些 良好的网络安全 郑州营销托管公司排名 丽水网站建设 家具营销策划 优帮云 网络安全属于国家安全中的 春秋网络安全 公安部信息安全 中国网络安全教育 自建网站 公安部信息安全 徐州网站制作如何定位 达内网络营销有用嘛 内蒙古网站设计 9.网络安全的特性包括( ). 怎么判断网站优化过度 如何设计公司官网站 重庆网站建设公司那好 网站建设费用预算 病毒营销的注意事项 汽车互联网营销培训 情感营销 3个c 自己做网站 需要哪些 网站设计模板免费建站 网站设计建设趋势 网络安全意识 培训 滕州网站优化 北京企业网站建设方 关于简单网络安全协议有哪些 邮箱营销案例 提供网站建设设计 湖州做网站 义乌网站制作 营销软件代理 病毒性营销的实例 中国信息安全问题日益突出的标志是什么 重庆网站建设公司那好 信息安全暑期教师培训 营销道理