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

<a class="close" href="https://qbss.pieng.cn/">&times;</a>
福建信息安全会议,-1网站靠什么常用网络安全技术郑州营销推广信息安全原理截图学生对网络营销看法网站建设需要具备哪些知识2017世界网络安全大会免费的营销手机网站设计机构信息安全原理截图这是一部青春时期的回忆录。每个人的青春都是丰富多彩的,值得可歌可泣的,值得大说特说的,我们富有热血,我们积极向上,我们有过迷茫,也曾失落彷徨,愿你们独一无二的青春,能够得到你们想要的结果,活出自己的自由。夏历2222年,黑色的太阳突然从极渊升起,在天穹之上悬挂七日,全球陷入一片黑暗。 此次事件中,整条赤道全线崩坏,水蓝星裂开一道长达4万公里的影渊,横贯东西。 七天后,黑日退去,光明重洒大地。 可当人们欢呼灾难结束之时,却不知无尽的恐怖正从影渊之中醒来。 自此,全球复苏,百鬼夜行。 林凡被女友绿了之后还出了车祸,意外得到传承—太上古医术。 从此走上医者仁心,救死扶伤之路。 而伴随着境界的提升,发现传承是来自...在剑与魔法的世界里,剑士对战术士生来就很吃瘪的 “喂喂,醒醒!再不起床的都是懒狗。” “啊?这里是......?“世奕被惊醒了,脑袋磕在上铺的床板上 ”这里是王府,我们小姐昨晚把你带过来的。“ ”啊?什么东西?”他捂住自己的上额,眼角噙着泪花。 “行了,快点穿好衣服去见小姐。” ...... “好了,从今往后你就是我的近身侍卫了!”白发少女指着世奕说到。 “什么!?”诡异不明的感染,来历不明身怀多项意想不到技能的教师想在这末世中带着他的学生们活下去。陈先生请问末世的背后到底是什么在推动跟你有关系吗?你是怎么带着你的学生们活下去的?责任越大能力越大吗?做这么多得罪人的事不会怕吗?陈翡抠了抠鼻孔说:“你谁啊你?我只想保护我自己和那帮兔崽子们努力活下去,仅此而已。”人生无常,大肠包小肠。 孟飞穿越到漫威世界,成为中城高中的一名高中生。 并且绑定签到系统,开局签到终极帝皇铠甲。 在哥伦比亚研究院签到,获得三星奖励,兔符咒。 在复仇者联盟大厦签到,获得四星奖励,镭射眼。 在联合国总部大楼签到,获得五星奖励,暗影军团。 …… 两年后,当灭霸带着他的紫薯兵团入侵地球时。 只见地平线上亮起一道耀眼的光芒……苍穹世界群雄并起天才如云其主大陆圣灵大陆更是天才多如狗但是圣灵大陆一直被天道统治者,并且这里的天道是邪恶的,圣灵大陆的生灵在天道和天道家族的统治下苦不堪言,并且每过一段时间天道还会将手伸入别的大陆和小世界,给那些地方带入黑暗每当这时总有英雄挺身而出但是这些英雄在和天道一战后再也没有回来过........四象纪元1000年天道卷土重来,且看这一代的四位英雄结局如何都说庶子与家产无缘,但林弘却不这么认为,看上的东西,不给就抢,才是王道……前世,努力,学习,只是为能在娱乐圈里有一席之地,被爱情抛弃,一场大醉之后穿越重生,没有高不可攀的背景,只有小人在都市里关于爱情和事业的奋斗励志。于是,用歌抒写人生,用歌表达爱情,关于亲情友情还有爱情的爱恨交加。娱乐公司不公平的签约?不好意思,不感兴趣?想我封杀?那是不存在的,我又不是歌手?没人找我写歌?没关系,我写小说总可以吧!爱情,不好意思,我不在乎你的过往,只在乎你的未来你有没有我?看男主如何在都市里演绎小人物的生存励志故事。洛阳考古研究所在古教授的带领下进行了一次新疆考古活动,却不想被一个盗墓团伙在背后操纵利用。从此以后,这个考古所的行踪陷入了处处被动的境地。考古所一直想要反抗,摆脱这个盗墓团伙的利用,最后与之进行一场生死决战……
信息安全企业排行 威海网站优化 写网站代码 网络安全态势感知探讨 网络安全 香港 焦作网站建设 中国 网络安全 企业的营销案例分析ppt 公安部信息安全中心 互联网内容分发网络安全防护检测要求 特殊学校的教育理念咨询【www.richdady.cn】 头脑混沌时如何提高注意力【www.richdady.cn】 冤亲债主咨询【www.richdady.cn】 事业不顺的职场建议有哪些?咨询【www.richdady.cn】 前世今生的修行方法【www.richdady.cn】 老公家暴的咨询技巧【www.richdady.cn】√转ihbwel 外灵的种类【www.richdady.cn】√转ihbwel 儿子不读书的改运方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 长期失业对个人的影响咨询【微:qq383550880 】√转ihbwel 财运不佳的财富管理【微:qq383550880 】√转ihbwel 前世今生的缘分揭秘咨询【企鹅383550880】√转ihbwel 与女友前世的影响分析【微:qq383550880 】√转ihbwel 冤亲债主的干扰解决方法咨询【www.richdady.cn】√转ihbwel 头脑混沌的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的前世因果威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 人际关系不好对工作的影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的故事有哪些经典案例?【企鹅383550880】√转ihbwel 升迁障碍的职场转型咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 冤亲债主的干扰与解脱咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的婚恋建议咨询【微:qq383550880 】√转ihbwel 关于建立国家信息安全产品认证认可体系的通知 做网站多少钱 科技平台网站建设 网络营销手段 网络安全协会 活动 武汉网络安全培训 中国的信息安全 课程商城网站模板 网络安全面临的主要威胁及解决措施 网站中文域名续费是什么情况 网络事件营销定义 厦门网站的制作 微博营销的形式 网络与信息安全管理员,-1 深圳网站建设 公司元 微信公众号营销关键 网站报价 中国 网络安全 微网站怎么做 信息安全导航 wap网站模板 网络营销专业都学什么 饥饿营销是经济现象吗 国际信息安全中心待遇 福建信息安全会议,-1网站靠什么 信息安全原理截图 2017世界网络安全大会 信息安全原理截图 塞班斯法案 信息安全 常见信息安全技术 免费网站制作推广 网页设计网站 课程商城网站模板 网站新站 营销号英文 电子账户营销方案 常用网络安全技术 免费网站制作推广 信息安全产品类型 信息安全从业 学院网络安全解决方案 网络与信息安全管理员,-1 温州网站推广中央网信办网络安全协调局局长赵泽良 计算机网络安全等级 内容营销的优缺点 数字营销网络营销 网络安全评估指标 windows 网络安全控制软件 政府信息安全管理 网络安全态势感知探讨 网络营销线下培训 wap网站模板 信息安全等级保护证书 杭州网络安全解决方案 网站建设新闻分享 线上营销概念 国家网络安全 网站关键词库 网络安全面临的主要威胁及解决措施 网络安全协会 活动 上海平台网站建设公司排名 学院网络安全解决方案 网络安全工作实施流程图 营销 计算机网络安全是什么 信息安全的虚拟世界 建云购网站 东城网站设计 实现微信微博微官网聚合营销一体化的移动互联电子商务解决方案 网站中文域名续费是什么情况 小米的内容营销案例 做网站多少钱 网站管家 营销策划相关的视频 脑白金体网络事件营销 网站推广渠道 信息安全的虚拟世界 信息安全局 焦作网站建设 美食城营销 上海网络安全相关政策 如何学习信息安全,-1 国内做网络安全的公司排名 太原理工大学网络安全 微网站怎么做 高端的平面设计网站 网站建设需要具备哪些知识 高校网络安全教育 威海网站优化 网络安全员培训内容 电子邮件营销怎么做 信息安全官 信息安全标准规范 网站管家 深圳 网络安全 公司 杭州网络科技网站 电子账户营销方案 企业网站系统 写网站代码 网络安全工作实施流程图 做网站多少钱 企业网络营销计划方案 国家信息安全认证服务资质 网络营销手段 微博营销优势与劣势 信息安全企业排行 武汉网络安全培训 柳州网站建设 企业网站系统 课程商城网站模板 网络安全 香港 学校 信息安全 网站中文域名续费是什么情况 中国信息安全测评中心认证中心 国际信息安全中心待遇 厦门网站的制作 网络安全所称网络 百度竞价账户中网站被关掉了现在如何将这个词转换到另一个网站账户中设计师专用的浏览器是网址什么?页面全是各种设计网站的链接 网络与信息安全管理员,-1 微博营销的形式 信息安全就是网络安全 微信公众号营销关键 营销 绿盟网络安全 中国 网络安全 微博营销优势与劣势 网络信息安全 网络间谍 数据 信息安全导航 东城网站设计 机关网络信息安全管理制度 网络营销专业都学什么 深圳 网络安全 公司 网络营销手段 国际信息安全中心待遇 网站成本