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

<a class="close" href="https://wyjki.mafeng.net.cn/">&times;</a>
邢台网站建设服务周到乐营销平台web网络安全信息安全审计规范香港网站建设工控网络安全龙头公司网络安全界人士如何处理武汉网站公司沈阳网站优化排名提供常州网站推广曹泽带着系统穿越大唐,只要花钱就可以抽到各种东西。 开局遇到程处默,误打误撞成了国师。 “陛下,如今灾民遍野,急缺大量粮食!” “不慌,国师那里有粮卖。” “陛下,边关告急!” “来人,去国师那里买点98K来。” “陛下,如今大唐建设急缺人力!” “带上国师,咱去国外走一圈。” 从此,大唐的龙旗插满了世界各个角落。 日光照耀之处,皆为大唐领土!高阳原本是个蓝星的雇佣兵,在一次执行任务中来到了金庸武侠世界--神雕。 在神雕世界中获得武林中人梦寐以求的武林秘籍,左手六脉神剑、右手降龙十八掌,年纪轻轻就达到别人一辈子的成就, 一个小小的蝴蝶能带动多大的效应?神雕世界因为高阳的到来又会有什么样的变化?神雕中的爱恨情况是否因为高阳的到来而改变? 让我们走进神雕世界,看高阳如何在江湖中翻云覆雨~~~~~ 各位书友要是觉得《神雕之我是大魔王》还不错的话请不要忘记向您的朋友推荐哦 卢峰意外死亡,竟穿越神奇新世界。欧皇附体,获得萌王系统。 “等等,这是啥?” “接受感应,开始抽奖……滴……恭喜宿主抽到超强神级——化敌为友” “What?”至此一代老六开始登天之路落叶带来风的讯息,黄金时代已经结束。 群星圣殿坠落,究竟是象征着群星时代的开启还是黄金时代的余温。 星,曾经的群星圣殿之主。在群星圣殿坠落之时,一同陨落的群星圣魔法师。 三千年后的今天,在星光的照耀下。 他回到了这个世界。 失去一切力量的他,有的只是脑海中那浩瀚的群星魔法知识。 是群星时代的仁慈亦或是黄金末路的狂欢。 找寻最深的奥秘,解开群星魔法的最后一道面纱。 “上一世,咫尺之遥。” “这一世·····”一个在外打工仔,回到农村老家创业却风生水起的故事!本书一切内容纯属虚构,剧情以小说世界观为准,设定和现实世界有一定差异性。 这是一部战争向的科幻作品,这里描绘了人类的发展历程。 在黑暗的星空之中,在利益与道德之间,人类该作何选择? 面对比自己弱小的原始文明,亦或是强大的奇迹文明。 加入,守护,掠夺,进攻。 联合舰队,启航! 鸽子进化成不那么鸽的鸽子了!尽量一天一更。 本书是原创世界观,世界观很庞大所以需要大量时间来概述。 这本书讲的不是一个人,而是一个世界。听 昨夜有戎狄,叩我雁门关,攀我十丈城墙 看九州有烽火,江山千万里,烽火次第燃 我高歌送君行,掌中弓虽冷,鲜血犹是滚烫 且为君倾此杯,愿君此行归来,踏凯旋……世纪之末,资源匮乏,经济崩盘,各国剑拔弩张,即将展开世界大战,变故突如其来。 世界各地突然出现各种各样大小不一的漩涡之门,经过部分胆大之人的探索,发现它们通往不同的异世界,与此同时,人群中开始出现许多觉醒各种能力的人类,他们有的会喷火,有的会飞行,还有的会眼放激光。 拥有能够获得神奇物品和能力的他们成为了探索异世界的主力,世界的格局也因此发生变化平凡而又不平凡的世界,平凡而又不平凡的青年。失去了记忆的他却意外获得了窥探他人记忆的能力。门派林立,邪祟横行,看似平常的生活一步步露出真面目。屹立于日渐崩坏的世界,吴通只能依靠人心的力量。如何在拯救他人中救赎自己,如何在他人记忆中找回自我?【圣女+无敌+御兽】 重生后的叶天,发现自己竟然成了魔教圣女手中的傀儡教主。 不甘命运的他却意外觉醒无敌神威系统,从此翻身为王,开启牛哔的开挂人生。 穿越第一天,神功速成,统御万兽! 穿越第二天,横扫八荒,力压诸天! 穿越第三天,夜晚,圣女找上门……
可信赖的响应式网站 京东网站的营销策略 灵动网站建设 太原网站优化 成都整合网络营销招聘 深圳做h5网站设计 乐营销平台 杭州专业做网站的公司病毒营销公式 网络安全的第一道防线是网络安全防护公司 郴州网站建设 亲子关系的共同成长咨询【www.richdady.cn】 存不住钱【www.richdady.cn】 人际关系不好的心理调适咨询【www.richdady.cn】 特殊学校的咨询技巧【www.richdady.cn】 升迁障碍的职场转型【www.richdady.cn】 失业咨询【企鹅383550880】√转ihbwel 灵魂化解与心理疗愈【企鹅383550880】√转ihbwel 如何识别外灵干扰的症状咨询【www.richdady.cn】√转ihbwel 亲子关系的教育建议【www.richdady.cn】√转ihbwel 家庭关系中的矛盾解决威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 财运不佳的财运改善威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 缺心眼的原因分析咨询【σσЗ8З55О88О√转ihbwel 化解【微:qq383550880 】√转ihbwel 前世因果化解方法【企鹅383550880】√转ihbwel 强迫症的案例分享【企鹅383550880】√转ihbwel 强迫症的治疗方法【微:qq383550880 】√转ihbwel 冤亲债主干扰的心理影响咨询【www.richdady.cn】√转ihbwel 家庭关系的改善方法【σσЗ8З55О88О√转ihbwel 灵魂化解的步骤【σσЗ8З55О88О√转ihbwel 内心恐惧胆怯的解决方法【www.richdady.cn】√转ihbwel 2015金融信息安全峰会 怎么做病毒营销方案 定制网站案例 网站群系统 微信营销引流 珠海网站设计报价 信息安全管理人员 国标 营销服务商 网络安全宣传页 香港网站建设 手机网站开发视频 网站优化过度的表现 临朐做网站 一、一个甜品网站建设目标 信息安全与服务 网站色彩的搭配原则有哪些 网络营销大学课件ppt 温州微网站制作哪里有 网站理念 娃哈哈网络营销分析 微信营销引流 大型网站建设 哈尔滨做网站电话 企业网络合作营销案例 信息安全服务平台架构 大网站建设 网站网格 网络营销策划推广方案 乐营销平台 沈阳网站优化排名 用别人的网络安全吗 网络安全的第一道防线是网络安全防护公司 太原网站优化 营销服务商 seo优化网站建设公司 沈阳网站优化排名 网站设计软件 怎么做病毒营销方案 国家信息安全等级认证证书 信息安全防护规范 b2c网站建设 郴州网站建设 营销型网站推广方式的论文 个人教学网络营销 网站设计学习 网络营销效果评价指标体系 中国信息安全法律网 微信营销最新资讯 信息安全体系 2015金融信息安全峰会 提供常州网站推广 网站移动站 网络营销的收获 网站设计学习 seo优化网站建设公司 信息安全学编程 win10 360网络安全防护 香港网站建设 网络安全产业报告 b2b网络推广营销 珠海网站设计报价 汕头网络营销公司排名 营销服务商 企业网站制作 徐州 郴州网站建设 网站优化过度的表现 绥化网站建设 大连做网站的企业 网络营销搜索引擎规划 保持和改进信息安全的体系是一个组织整体管理体系的一部分. 网站网格 信息安全有限公司排名,-1网店营销推广课程总结 何为信息安全二级等保 一、一个甜品网站建设目标 网站线框图 定制型网站 杭州市信息安全协会 网站群系统 信息安全与服务 网络安全意识培训 大良营销网站建设平台 网站色彩的搭配原则有哪些 网站色彩的搭配原则有哪些 网络营销搜索引擎规划 中国信息安全测评中心 漏洞 定义 杭州市信息安全协会 huang色网站 网络营销大学课件ppt 上海网站建设系统 安丘做网站 javascript实现网站顶部出现几秒后图片缓慢消失的效果 温州微网站制作哪里有 韩都衣舍网络营销效果 天津做公司网站 汕头网络营销公司排名 网站理念 一、一个甜品网站建设目标 linux网络安全设置 京东网站的营销策略 聊城网站制作价格 企业网络合作营销案例 网站设计学习 2016年信息安全大会信息安全保障系统,-1 win10 360网络安全防护 免费申请网站 营销型网站推广方式的论文 搜索营销公司怎么样 web网络安全 珠海网站设计报价 信息安全中的des加密算法 深圳做h5网站设计 哈尔滨做网站电话 成都建网站 滁州网站设计 滁州网站设计 企业网络合作营销案例 重庆整合营销价格 珠海网站设计报价 网络营销成本低的原因 信息安全相关图片 网络安全主体检测平台 国家网络安全学院 武汉 武汉网站程序 网站版面设计 免费网站申请 dell网络营销案例 网络安全专家 杨卿国家信息安全检测个人服务 网站网格 杭州专业做网站的公司病毒营销公式 网站栏目排序 企业手机网站建设流程 网络营销策划推广方案 黑龙江网站建设 旅行社网站模版 成都整合网络营销招聘