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

<a class="close" href="https://xbv.panvpn.cn/">&times;</a>
阿拉丁营销专家真假网站负责人建网站视频手机网站模板开发网络安全.需要哪些技术小米海外代理营销模式上海交通大学信息安全服务技术研究实验室博客营销细节网站文章图片加标签加小米手机网络营销推广男主时律是个杀手,并且不得已娶了一个他不爱的富婆(赵琴琴),后来仇家寻仇,赵琴琴发现时律身份,震惊之余拼死保护时律,在这时时律发现自己早就喜欢上了自己的妻子,但为时已晚,二人双双死去。一阵天旋地转之间,时律睁开眼睛,看着自己的富婆妻子,嘴一撇:“老婆。”赵琴琴呆在原地,他从未叫过自己老婆,从此,杀手和富婆开始了没羞没躁的快乐生活。 为了逃婚,他随便找了个美女合租,不料她竟是自己未见过面的未婚妻。 为了赚钱,他信手炼制了几枚丹药,不料竟做成了天下第一的医药公司。 为了修行,他顺手收了几个女徒弟,不料她们竟都有着惊世骇俗的身份。 为了救人,他甘愿自废一生之修为,不料所救之人竟是艳绝天下的女帝。 为了复仇,他勤修苦练至大功告成,不料最大的魔头之主竟是……辛强高中毕业后,为了考大学,得了一场大病,三次在市解放军陆军医院精神科治疗。 以后为了考成人高考,打县长进了看守所,姐姐在市中级法院上诉,辛强在无罪释放。 最后,辛强终于毕业于省财贸干部学院,求学的梦才实现了。 两年后,被军中战友称为“狂神屠灭者”传奇战神的特战兵王江晓如约归来,面对人事皆非的境况,该如何取舍,面对一步步浮出水面的暗黑真相,又该如何抉择! 世间的真爱该如何诠释,人间的正义又该如何解读。 孤儿江晓与独女简雯在一个城市读书,相恋四年,彼此深爱,毕业时江晓为追寻自己儿时便已植根内心深处的梦想做了一个让简雯无法理解也很难接受的决定,选择入伍。入伍临行前,两人定下两年之约。 两年后,成为特战兵王的江晓为两年之约离开了那片让他挥洒过无数血和汉承载着作为军人荣耀的火热军营。 回来后,却发现外面的世界已经不是自己认识的那个样子,简雯也变得如此陌生,所有的一切已人事皆非…… 不甘心的江晓不相信所看到的一切,化身“大侦探”的江晓随着调查的深入,一步步发现原来事情远没有自己想的那么简单…… 爱恨交织,黑白无道。 为守护爱和正义,江晓一步步走上了孤勇的战斗之路……传说中的神话人物是否存在,如果存在,他们现在又在哪里?如果不存在,那我又是谁?行走在黑夜中,谜团,不断地被解开,又不断的出现,真相最终展现在眼前时,竟那么悲壮。“靠,无语死了。”王昊一觉醒来发现自己做了个梦……现在,他成真了。没错,他重生到了这个叫做地球的世界。农村的环境,周围复杂的关系,艰苦的条件……直到市重点,校草……。“呵,我王昊怎么说也算是半天尊级的人物,从小到大我还真没有怕过谁,这一辈子,我要活出该有的风采……”。连着9年失业9次的白露, 意外获得了自主创业大礼包。 从没做过饭的白露,因此支起了烧烤摊。 有笑。有泪。 让我们左手辣椒,右手孜然, 烤出一一个烟花人间。江波重生了! 前世的他,庸庸碌碌,错过了应该珍惜的一切! 上天既然给了他重生一次的机会,他要凭借上一世的经验和记忆,成为最年轻的金融天王!全球第一股神!吊打华尔街金融大鳄。 江波:“钱只是身外之物,我的女人,才是我的一切!” 【单女主文】不明日,灵气聚散,孕一神明,混沌始开。 清上浊下,天地得以开分。 绝地天通,分九重天,地十八层。 不周断,妖兽四起,尸山血海,民不聊生。 祖龙化力,平妖兽之乱,助秩序重修,现龙门、起天山,灵气借而复苏。 灵气始然,百家争鸣,拳脚技法、刀剑步招、丹药法门,皆而传之。 每逢十八,三界分合,灵气完足纯厚。 上天山,入重天,可获机缘,经劫难,入九重天,可为上神。 飞禽走兽,跃龙门,亦得造化。 妖兽鬼魅、近夜而行、夺精魄血肉、以逆天而修,堕入地浊,为大妖,称阎罗。 修士十八为修,替天行道,赶早悟化。 平常人家,不入不扰,食烟火、练拳脚,安之乐之。 周而复始,仙运再临,且看有缘者,乱世沉浮,得造化,显神通。 李复,一个22岁矿工,末世发生后偶得地下避难所系统。 他在地下造房收租,造餐厅有肉吃,造水厂有干净水用,造武器武装幸存者,造基因库帮助幸存者进化突破。造药房便宜出售,你在别的地方买不到的药我这里都有。 李复地下城的租客任何人见了都要礼让三分,说不定租客就身负超级血脉。 想住进李复的地下城吗?想过神仙般的日子吗?那就看你有没有那个运气了!
九台网站 网站推广的目的 自建网站 信息安全技术研究中心,-1 我想建网站 专题网站建设策划 用自己电脑做网站 dns 番禺网站建设专家 婚纱摄影网站设计 个人电脑网络安全 如何改善亲子关系?咨询【www.richdady.cn】 与女友前世的前世解析咨询【www.richdady.cn】 心特别累的原因分析【www.richdady.cn】 婴灵的超度与家庭和谐咨询【www.richdady.cn】 儿子不读书咨询【www.richdady.cn】 亲子关系的教育理念咨询【微:qq383550880 】√转ihbwel 婴灵的超度与化解咨询【www.richdady.cn】√转ihbwel 前世今生对现世的影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心特别累的情感释放咨询【σσЗ8З55О88О√转ihbwel 孩子不爱读书的阅读计划咨询【微:qq383550880 】√转ihbwel 大龄剩女的自我提升咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 事业不顺的职场建议有哪些?咨询【www.richdady.cn】√转ihbwel 无形干扰的原因分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 婴灵的安抚有哪些实用技巧?咨询【www.richdady.cn】√转ihbwel 事业不顺的职场提升路径有哪些?咨询【www.richdady.cn】√转ihbwel 自闭症的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 去世的父亲的前世案例【微:qq383550880 】√转ihbwel 纠纷的调解技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主的干扰影响咨询【www.richdady.cn】√转ihbwel 家庭关系的改运方法咨询【σσЗ8З55О88О√转ihbwel 网络营销实训课程 乐清英文网站建设 自建网站 响应式网站工具 太原建网站的公司 天津网站开发 做门的网站建设 动易做网站 舆情营销 国家网络安全信息小组 专业网站建设公司 网络营销及就是seo 免费的网络营销手段 重庆网站开发公 博客营销细节 网络安全能力认证考试 顺德做网站的公司 网络安全预算信息安全企业排名,-1 上海网站推广公司 网络安全艺术字 小米手机网络营销推广 河北手机网站制作企业 中国网络安全基地 网络安全宣传要求 天津网站开发 全网营销顾问 设计网站需要什么条件 专业网站建设公司 北京建设网站图片 郑州网络安全审核 上海交通大学信息安全服务技术研究实验室 网络营销策划机构 小米手机网络营销推广 上海网站推广公司 网站负责人 网络营销工具分为沟通类和什么 怎么微博营销推广 网络安全.需要哪些技术 舆情营销 在线营销型网站 龙岗网站制作效果 乐清英文网站建设 顺德做网站的公司 网站的广度 互联网与网络营销 网络安全关注的问题有哪些方面 郑州网络安全审核 苏州做网站公司 乐清英文网站建设 常州企业网站建设 专业网站建设公司 滕州网站优化 营销帮手4.0官方网站 互联网信息安全问题主要来源 网络安全热点问题 国际网络安全立法情况 贵阳网站seo 中山做网站的公司 郑州建网站公司 义乌做网站 网络营销及就是seo 信息安全技术研究中心,-1 博客营销细节 建网站视频 成都建网站公司 北京建设网站图片 网站的广度 互联网广告营销特点是什么意思 婚纱摄影网站设计 微信社群推广营销方案 个人电脑网络安全 龙岗网站制作效果 360wifi网络安全密钥 互助网站制作公司 东莞营销网站制作 番禺网站建设专家 福州优化营销 信息网络安全等级保护工作自检自查报告 网络安全课程app 佛山新网站建设特色 互助网站制作公司 长沙网站建设 网站文章图片加标签加 360wifi网络安全密钥 360wifi网络安全密钥 五种网络营销方法 网络安全与大学生网络营销在我国的发展现状分析 电子网络营销渠道 福州优化营销 网络安全关注的问题有哪些方面 要做网站 陕西网站建设多少钱 互助网站制作公司 做个网站多少钱 阿拉丁营销专家真假 互联网产品营销 网络安全能力认证考试 公司网站开发制作 找人做网站 2017 网络安全 宣传 无锡网站推广 中山做网站的公司 营销行业学院 广东网络安全执法 做网站价格 网络安全工程师和黑客 设计网站需要什么条件 整形美容医院网络营销 上海网站推广公司 北京建设网站图片 南京营销型网站 2016网络信息安全事件 国家信息安全师 公安部 uiwebview网络安全配置 公司网站开发制作 网站设计品 商城 静态网站模板 营销行业学院 顺德做网站的公司 南京营销型网站 郑州医疗网站建设 信息网络安全等级保护工作自检自查报告 九台网站 企业展示型网站怎么建 我想建网站 南京做网站的有哪些 问答营销案例是什么 网络营销策划机构 信息网络安全等级保护工作自检自查报告 国家网络安全信息小组 免费的网络营销手段 营销服务 网站如何备案 网站推广的目的 郑州建网站公司