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

<a class="close" href="https://qkm.111555.com.cn/">&times;</a>
电子邮件营销怎么做网站开发需要什么技术网站优化哪里好网络社区营销的技巧营销策划和销售的区别通过对搜索结果的对比分析行业网络营销竞争状况及用户检索行为网站须知公众号营销策划公司网络安全做什么公众号营销策划在古老的初生之地,混乱与纷争是永恒的主题,林玖自绝望与光明中降生,一路追寻预言的召唤,血脉深处的呐喊,则昭示其注定成为传奇。主要是讲男主受到种种困难成为了修罗把坏人打死。为天下安定带来了和平。后来回到了现实中的故事。开局穿越,继承一家濒临倒闭动物园,一只动物都没有,仅有的鹦鹉还是穿越来的。 怎么办? 激活“神级动物园系统”。 本以为从此走上人生巅峰。 奈何,系统出品,必属精品,园里动物全是秀? 附赠“大明星系统”的金刚鹦鹉,唱歌算什么?请叫我午夜情感大师! 选择“严于自律系统”的大熊猫,别拉我,我还能干三百斤竹子,锻炼是不可能锻炼的,这辈子也不可能锻炼的! 觉醒“除恶为民系统”二哈,投降?谁让你们投降了?老子还没拆呢…… 立志于当社会大哥的平头哥,想当健美教练的袋鼠,消防兵的大象,要上战场的霸王龙,面对一个个“蒂花之秀”的动物,身为园长的苏白表示,我太难了…… 【日常休闲文,有温馨,有搞笑,看了不吃亏,看了不上当!】为了男人的承诺,萧晨强势回归,化身美女总裁的贴身保镖,横扫八方之敌,谱写王者传奇!   他——   登巅峰,掌生死,醒掌天下权,醉卧美人膝! —————— 小舞的微信公众号:寂mo的舞者,可以去关注哦! 小舞的QQ:1589045849,可以去加好友! 唯舞独尊①群:545765633!   2755年,人类开始走向星际文明时代,终端永恒号将是第一艘飞向星际文明的战舰。没错,我们的主角在这艘战舰中。维克特萨摩斯,外号狼或狼夜叉,身高195厘米、体重325斤。背后那刻画出来般的肌肉,直接印出魔神脸般的魔神背。总长3550米的终端永恒号战舰装备了全球最先进的扭空引擎与许多灭星武器…直逼多重宇宙级别,完全可以探索宇宙。此时维克特萨摩斯与他的妹妹维克特爱多琳满脸期待地坐在终端永恒号的指挥室中,他俩谨慎地看着以上船的500名新兵的资料。不知道在浩瀚的宇宙中,等待这502位战士的将会是什么?在未来期限的50年内,这次探索宇宙文明的途中他们是否能完成全体人类交给他们的使命?他们将决定未来的人类文明是否是其他宇宙文明的敌人,太阳系被开发得差不多啦,他们也决定人类的新家园。  两世为将定四方,难挡帝皇灭臣亡;   转生成王夺山江,何奈毒女害朕殇。   重生晓破千奇门,首窥幕手控轮回;   从师授德万生崇,傲世临尊掌众生。   行医识道天地耀,千百道术唯吾晓;   九世九生归一术,十世十命造一诀。 他历经九世,掌握万千知识;他摆脱轮回,开始崭新十世生活! 被陷害的懦弱之人,终含冤身陨! 被掌控的轮回之人,终自由重生! “你的冤,我定替你洗刷!” “你的仇,我定为你雪恨!” 他立下壮志,淬体三年,终成魔体。 当他出关,就碰到此生之敌…… 我是人族之子,魔族后辈,你们却以我为耻! 就凭所谓的太子公主? 尊贵的人族太子?却不堪我一招之敌; 桀骜的魔族公主?仍不敌我一手之威。 此世我便要压你人魔二族,傲临十方!刘牧混魂穿三国,获得【划水就能成仙系统】 只要划水一年,就能成仙! 本来已经划了364天,却在最后一天晚上之后,遇到了隐藏身份的曹操,而且曹操还能听到他的心声。 自此之后。 刘牧那一道道心声传入曹操的耳中。 【灭吕布,还是得水淹下邳!】 【老曹!我都说了曹操身长八尺容貌甚伟,怎么可能跟你一样丑!】 【破官渡?那肯定得靠吾才满腹的那位!】 【这个点,郭嘉快死了,准备吃席!】 【完犊子咯,曹操要被一把火烧的家底全空!】少年苏渊经历三次凝丹失败,机缘巧合拜四圣兽之一的青龙为师,踏入武道之途,并且开启自身龙族和凤族血脉,从此天高海阔,前途无量。 探索秘境,结天骄,诛邪魔。一个人、妖、魔共存的世界。平静的外表下危机四伏,各方势力蠢蠢欲动。中土、远东、极北、蛮荒、地下城等各方势力暗自角逐。整个世界即将破碎… 王星澜一个平平无奇的游侠儿,因他的到来加速了世界的破碎。但物极必反,他的到来也让即将破碎的世界萌生出来一次愈合的力量。 一次又一次的冒险中,王星澜加入了一个神秘的组织,结识了志同道合的朋友,同时也逐渐明白自己来到这个世界的目的,他所承载的使命…… 聪慧的游侠、内秀的术士和古怪的女盗贼。奇葩的伏妖小队终将成长为一方巨擎!穿越到玄天大陆,最先走进苍国,并且跟皇帝成为了兄弟…… 结交了五兄弟,以六人之力带动整个国家.........
怎样做一个网站首页 郑州营销推广 网站都需要续费 网络安全课程表 网络营销在哪些行业 江苏省信息安全测评中心 电子邮件营销怎么做 网站交互性 公司网络安全做什么 微信社群营销工具 冤亲债主干扰的化解仪式【www.richdady.cn】 营养不良导致的头脑混沌【www.richdady.cn】 冤亲债主的化解方法咨询【www.richdady.cn】 事业不顺的职场瓶颈如何突破?咨询【www.richdady.cn】 前世今生的梦境解析【www.richdady.cn】 婚姻生活不顺的咨询技巧【www.richdady.cn】√转ihbwel 有官司的心理调适咨询【企鹅383550880】√转ihbwel 儿子抑郁症的康复训练咨询【σσЗ8З55О88О√转ihbwel 什么原因意外的前世解析【σσЗ8З55О88О√转ihbwel 婚姻生活不顺的原因分析【企鹅383550880】√转ihbwel 什么原因意外的前世影响【企鹅383550880】√转ihbwel 自闭症的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的缘分再续【微:qq383550880 】√转ihbwel 婴灵的超度仪式如何进行?【企鹅383550880】√转ihbwel 婚姻生活不顺的案例分享咨询【微:qq383550880 】√转ihbwel 婚姻生活不顺的解决方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 官司的预防措施咨询【企鹅383550880】√转ihbwel 特殊学校的师资力量【微:qq383550880 】√转ihbwel 如何发现前世缘份【微:qq383550880 】√转ihbwel 如何解决感情纠纷?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 单位网站建设徐州网站建设 互联网网络安全中心 视频网络安全知识讲座 信息安全平台 网络安全的几点 网络社区营销的技巧 深圳品牌网站推广 B2B网站系统 深圳企业建网站公司 社区网站 信息安全 seo营销 郑州营销推广 网站制作价 网络安全技能考试证书 电子政务网络安全现状 安全部 信息安全认证 五级网络安全状况 找营销公司 互联网网络安全中心 信息安全测试方法 手机介绍网站 网络信息安全的图片,-1 安全部 信息安全认证 潍坊市网站制作 营销班营销型商城 新闻网站设计原则 数字营销网络营销 营销型官方网站 网站制作价 网络安全技能考试证书 公司网络安全做什么 e春秋 网络安全实验室 玉溪做网站 基本营销 医疗网站建设案例 莆田网站建设 电子政务网络安全现状 新闻源营销 有哪些电商网站 网络间接营销 郑州网络营销策划公司 网络营销策划的特征 京东网络营销特点 营销的基本流程 网站报价方案 计算机网络安全技术(第3版) 石家庄企业商城版网站建设 旁路控制 信息安全 高端大气网站设计欣赏 苏州高端网站建设 温州网站制作价格 江苏信息网络安全协会公司信息安全ppt 五级网络安全状况 色系网站 单页面网站开发 高端大气网站设计欣赏 购物网站建设 微信社群营销工具 深圳营销型网站公司 微博营销是 网络安全课程表 信息安全测试方法 徐州网站推广 网络营销的优点 网站不稳定 网络空间安全和信息安全 网络安全法与网络直播 seo营销 海尔企业的营销文化 虹口做网站 网络安全的安全技术 台州手机网站建设 沈阳网站推广 免费建站网站大全 济南网站建设和维护 电子政务网络安全现状 信息安全测试方法 网站备案时间 虹口做网站 常用的网络安全系统日志分析工具 网站模板库 江苏省信息安全测评中心 医疗网站建设案例 营销的研发和推广 内容营销的优缺点 网信办 网络安全 深圳做网站 单页面网站开发 网络安全技术与应用 官网 网络安全暴力攻击原理 网络安全监察支队 网络安全测试报告 咨询营销 潍坊市网站制作 密码与信息安全学报 中华人民共和国网络安全发 苏州高端网站建设 移动营销优缺点 莆田网站建设 怎样健网站 安全部 信息安全认证 网络营销的营销对策 建网站 广州 武汉 大型 网站建设 深圳市信息安全测评中心地址 见网站建设客户技巧 莱山网站建设 莱山网站建设 营销的研发和推广 公司设计网站建设 广东市政府网站信息安全 数字营销网络营销 医疗网站建设案例 对网络营销的建议决策 找营销公司 石家庄企业商城版网站建设 沈阳科技网站建设 信息安全等级保护官网 顺的品牌网站设计信息 公司网站设 网络营销的优点 顶级信息安全厂商 网络安全课程表 基本营销 台州高端网站建设 共建网络安全 共享网络文明 下列不属于搜索引擎营销管理分析的是关于建立国家信息安全产品认证认可体系的通知 信息安全平台 美国cnci网络安全分析解读 朝阳企业网站建设方案 深圳网络安全局 网络安全法与网络直播 有哪些电商网站 网络事件营销定义 网络信息安全的图片,-1