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

<a class="close" href="https://4b.dkali.cn/">&times;</a>
.信息安全测评机构,-1佛山网站建设的品牌专业网络营销联系电话装饰网络营销的职责201首都网络安全日千龙网站建设规划书重构网站广州网站制作顺德公益网站制作福田的网站建设公司这是一个全民领主的世界,只要机缘足够,不死不灭不是传说。 周焱意外穿越到这个神奇的世界,觉醒金手指,竟然能够无限进化自己的领地。 普通【兵营】进化为【铜雀台】,开局就召唤会剑术的RRR级品质貂蝉! 普通【领主水晶】进化为【王者水晶】,防御力暴增十倍,怪物打都打不动! 普通【祭坛】进化为【神秘商店】,定时刷新各种宝物,开局就有一折打折卡,装备、建筑什么的,统统不是问题。 普通【茅草屋】进化为【灵气竹屋】,修炼成仙不是梦。 “你只是最低级的白色领主,为什么会有这么可怕的英雄!” “这真的只是一个低级领主,为什么这个领地防御这么可怕。” “我的巨龙还没有到城门就被屠了,麻蛋.....别吃啊!!” “呜呜呜,我的领地竟然被一个漂亮的妹子给毁了,她说叫貂蝉。” 周焱:“虽然我只是最低级的白色领主,但是我依然吊打全世界。赵阳意外绑定可以往返现代与明末的传送门。 穿过传送门,对面是气势汹汹,向着他冲刺而来的八旗骑兵。 数次尝试都铩羽而归,赵阳直接上交传送门,与官方合作。 当官方看到赵阳展示的另一个世界后,整个大夏都为之轰动。 一个星球的资源,一个全新的未开发世界! 大夏官方第一时间下定决心,制定绝密计划,设置最高权限。 终于,再次踏入明末大地的赵阳。 身后,是一条蓄势待发的庞然巨龙……首席长官探地府,储君王子访东洲。 修堂建舍传道业,唯有梁柱最难求。 自古帝王有神助,从来名将须抛头。 滚滚河水断恩义,凛凛雄威鬼神愁…… 诡异不明的感染,来历不明身怀多项意想不到技能的教师想在这末世中带着他的学生们活下去。陈先生请问末世的背后到底是什么在推动跟你有关系吗?你是怎么带着你的学生们活下去的?责任越大能力越大吗?做这么多得罪人的事不会怕吗?陈翡抠了抠鼻孔说:“你谁啊你?我只想保护我自己和那帮兔崽子们努力活下去,仅此而已。”穿越北宋改写历史,对内搞活经济,办工厂、开钱庄、发展旅游产业,他是改革的践行者;对外抵御强寇,他是士兵,是监军,是大将军,是战无不胜的统帅。 文艺复兴深入人心,办书院、兴私塾、大力培养工匠人才;与高僧参禅,跟真人论道,谈诗论词有易安居士,研究书画少不了赵大官家,人生如斯,不亦快哉! 科技,成为第一战斗力。金戈铁马挺进戈壁草原、无敌舰队巡视蓝色海洋,大国重器威慑天下,靖康之耻消弭于无形,从此之后再无弱宋!武之一途,逆则进;情之一道,终难舍。帝路身孤,传承已断,真武浩劫,吾当身守。魔威滚滚,生灵涂炭;一丝生机,踏天而行。人魔遗迹,破帝成神;七州同力,护我山河。三界来袭,不归鼎去;天外死战,以待灵神。   全球异变,游戏降临现实,妖兽,魔族,异族肆虐。   为了抵抗这一切,每个人年满18都要规划职业选择,转职,升级变强。   而在觉醒当天,一向透明人的王阳,觉醒SSS神级天赋,觉醒S级审判的死神拥抱隐藏技能。   转职隐藏职业黑暗法师。   于是,你见过无吟唱,无冷却,无范围,的暴力法师吗?   最终在迎战时,身披吞噬法袍,一手持死神之镰,一手持黑绝法杖。   身后屹立着黑暗死神,吞噬之神,九天雷神,不死之神,阳火之神等虚影……   百万虎狼,百级战斗师目光灼灼的威视魔皇。   “淦!现在的年轻人都这么狂吗?”   魔皇咽了咽口水,脑袋有些发懵。   “那个!我现在投降还来得及吗?”睁开眼,林浩强重生到和妻子离婚的当天。 上一世的他,五毒俱全,抛妻弃女。 弥留之际的他,得知老婆积劳成疾,早已亡故,女儿叛逆,十年牢狱之后,死于街头。 林浩强死不瞑目。 上天给了他一个重生的机会,还给了他一方小世界。 为了弥补上一世的罪孽,林浩强起早贪黑,拼命工作,把老婆和女儿宠上了天。文:殷勤昨日三更雨又得浮生一日凉 文:本是后山人偶坐前堂客 性格孤僻的天才警官南港市公安局东海分局局长北海琼月只有一个愿望——成为一名恪尽职守、秉公执法的优秀警察。她从不怀疑自己的能力,坚信自己能做到让每一起案件水落石出,不料南港市发生的一系列连续凶杀案让一向被誉为神探的北海琼月焦头烂额,被害者不仅毫无共同点,而且死因离奇。北海琼月身为专案组长一直希望尽快破案,不料一件又一件事情打乱了她的计划…… 正在北海琼月被一个个意外弄得焦头烂额的时候,案件出现了一丝转机,有人目击到凶手犯案的过程,甚至在案发现场活捉凶手。本该为此举杯庆祝的北海琼月却陷入了沉思,这个被逮捕的凶手不是别人,正是和她一起上学、一起工作、一起办案的她唯一的朋友。 友情的信任遭到了巨大的冲击。作为警察,北海琼月有义务履行职责;但作为朋友,北海琼月不相信她是凶手。信任和证据面前,北海琼月必须做出抉择。
娃哈哈的营销方式 安天 网络安全 企业网页设计网站案例 全网整合营销的公司 信息安全技术包括 搜狗推广营销顾问 网络营销52招 重构网站 身边的营销 长沙网站优化公司 网络营销方式 医院网站建设解决方案 信息安全学校平台 上海搜索引擎营销 网站建设案例 学习网络营销 营销型高端网站建设价格 现代感网站 个人如何做好网络安全 如何网站客户案例 邢台移动网站建设 网络安全专题网站 软件营销吧 济南seo网站推广 从网络安全角度考量请写出建设一个大型电影网站规划方案 长沙企业网站建设团队 信息安全等级保护自查. 潍坊网站建设多少钱个人信息安全下载 张新 网络安全管理局 .信息安全测评机构,-1 网络安全的目标是什么?通过哪些技术手段可以促进安全目标实现? 聊城网站优化 网络安全专业是什么意思 网络营销52招 中国中央网络安全网络安全信息化职责 渠道策略的网络营销 网络安全与对抗研究 张新 网络安全管理局 广州网站制作 营销型网站有哪些出名的 网络安全名师 是企业信息安全的核心 京网站制作公司 大型的营销型网站建设 使用asp.net制作网站在制作相册时怎样添加图片呢? 网络营销推广方法 长沙企业网站建设团队 身边的营销 百度网盘显示网络安全风险 知名网站规划 主动营销意义 营销型网站有哪些 营销qq群 网站换模板 青岛做网站哪家公司好 舆论营销 信息安全拓扑图 网络营销教程网站 淄博微网站 互联网营销思想 保定哪里有做网站的 现代感网站 营销型网站有哪些 YY上的匿名网络安全维护是干嘛的 台州做网站哪家好 腾讯澳大利亚网络安全 王老吉的网络营销方法 做个营销型网站多少钱 网络安全会议2017 网站备案 外贸网站建设公司策划 网站建站营销网站 网络营销推广方法 以等级保护 网络安全法整合营销 互动营销 信息安全产品软件厂商 网络营销第五版 信息安全咨询顾问前景 上网行为审计 信息安全 个人如何做好网络安全 信息安全学校平台 网站验收 网络安全与对抗研究 推广 营销 论坛 临沂高端网站建设 网站建设需要具备哪些知识 装饰网络营销的职责 网络营销教程网站 网络安全会议2017 九江网站建设 邢台移动网站建设 信息安全进政府 大良营销网站建设平台 网络营销的五大定位 信息安全技术包括 网络安全设备品牌 网络安全问题产生的原因包括( ). 临沂高端网站建设 网络安全电影主播 软件营销吧 北京网站建设有限公司 贸易公司自建免费网站 医院网站建设解决方案 营销知识分享 微网站怎么做 上网行为审计 信息安全 湛江网站模板 baidu营销学院 信息安全在线教育 网络安全威胁例子 网络营销策划的方法 深圳企业做网站公司有哪些 信息安全进政府 福田的网站建设公司 网络安全题材电影 网站换模板 关于计算机网络安全 2014年中国计算机网络安全年会日前在广东( )召开 主动营销意义 暗红色网站 营销型网站有哪些出名的 运营好网站 网络安全总体设计 网络管理和网络安全 广州手机网站设计 两会期间信息安全城市网络安全服务 国际网络安全问题事件 关于计算机网络安全 关于互联网营销的书籍推荐 网站seo优化公司 武汉免费网站制作 经典网站设计 重构网站 6p营销案例 新泰做网站 学习网络营销 渠道策略的网络营销 互联网营销思想 营销型高端网站建设价格 东软 网络安全事业部 整合营销传播是什么 网络安全与对抗研究 定制网站案例 知名网站规划 网络管理和网络安全 长沙网站优化公司