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

<a class="close" href="https://vzg.2254.com.cn/">&times;</a>
衡水网站建设qq营销的优缺点婚纱摄影网站制作注册信息安全人员新乡网站建设网站seo外链营销推广介绍信息安全实训,-1上海信息网络安全备案中央网信办网络安全协调局本作品讲的是一个不知名的小人物一步一步成为仙界至尊武道巅峰的故事李天命做梦都要笑醒了。他家的宠物,竟然都是传说中的太古混沌巨兽! 他的家鸡,是以太阳为食的‘永恒炼狱凤凰’。 他的黑猫,是以雷霆炼化万界的‘太初混沌雷魔’。 连他家的小强,都是拥有万亿不死分身的‘万界永生兽’…… 从此,他驾驭十头太古混沌巨兽,化身万古第一混沌神灵,周游诸天万界,镇守无尽神域。万物魔灵,诸天邪魔,连爬带滚,哀呼颤抖! 能斩敌人百万雄师,却对她无能为力! 妻!是我的妻!    怨我、恨我、仇深似海! 无论如何弥补,都无法填平,婚前抛弃带给她的蚀心伤害! 这一生,只为获取她的原谅,哪怕是……    每一天都发狂! 意外穿越,自带外挂? 弱肉强食,适者生存? 修仙世界就没有人权? 看周奇如何在天玄大陆混的风生水起。 若无法,我来定。 若无正义,我来伸张。 若无将来,我来探寻。 帝令一出,万族臣服,莫敢不从…… 秦王政三十六年! 赢长生意外穿越大秦,成为千古一帝秦始皇最小的儿子。 此时正值秦始皇第六次东巡,按照历史,始皇将于明年驾崩,届时秦二世胡亥上位,屠戮兄妹。 这也意味着,嬴长生即将命不久矣。 穿越就要凉,这简直地狱开局啊。 我一个八岁熊孩子怎么可能对付的了赵高、胡亥! 【叮!国运系统已经激活!】 【本系统与大秦国运息息相关,宿主每当做出改变大秦国运的事情,便能获得相对应的国运值和奖励!】一段爱恨情仇,一代精神领袖,横跨三界,携美女畅游九州,奋战疆场,金戈铁马,策马奔腾,穿越万里河山,与夏王开华夏一统,与褒姒调丝竹之情,领勇士救刘邦,出入汉宫,霓裳羽衣,再现华夏文明,助太宗杀兄泡嫂,与李治共享武媚,环肥燕瘦,皆出其手,他,是英雄、是败类、是奸雄、还是淫贼,上下五千年,皆无定数,一切皆有后人评说……云逍死后魂飞天际时震撼发现:他生活了十六年的浩瀚人间,形状竟像一座坟墓!坟下一尊太古铜棺,大如沧溟,魔气滔天,一座座陆地都是棺上一抔抔黄土,万万亿活人竟在坟土中繁衍生息!巨棺内一具仙尸,其眼如地府,口若黄泉,头发似苍龙,身体像百万山脉。不知何方仙神,万古长眠于此! 少年冤魂不灭,遁入仙尸还魂重生,以世界天柱为剑,以浮生大陆为符,一人一棺杀穿仙路,通天证道! 男主因一场事故转世来到平行宇宙,开始了他的第二世,本书就是叙述了他的第二世生活。少年紫宸用一命认清兄弟,机缘遇雷元复生,得炼体法诀,踏上强者之路。 雷电淬圣体,造化铸天途!以坚韧之心,踏雷武巅峰! 新书《万道神帝》已经上传。滚滚长江东逝水,浪花淘尽英雄。是非成败转头空,青山依旧在,几度夕阳红 悠悠太湖南望美,巾帼不让须眉。恩怨分明无忌讳,名利皆可休,志气侠中留 唯一指定微博——千兴言的微博 【首创文游联动与MOBA+MMORPG结合,原著IP真诚改编,灵仙江湖,不忘初心!镖门5v5,道教、武教、术教、魔教四大门派,武士、侠客、刺客、术士、远手、道士六大职业,六界种族,国风水墨画大地图,古风纯曲调,传统武术与术士功法,镖局、萌宠、婚姻、轻功、飞行等各大系统,顶级3D引擎制作。灵仙江湖,与你相约!】 白发渔樵江渚上,惯看秋月春风。一壶煮酒喜相逢,古今多少事,杜付笑谈中 请君暂上天一阁,且听说书几回。红尘纷扰一笑醉,什么万户侯,不敌酒中肉
制作房地产网站页面 广东 网络安全 中国网络安全峰会 信息安全 ssl 网络安全和软件开发 网络安全公众号 网络信息安全产品 太原seo网站建设 武汉互联网整合营销 信息安全产品强制认证目录 耳鸣的解决方法【www.richdady.cn】 前世缘份的前世今生咨询【www.richdady.cn】 去世的母亲的前世因果咨询【www.richdady.cn】 孩子压力大的咨询技巧【www.richdady.cn】 什么原因意外的前世记忆【www.richdady.cn】 意外的原因分析【σσЗ8З55О88О√转ihbwel 前世老婆的前世案例咨询【微:qq383550880 】√转ihbwel 暗恋的心理调适【www.richdady.cn】√转ihbwel 与男友前世的识别方法咨询【σσЗ8З55О88О√转ihbwel 前世缘份的续写有哪些方法?咨询【微:qq383550880 】√转ihbwel 感情纠纷的情感调解咨询【微:qq383550880 】√转ihbwel 心特别累【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的轮回解析咨询【微:qq383550880 】√转ihbwel 孩子不爱读书的原因有哪些?【σσЗ8З55О88О√转ihbwel 与老公前世的咨询技巧咨询【企鹅383550880】√转ihbwel 与老公前世的故事分析咨询【微:qq383550880 】√转ihbwel 投资项目的自我提升【企鹅383550880】√转ihbwel 孩子学习不好的辅导方法咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 官司的心理调适咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 耳鸣的前世因果咨询【微:qq383550880 】√转ihbwel 信息安全审查 莞城网站制作 阳谷建网站 信息安全等级保护基本要求培训教程,-1 欧盟网络安全法律 网络安全 钓鱼网站 信息安全专业中国大学排名 多语网站 开县网站建设 网站建设成本 江苏省信息安全等级保护网 网站和后台 北京事件营销公司 金融行业信息安全基线 南宁会员网站制作 网络营销在我国的发展 长春专业网络营销公司 1网络安全防护技术主要包括( ) 网站建设信息 网络安全培训过程 商城网站建设机构 双十一营销手段有哪些全网营销方案及布局 北京事件营销公司 北京做网站公司 广州网站设计公司排名 信息安全审计含义 金融机构网络安全风险评估 信息安全测评资质条件 网络安全和协议 个人网络安全的重要性 购物网站推广 网站建设网站推广广州网站维护 信息安全cisp 优优营销软件 为什么有些网站搭建的是php其所有网页均已.htm命名 中国信息安全测评中心华中测评中心 网络安全性评价 信息安全咨询公司名称,-1 国家网络安全标准化 商城网站都有什么功能吗 信息安全是程序员吗 注册信息安全人员 如何建设好英文网站 网络安全 钓鱼网站 第三方信息安全评测网站营售 乐清网站推广公司 影楼高端营销方案研发 网站建设成本 网络信息安全教学实验平台 网络安全备案表 南宁会员网站制作 武汉互联网整合营销 华为 网络安全 网站seo外链 电商营销公司做什么的 网络安全 端口扫描 网络安全管理小组 网络安全攻防课程 乐清网站推广公司 全国信息安全法规 欧盟网络安全法律 微博网络营销软文 个人网络安全的重要性 国家网络安全制度 东阳网站建设 win7网络安全模式上qq 网站设计 深圳 网络安全和软件开发 饥饿营销模式概述 工控网络安全烟草方案 长春专业网络营销公司 武汉互联网整合营销 总裁营销学 第三方信息安全评测网站营售 网站建设 上市公司 网站做好了每年都要续费吗 婚纱摄影网站制作 网站建设信息 网站制作培训 公安机关信息安全规范 高校网站首页设计 对网络系统而言信息安全主要包括信息的存储安全和信息的什么安全 太原seo网站建设 网站制作培训 开县网站建设 北京事件营销公司 信息安全cisp 网络安全现场活动 加强个人网络安全意识 欧盟网络安全法律 高校网站首页设计 网络安全概述 ppt 如何设置网站图标 网络安全和软件开发 优优营销软件 顺德网站建设公司信息 天猫营销词 贵阳营销型_网站建设 网站建设信息 金融机构网络安全风险评估 淮安做网站 网站做好了每年都要续费吗 江苏省信息安全等级保护网 网络安全信息安全 个人网络安全的重要性 开县网站建设 阳谷建网站 新乡网站建设 1网络安全防护技术主要包括( ) 信息安全资质认证申请,-1 营销型网站设计招聘 网络安全公众号 网址制作网站 广州手机网站定制信息 网站 体系 需要郑州网站建设 信息安全产品认证 清单 2014 北京欢迎你网站制作公司 商城网站都有什么功能吗 信息安全产品认证 清单 2014 信息安全资质认证申请,-1 金融行业信息安全基线 淮安做网站 win7网络安全模式上qq 首例网络安全法 办公室 信息安全工作职责 西安专业网站建设服务 国家网络安全报告 概括 病毒营销特点 乐清网站推广公司 成都网络安全培训机构 第三方信息安全评测网站营售 营销推广要点 网络安全备案表 网络安全 端口扫描