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

<a class="close" href="https://wyply.mafeng.net.cn/">&times;</a>
app和微网站的区别网络安全什么工作深圳网站平台网站架构图信息安全是一个专业2015广东省信息安全珠海电商网站制作邮件营销沈阳开发网站的地方国家信息安全发展信息安全技能培训少年是一个被黑帮老大捡回来的孩子。在他可能三岁没到的时候吧,具体的年纪他自己也不知道那会儿他成天在横滨的唐人街附近晃荡,以靠翻垃圾为生。他是中日的混血,但是父母出于双方家庭背景的压力将他抛弃于唐人街。没人教过他说话,所以他只会说一点简单的汉语和日语,但甚至还不够沟通。在一天,月黑风高的夜里,那天是6月6。对于西方来讲非常不吉利的日子是恶魔之日,黑手党的老大,无意间在垃圾箱里看到了一个孩子。不知是出于什么心情,竟然决定将孩子收养。日后这个少年成长的迅速,很快就成为了黑帮老大手下的一名得力干部。他还有一个朋友叫做司空,负责于他们党里的器械,枪械保养管理,检查,交易。司空这个人可真是一个武器,狂热爱好粉呢。后来他们执行了一场人物,发现了一个神奇的收获。对不起啊,萧儿,没想到这最后的最后,我依然还是没能找到那个我想要的答案呢!或许人都会在生命即将迎来终结的那一刻彻底醒悟,但我想,可能那时已经有些晚了吧! 我们之所以会觉得悬崖边上的花很美,并不是它本身有多么耀眼,是因为我们总会在悬崖边枉然止步,而花朵则会向着空中迈出属于他那成功的第一步。 到这里,我的故事,也终于是····结束了!虽说这结局好像看起来的确····很难····让人接受呢! 这是父亲当年临走时留下来的话,的确很难让人理解,不过······ 身边的种种怪事在一夜间接踵而至,这一切假象的背后到底又掩盖着一个怎样的真相,各种谜团接连不断的笼罩而来,这幕后的操刀者究竟又是人是鬼,故事还在继续———我!又怎能后退! 菩萨低眉,所以慈悲六道! 撒旦低头,所以血流成河! 以撒旦之名,专职杀戮,他要当最强的那个男人! 最燃的都市,且看一个男人如何成就霸业,成为傲立巅峰的一代传奇!   【七少出品,铁血霸气】 撒旦军团群:198247503 只是简简单单的打一场排位,结果却穿越到联盟大陆还成了托儿索。他知道自己想要什么,但他也知道自己该守护什么,底线是什么,靠着一帮兄弟挺起来,靠着大哥的教育,靠着大哥还有各路贵人扶持,一步一步的得到自己想要的,却也失去一些自己曾经拥有的大正年间,恶鬼横行。卖炭少年灶门炭治郎的家人被鬼所杀,妹妹也变为鬼,炭治郎为拯救自己的妹妹以及为鬼所害的人们,加入鬼杀队的故事。战斗已经到了关键的时期,人类终将与鬼作最终的战争,奇异的无限城、强悍的鬼月、以及鬼王—鬼舞辻无惨的秘密慢慢地明了,炭治郎将会与同伴一起,与鬼做最后的斗争。 本书改编自《鬼灭之刃:无限城篇》本书将会重启鬼灭之刃的序幕,其中会掺杂一些本人改编(或是添加)的术式,如有不同,敬请见谅爷爷宁愿坐牢十年,都死守的秘密。 终于在十年后, 重见天日,我传承爷爷的秘密,揭开了那些不为人知的往事……杨默来到到自己构思的小说世界里,在变强的路上遇见了诸多世界的乱象与不公,杨默决心用因果编订律法改变这个世界,却在处理顶级势力之时陨落,好在他留有后手,并未完全陨落!随后有一名少年得到了杨默留下的传承,此时正值界外有邪灵入侵,在与界外邪灵的对抗中少年飞快成长,而各大顶级势力却死伤惨重,少年在达到一定实力时开始复苏杨默,少年和杨默一起修炼因果大道,在修炼到最高境界后开始狩猎顶级势力,在漫长的杀伐后,二人终于得偿所愿,用自身的因果大道编订了玄元世界的律法,开创了一个新世界!大乾末年,工业革命刚刚完毕,天下大乱,帝国第一纨绔、当朝皇帝的外甥、帝国三等侯爵高绍义忽然觉醒了地球的记忆,本以为可以娇妻美妾,继续纨绔下去,但现在的大乾帝国风雨漂泊,外有强敌,内有昏君,保命都是个问题,高绍义无奈走上自强之路,卖了祖产开启武器兑换系统。 嘟嘟,恭喜宿主兑换成功98K两千只。 嘟嘟,恭喜宿主兑换成功155毫米重炮20门。 嘟嘟...... 靠武器兑换系统和自己的聪明才智,高绍义对内铲除奸臣,对外四处征战。 平原上数万坦克装甲车如万马奔腾一般。 海洋上百艘航母为首的三大舰队为帝国签下数百份不平等条约。 高绍义大手一挥,三军踏平一切胆敢抗天朝者! 宇宙中人类也只是一抹看不见的尘埃,数百亿年前的地球是否有着同样的文明,又为何消失。 时光倒流回到如今或者过去,你是否会后悔曾经的选择,或者你想改变什么。 时光如火苗刹那的流光便是千百年,星空下又有多少未知的文明世界,是否各种结局早就已经注定。 是人类,还是未来科技,或是其他的文明在谱写宇宙中的轨迹与衡和。 地球仅仅只是宇宙中的一粒尘埃。 那为何你我一样在争渡,渡什么,过去,还是未来,或者是现在。
微博营销劣势 信息安全内审员培训 网络信息安全监管方案 百度知识营销审核 传统市场营销理论 网络营销的作用是什么意思 免费网站注册永久 国标 信息安全 双色调网站 网络信息安全 撤销网站 心特别累的心理调适咨询【www.richdady.cn】 前世缘份的识别方法咨询【www.richdady.cn】 迟缓儿的家庭支持【www.richdady.cn】 外灵的预防措施咨询【www.richdady.cn】 潜能开发与自我提升【www.richdady.cn】 升迁障碍的职场转型技巧有哪些?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 老公家暴的原因分析咨询【σσЗ8З55О88О√转ihbwel 维护良好家庭关系的秘诀咨询【www.richdady.cn】√转ihbwel 前世今生的轮回传说【www.richdady.cn】√转ihbwel 前世缘份的案例分享咨询【微:qq383550880 】√转ihbwel 投资项目的环境影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 孩子压力大的解决方法咨询【www.richdady.cn】√转ihbwel 缺心眼的原因分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 构建和谐亲子关系的方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与女友前世的咨询技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与女友前世的故事分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婚姻生活不顺的前世因果咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的母亲的前世缘分【www.richdady.cn】√转ihbwel 如何改善亲子关系?【σσЗ8З55О88О√转ihbwel 如何改善人际关系咨询【σσЗ8З55О88О√转ihbwel 美国 国家信息安全战略 国家信息安全等级第二级保护制度 免费网站注册永久 传统市场营销理论 大学生网络安全知识竞赛 产品型网站 重庆网络营销战略设计 怎么建网站 网络营销第一层是什么意思 网站建设导航栏设计 国家注册信息安全专业人员 国家信息安全发展 什么是网络营销品牌 双色调网站 黑客入侵 网络信息安全 企业网站案列 形象型网站 网络效果营销哪家好 淘宝服务营销策略 旅行行业网络营销策划 员工网络安全培训 网站规划与设计 网络安全与防护实验报告 如何考取网络营销师 价格营销策略 微信营销号的劣势 深圳网站平台 昆明网络营销推广 信息安全的原则有哪些 网站制做 什么是信息安全管理 重庆全网营销 信息安全的认证中心,-1 2017信息安全大事件 电子政务网络安全研究 模版型网站 如何利用网络平台营销策略 如何利用网络平台营销策略 美国 国家信息安全战略 网络营销经理 玩具外贸网站模板 传统市场营销理论 银行业 信息安全事件 大疆网站建设 信息安全有哪些权威证书 网络营销第一层是什么意思 优秀个人网站欣赏 信息安全内审员培训 深圳网站营销公司网络安全基础操作 信息安全导师 怎么建网站 网站制做 搜索引擎营销的 淘宝服务营销策略 什么是信息安全管理 许可营销工具有哪些 信息安全cnas认证证书 网站的费用企业如何做网站建站 国家信息安全等级第二级保护制度 呼市推广网站 国家信息安全发展 整合网络营销方案 微网站页面 字典营销 网络安全监控 国家信息安全等级第二级保护制度 2017信息安全大事件 网站如何申请微信支付 网站架构图 网购网络营销基础知识 网络营销第一层是什么意思 专业的外贸网站建设公司 牛肉干营销 邯郸做网站 酷网站欣赏 公司建网站 信息安全特性相应的技术手段,-1 模板网站与定制网站区别 网络安全包括系统安全和信息安全 星巴克微信营销现状分析 互联网金融网站建设 2017新网络安全法 关键营销 国家信息安全发展 如何认识互联网营销 外国黄色网站 外贸公司网络营销 态势感知 网络安全 网站的费用企业如何做网站建站 深圳营销型网站建 大疆网站建设 双色调网站 旅行行业网络营销策划 有哪些网络安全机构 信息安全知乎 汕头网站建设公司 黑客入侵 网络信息安全 网站建设导航栏设计 企业营销成功案例展示 网络搜索引擎营销案例 企业网站案列 企业网站案列 网络安全证明 深圳网站营销公司网络安全基础操作 形象型网站 2015广东省信息安全 企业建网站 怎么获得网络安全资质 网络效果营销哪家好 下载信息安全管理 邮件营销 网站规划与网站建设 app和微网站的区别网络安全什么工作 微博营销劣势 网络安全包括系统安全和信息安全 上海高端网站建设 模版型网站 公安网络安全保卫培训 信息安全等级保护测评方法,-1 无锡营销协会 2014 网络安全 事件 淘宝服务营销策略 外贸公司网络营销 信息安全身份认证技术 清华信息安全网络安全 天津网站建设包括哪些 信息安全的原则有哪些 信息安全竞赛 作品 网站优化 通过提高wed可用性构建用户满意的网站 pdf 济南网站建设公 网络安全设备分类 电子政务网络安全研究 上海市网络安全办公室 公告网络安全 企业营销成功案例展示