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

<a class="close" href="https://vmvw.1429.com.cn/">&times;</a>
合肥网站制作报四川互联网营销e_mail营销方法南京网络营销外包云网站系统昆明做网站龙岗 网站建设咨询营销信息网络安全员信息安全产品销售,-1验证码 网络安全 约尔:先生我们的飞船已经离开本宇宙了。 男子:好的,我们继续航行。 约尔:了解,先生。但是不唤醒佳爱琉没问题吗? 男子:我是故意把她留下来的。等她醒了之后会追上我们的。 约尔:明白,先生。 ........七年之后 约尔:先生我们到达新宇宙了,根据检测这里是一个魔法宇宙。 男子:传说中的魔法宇宙吗,找个世界降落吧。 约尔:好的,先生。 顾江海有些困惑,不过是加班回来睡了一觉。怎么睁开眼睛之后世界就变了样子。 街上突然路人下手的红眼人、夜晚互相撕咬的怪物、路边的变异植物、会喷火的老虎..........还有复杂的人性。 无论世界怎么变化,活下去才是当下最重要的事情。 秦凡为救老婆,不得已暴露自身能看到宝物气息的能力,不断捡漏,只要是宝物,在秦凡的眼中都无所遁形,因此引起各方势力的注意,破真伪,看人心,鉴宝捡漏,玩转人生……异宝降世,引修行者争夺,陆丰年幸得一灵瞳,从此可观天地灵气流向,探器灵记忆,获无数功法神通。 “哼哼,我的命运只于手中剑,何人胆敢说半分。” 他不相信仙人救世,但是他相信自己。若行事有违天道,那么便凌驾于仙魔之上,与天论道。这是个修行琴棋书画就能够获得文气,修炼文道的世界。 在这里挥笔可化万千利剑,杀人无形,弹琴可化天地大道,镇压万世。 读书人口诛笔伐,可化唇枪舌剑,以画勾勒诸天万道。 秦尘心言出法随,才气化剑,笔化龙蛇,开口便是天地规则。 我携三千诗书,可练就无上文道,成就万古圣人。本书描写了葛二两跟师父须菩提学了三十六般变化和高超的武功,携孙悟空、猪八戒、关羽关云长穿越到亘古洪荒的年代,帮助蚩尤和黄帝争夺天下的故事。血腥残酷的修真世界,实力为尊,崇尚武力,凡人皆为蝼蚁。想要站到世界的最巅峰,孤儿院长大的他,如何做到?卖力苦修?拜入修真大派?还是寻得名师?统统都不是,偶得万界供应系统统加身,开挂人生由此开始,修炼、金钱、宝物、丹药诸多资源随手可得。从此开始了火箭般的成长之路,从一介凡人蜕变为修真巨贾,不过弹指间。 有个从来抓不到鬼的小道士还俗了,大婚这一天,师兄弟没有一个到场的,全城的鬼却都聚在了婚礼的上空,想替这个总是心肠很软、碎碎念很唠叨、最后却娶了个小狐狸的小家伙挡一道雷劫,毕竟啊,人妖殊途,可是那天啊,晴空万里,什么都没有发生。穿越到大乾王朝的陈河,入赘叶家,本想着这辈子要不做个赘婿吧。   混吃等死算了。   谁想到新婚妻子娇艳如花,奈何天生体弱,红颜多薄命。   一本《伤寒论*小青龙汤》救了新婚的妻子。   一本《本草纲目》本奉为万世医典。   《神农本草经》济世悬壶,引得天下医道追逐。   多年以后,看着自己的济贤堂开遍大乾,陈河本想着这辈子也就这样过吧,娶个七八房媳妇,生个十几个娃,但没想到大乾内乱。   一纸诏令直达应天。   宣:陈河入宫!修行路坚,逼人成狂 我愿以此生所有,换一刀以杀敌; 愿手中万千剑影,护你伴我同行
湖南长沙网站建 信息安全设计规范 中国网络安全年会比赛 手机网络安全论文 2014 网络安全事 上海网站设计开 营销网址 免费的网站 石家庄网络营销 网络营销在哪些行业国内欣赏电商设计的网站 去世的母亲的前世因果【www.richdady.cn】 心特别累的案例分享咨询【www.richdady.cn】 为什么过世的前世案例【www.richdady.cn】 婴灵的超度仪式如何进行?【www.richdady.cn】 前世缘份如何影响今生?【www.richdady.cn】 婴灵、邪灵、祖灵咨询【企鹅383550880】√转ihbwel 意外的原因分析咨询【www.richdady.cn】√转ihbwel 意外事故的预防措施咨询【σσЗ8З55О88О√转ihbwel 大龄剩女的情感生活如何改善?威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 冤亲债主的干扰与化解【σσЗ8З55О88О√转ihbwel 财运不佳的改运技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的故事如何影响现代生活?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系的咨询技巧咨询【σσЗ8З55О88О√转ihbwel 为什么过世的前世影响【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系改善建议【微:qq383550880 】√转ihbwel 心理咨询与灵性指导【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的和谐共建方法有哪些?【σσЗ8З55О88О√转ihbwel 人际关系不好的沟通技巧【σσЗ8З55О88О√转ihbwel 儿子不读书【www.richdady.cn】√转ihbwel 婴灵的前世今生咨询【企鹅383550880】√转ihbwel 咨询营销 最新网络安全故事 餐饮 网络营销工具 网络安全情况通报 什么是整合营销? 2014 网络安全事 完整的营销调研问卷 国保联盟信息安全技术,-1 网络安全+招聘 湖南网站优化 信息安全的发展阶段 网络安全软件推荐 长沙网络营销学习网 长沙专业做网站 seo营销 网络世界 网络安全 网络营销推广职业规划 网络安全外包公司 广州外贸营销型网站 信息安全对嵌入式攻击 可口可乐的成功营销 网络安全部署情况 湖南长沙网站建 四川互联网营销 全国专业信息安全服务资质咨询公司,-1 营销型网站的例子 网络安全软件推荐 餐饮 网络营销工具 南通网站建设seo 景区网络营销策划 重庆整合营销哪家好 信息安全最佳实践 国家信息安全等级第二级保护制度 信息安全证书查询 南京网络营销外包 信息安全产品销售,-1 我国网络安全形势 信息安全评测费用,-1 四川互联网营销 网络安全情况通报 信息安全最佳实践 湖南网站优化 湖南长沙网站建 单网页网站 网站权重低 金融行业信息安全事件 单网页网站 我国网络安全形势 信息安全软件有那些 网络安全的形势 无锡企业网站制作公司 营销网址 网站建设教程 web安全和网络信息安全 深圳网站营销公司 互联网营销和传统营销的区别 免费的网站 哪个大学信息安全 重庆整合营销哪家好 网络世界 网络安全 南京网络营销外包 餐饮 网络营销工具 网络世界 网络安全 学校病毒营销方案 网络安全是国家安全 深圳大型网络营销公司排名 湖南长沙网站建 解放军信大信息安全 互联网营销和传统营销的区别 无锡企业网站制作公司 国保联盟信息安全技术,-1 500强网络营销公司 上海银基信息安全技术 外贸邮件营销效果 网络安全领域的领头羊 学校病毒营销方案 国保联盟信息安全技术,-1 网络安全区域划分 不用防火墙 移动信息安全中心,-1 公司网站url 新浪微博营销 网络安全信息通报 公安部 信息安全通报中心 信息安全 讲座 网络安全服务内容 网络空间信息安全专业,-1 广州专业网站设计企业 网络安全 数据分析 外贸邮件营销效果 我国网络安全形势 国际前瞻信息安全会议 中国网络安全年会比赛 互联网大会2014 网络安全 传统营销方式的手段 网络安全探究 信息安全 讲座 网络安全部署情况 云网站系统 安徽省公安厅网络安全 软件信息安全测评 外贸公司网站 网络安全数据安全 无锡全网营销外包 公司网站url 解放军信大信息安全 信息安全 讲座 网络安全区域划分 不用防火墙 石家庄网络营销 长沙微信营销 通信网络安全服务能力评定证书 安全设计与集成 北邮 信息安全培训大会 湖南长沙网站建 营销网址 外贸公司网站 需要认证的网络安全 什么是整合营销? 关于网络安全的分析 手机网络安全论文 新浪微博营销 合肥网站制作报 网络营销广告形式 天津 企业网站建设 手机网络安全论文 北邮信息安全实验室 网络安全信息通报 信息安全研究室哪个最好 信息安全等级保护安全建设专业技术人员证书 网站权重低 信息安全评测费用,-1 外贸邮件营销效果 网络安全实验室 预算 重庆整合营销哪家好 南通网站建设seo 网络安全信息通报 网络营销策划的特征