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

<a class="close" href="https://kaf.4881.com.cn/">&times;</a>
网络营销案例评析重庆微信线上营销方案网站设计费网站套餐网页高端网站开发建设信息安全logo网络安全和运维哪个好网路营销是什么国家网络安全应急中心网络安全法 行业组织“他,被称作民族脊梁。在风云变幻的民国时期,他进军教育业,创办无数中小学,以及顶尖大学,以一己之力使无数龙国少年获得良好的教育,使得龙国的科研水平走在了世界前列。” “他进军工业,招收无数流民,旗下无数家轻工业工厂,活人无数。” “正是因为他,龙国出现了遮天蔽日的坦克、舰船、飞机、大炮……” “短短十年间,他赫然已经完全改变了龙国的样貌。经济强大、工业强盛、科技先进……他自然已经成为世界首富!” 特约记者如此说! 而面对记者,林玄却不由得大吐苦水。 “我的成功,真的真的都是运气使然!” “我最初的目标,真的就只是亏钱而已啊!”人在没有离开尘世时,谁也说不清未来将会发生什么。 本来工作顺心、家庭和谐,婚姻稳定的主人公但益恒不经意间发现贤惠持家的老婆暗地里已出轨多年,工作又不顺心,令他性情大变一怒之下辞职却又遭老婆羞辱,生无可怜之下跳河自杀。 死容易,生更难。 他落魄、失意,在逃离家与愧对女儿的煎熬中不断努力,并结识了三位红颜知已,一方面为了女儿有一个健全的家他想守住初心但夫妻之间的裂痕已无法愈合;一方面逃家自由中又遭遇三位婚外女人的步步紧逼。面对三个独立而有个性的女人主动攻击,他贪恋这种“偷情”的刺激陷入了婚外“情”的泥潭之中,可是,谁想过这种不伦不类纠缠不清的日子呢?熊与鱼掌不可兼得,经过无数次挣扎,他只得做出断、舍、取,那晓得,命运又跟他开了一个玩笑,他该何去何从呢……人人都说:好机友,一辈子。 可明明想躺平的我,为什么会遇到这么卷的机器宠物呢? 难道它还想当宇宙第一机器舔狗不成?拥有【满级肉身】的苏叶,穿越异界,成为显魔宗疯魔院的杂役弟子! 被女魔头吊着打,获得天魔神掌。 被老魔头拿头撞,获得种魔大法。 被小魔头当沙包,获得霸王神斩。 …… 在疯魔院当杂役这些年。 有郁郁寡欢的师妹,来疯魔院供奉魔头,经苏叶指点,修成九世女帝! 有身世卑微的凡人,来疯魔院供奉魔头,经苏叶调教,成为天下共尊的魔皇! 有朝廷弃徒的皇子,来疯魔院供奉魔头,经苏叶点拨,成为横扫大陆的一代帝王! * 六十年后,魔道天榜揭示,排序魔道强者,苏叶独占鳌头! 榜单备注——神魔共主! ……异界的国度妖魔苏醒,那里即将面临生死劫难,轩辕庄就是摆脱生死劫难的寄托。轩辕庄自己在非凡经历得以砥砺成长。大道五十,天衍四十九,盾去其一。平行时空,混沌重启,是轮回还是阴谋!变数能否逆天,能否改变!林琅得遁去之一,能否逆天成圣。已经对生活低头了你是否会想过其实我们神话故事中的仙人是真实存在的 只是我们不知道呢 或许有些人知道 也许这些人就存在于我们的身边 异能人的世界也需要秩序 那这个秩序为什么不能是由我来制定! …… 监狱的门缓缓地打开 一个十六岁的少年从中走了出来 ……无良中介坑骗老人,周铭受到老人恳求举报讨回血汗钱。 周铭:众老放心,不就是要个钱?简单! 三日后。 无良中介团伙被判诈骗罪,十年起步! 孙奶奶:只是让你举报要钱,全给送进去了? 牛爷爷:牛哇!牛哇!比我牛爷爷还牛! 某不知名老人:你缺媳妇不,把我家孙女介绍给你! ...... 父母遭到恶毒亲戚碰瓷...... 周铭:进去反省反省! 女警官遭到键盘侠网暴...... 周铭:你以为隔着屏幕我就抓不到你? 天下不平事太多! 我,周铭! 平定天下不平事!了不起的修仙
教网络安全的博客 信息安全技术防火墙技术要求 网站如何宣传 网络安全警示片 网络安全组织管理 推荐广州手机网站定制 营销型网站技术特点 制作网站需要注意的细节 网站建设开发 潍坊网站建设公司推荐 老公家暴的案例分享【www.richdady.cn】 性压抑的情感释放【www.richdady.cn】 暗恋的自我提升咨询【www.richdady.cn】 干扰【www.richdady.cn】 存不住钱的财务规划【www.richdady.cn】 心慌胸闷头晕的前世因果【企鹅383550880】√转ihbwel 脑部不清晰的咨询技巧威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 公司破产的前世记忆咨询【微:qq383550880 】√转ihbwel 冤亲债主干扰有哪些症状?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世缘份如何影响情感生活?咨询【企鹅383550880】√转ihbwel 感情纠纷的情感重建方法有哪些?咨询【企鹅383550880】√转ihbwel 老公家暴【微:qq383550880 】√转ihbwel 灵性成长工作坊咨询【企鹅383550880】√转ihbwel 家庭关系的和谐之道【www.richdady.cn】√转ihbwel 与公婆前世的因果关系咨询【σσЗ8З55О88О√转ihbwel 与公婆前世的故事分析咨询【企鹅383550880】√转ihbwel 冤亲债主的干扰与超度咨询【σσЗ8З55О88О√转ihbwel 外灵干扰的自我提升【企鹅383550880】√转ihbwel 为什么过世的前世因果【企鹅383550880】√转ihbwel “缺心眼”对人际交往的影响【微:qq383550880 】√转ihbwel 成都网络信息安全协会 高大上设计网站欣赏 中国网络安全调查报告 深圳品牌网站推广公司 网络营销策划 费用 互联网公司网络安全 营销组合的4p 北京公司网站建设报价 信息安全服务认证中心 信息安全技术产业联盟国产网络安全产品品牌 ios开发 信息安全,-1 企业网站需要多少钱 网站主题网 中山网站建设文化方案 主机 信息安全风险评估报告移动商务营销案例 汕头网站公司 网站托管维护 信息安全是对信息的 重庆旅游网站建设 广东南方信息安全产业基地有限公司 数据安全保护系统 破解 信息安全技术防火墙技术要求 asp网站php网站jsp网站asp.net网站案例 电商网站模板 2017安徽高校网络安全 企业网络安全问题 重庆微信线上营销方案 高端网站开发建设 网路营销是什么 手机信息安全概述 北京的网络安全公司 电商营销策略案例 信息安全审计手册免费设计网站 东莞网络营销推广模式 移动营销编码 郑州营销策划培训学校 网站建设系统 网络安全和运维哪个好 微博营销运营 全国网络安全大赛 南方信息安全测评中心 常州做网站 网络营销能力秀软文 如何保障国家信息安全 安徽省信息安全比赛 中国信息安全公司 信息安全管理流程 系统网络安全分析 2017网络安全展会 国内欣赏电商设计的网站 推荐广州手机网站定制 信息安全技术防火墙技术要求 旅游营销推广中心 网络安全从业人员 营销优势有哪些方面 推荐广州手机网站定制 江苏营销型网站公司 网站的网页 信息安全服务认证中心 江苏营销型网站公司 网络安全警示片 bat招聘信息安全专业 网络安全理想 微信营销的特点有哪些 教网络安全的博客 营销策划培训班 贵阳网站制作免费 信息安全服务有哪些 宁夏网页设计网站 中国网络安全调查报告 汕头网站公司 免费新建网站 银监对信息安全的要求 做网站好处 什么是微信社群营销 信息安全保护技术措施 客户短信营销 成都网站建设网络营销讲师介绍 企业网站需要多少钱 信息安全logo 郑州网站建设最独特 黑客风云vip教程 信息安全渗透测试课程 济南建设网站的公司吗 信息安全管理流程 重庆旅游网站建设 信息安全逆向分类 文山做网站 济南建设网站的公司吗 武汉网站优化seo 网站建设系统 营销策划品牌事件口碑 建立企业官方网站 广东南方信息安全产业基地有限公司 数据安全保护系统 破解 信息安全技术终端计算机系统安全等级技术要求 网络安全测评公司 网络安全警示片 制作网站需要注意的细节 重庆旅游网站建设 俄罗斯网络安全 全面解读网络安全法 高大上设计网站欣赏 公司设计网站建设 企业内部网络营销需求 深圳品牌网站推广公司 饿了么营销案例 专业邮件营销 互联网公司网络安全 权威的网站建设 如何设计网站域名 北京公司网站建设报价 自己怎样制作公司网站 手机信息安全概述 信息安全技术产业联盟国产网络安全产品品牌 信息安全是对信息的 企业网络安全问题 企业网站需要多少钱 一流的商城网站建设 网络安全保卫局3所 中山网站建设文化方案 南京做网站 信息安全原则 汕头网站公司 营销组合的4p 信息安全原则 信息安全是对信息的 网络营销能力秀软文 信息安全检测定义 广东南方信息安全产业基地有限公司 数据安全保护系统 破解 信息安全逆向分类 北京的网络安全公司 asp网站php网站jsp网站asp.net网站案例 网络安全分级因素 网站制作需要多少钱 2017安徽高校网络安全 网站的网页 网站分为哪几类