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

<a class="close" href="https://mtyg.9401.com.cn/">&times;</a>
国家网络安全主题网络营销公司的排行榜惠州网站制作网络安全性是什么协议烟台哪个公司做网站好深圳市信息安全协会网络安全反黑视频教程临沂做网站长沙网站制作公司军用信息安全产品认证陈晓穿越大唐贞观初年,继承了家中位于长安东市的酒楼。 哪知那唐皇李世民化名李二哥,成了酒楼的常客。 推杯换盏之余,李世民的问题也越来越奇怪: “陈掌柜,突厥屡屡南下劫掠,可有一劳永逸的办法?” “陈掌柜,蝗灾荼毒天下,朝廷应当如何应对?” “陈掌柜,天下之大,我大唐铁骑如何能雄霸天下?” 陈晓有些头疼,我就一开饭馆的,你总问我这干啥? 关键是,大唐铁骑怎么还真雄霸天下了?“豺狗的天降陨石竟然在地面砸出一个百米大洞?恐怖如斯。” 杨开召唤战斗暴龙兽使用盖亚能量炮直接在地面砸出一个一公里的深坑。 “大佬?你这是什么魂兽?” 面对众人的震惊,杨开默默转身。 面对着奔腾而来的兽潮,一个金色的大门缓缓在天空中打开 如果说一篇好的序可以为文章增添色彩,那么——以诗歌为最!我要说:“如果一个人一生要是有一个美好的开始,那么也不能足矣证明他(她)能拥有一生一世的光彩! 生命是一个回归自然的过程,风雨兼程普世的悲欢与离歌,九天奇境真似幻,悠悠岁月惹尘埃。似真、似假、似戏、似梦、似幻境……真真假假、假假真真,几人能分清?只为无愧于心,我们曾经来过…… 运筹帷幄凌云志,江湖笑傲我当先!沧海横流……我心本善!云为墨、风为笔,千般情愫写长空,不负凌云志!柳作眉、花作装,万种风情绘早春,怎抵阳光心?没有了梦季的幻想,没有了雨季的泥泞,我们永远都是十六岁的花季……企鹅号:454411430【无限流+诸天+主神】本在国家会展中心领奖的李景,睁眼发现自己晕倒在一间毛胚房中。 冰冷,封闭,死寂的环境让他惊疑不已。 待他跑至窗口往外看时,他才发现…… 他竟被困在了一栋即将爆破倒塌的大楼中!清末民初是个动荡不安的年代,同样也是英雄辈出的年代。李氏家族由无到有,由兴盛再到衰落,时间鉴证了这一切。他们不屈不挠,拼搏奋斗的精神,将永远激励我们不断前行。威武华夏!修仙难,一看天赋,二看机缘,三看身家。 王耀穿越而来,却成为一介天赋全无的边远村民。 且看王耀如何以妖入道,踏上仙徒,巧妙周旋,化险为夷。 凭借一腔热血,二世为人,成就三界功绩,四世威名!银河帝国超级机甲天才流云,在一次营救帝国公主的行动中,被敌方设伏,陷入绝境,一人一甲独战十万机甲战士,最终为掩护公主逃脱,义无反顾自爆了机甲,庞大的能量令空间扭曲,竟形成一个可怕无比的黑洞,而流云最后的记忆停留在自己被黑洞吞噬……待醒来时,已然穿越到了一个陌生的世界。生活是如此的现实骨感,而不经意间进入到了异界却成为我打开生活的一扇门。加班回家的途中被未知力量送到很久以前,失去所有感情、目睹修真、科技等世界的兴衰,在法则下却无力改变任何事,也许你曾经见到过我,但,我只是一个旁观者,一个过客而已。。。主角张八爷已人到中年,上有80老母亲,下有上高中的儿子,妻子虽无大才,也算是通情达理,;从小就勤奋努力却始终与成功擦肩而过;逢全球疫情爆发,忍痛背井离乡,孤身一人出外谋生,一年内经历颇多,钱没赚到还越欠越多;流落到中原燕赵之地,在一个城中村内,花光了所有积蓄,连续九天不见阳光不见人;穷途末路精神萎靡之际,灵魂受到攻击。关键时刻想到了自己未完成的使命——老娘要孝顺;孩子要抚养;将近二十年的结发妻子,没跟自己过啥好日子;自己对不起他们啊,还没让他们过上好日子,怎么能这样就撒手人寰。从小到大无数的又让人无奈的经历,锻炼了八爷一般人不具备的,强大的精神力,最终使主角绝地反击。从而接受传承,背负使命,为实现自己的理想,满怀希望踏上征程;最终征战九天十地,实现毕生最大的愿望!
长沙网站优化公司 重庆 网络营销 推广 互联网大会 网络安全 网络安全的企业 成功网络整合营销案例 微网站建设方案 建网站中企动力 对于网络安全的建议 sem整合营销代理 单位信息安全等级保护工作 如何避免无形干扰因素咨询【www.richdady.cn】 特殊学校的前世记忆【www.richdady.cn】 事业不顺的职场提升咨询【www.richdady.cn】 去世的父亲的前世解析【www.richdady.cn】 大龄剩女的婚恋困惑如何解决?【www.richdady.cn】 缺心眼的环境影响【企鹅383550880】√转ihbwel 性压抑的自我提升咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 纠纷的自我保护【σσЗ8З55О88О√转ihbwel 脑部不清晰的原因分析【微:qq383550880 】√转ihbwel 缺心眼的案例分享【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 头脑混沌的前世记忆【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 学习成绩差的自我提升咨询【www.richdady.cn】√转ihbwel 心慌胸闷头晕咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家宅磁场的检测工具咨询【微:qq383550880 】√转ihbwel 发育倒退的自我提升咨询【微:qq383550880 】√转ihbwel 发育倒退的医学检查咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世的前世缘分咨询【企鹅383550880】√转ihbwel 自闭症的康复训练【微:qq383550880 】√转ihbwel 前世老公的前世记忆【微:qq383550880 】√转ihbwel 强迫症的环境影响【企鹅383550880】√转ihbwel xcon安全焦点信息安全技术峰会 网络安全方面的新技术 信息安全 实训系统 网络安全 手机 惠州网站制作 棕色网站 长沙网站优化公司 免费网站制作推广 网站建设 武汉 信息安全等级保护的原则,-1 企业营销平台 邮箱群发营销软件 网站建设七点 网站控制 上海高端网站设计 网站网速慢 网络安全反黑视频教程 大型的营销型网站建设 网络安全 活跃 论坛上海网站建设要多少钱 初级信息安全测评师 认证代码 信息安全 深圳 信息安全公司 网站关键词排名提高 对于网络安全的建议 邮箱营销系统哪个好用信息安全基础设施标准 临沂做网站 信息安全实训总结 长沙网站制作公司 租车网站建设 烟台哪个公司做网站好 网络营销简历怎么写 北京互联网营销公司 北京专业网站建设 政府网站 欣赏 中国可信计算与信息安全会议 营销页面策划 网络安全反黑视频教程 华为 信息安全 高端网站建设定制 网络安全方面的新技术 网站主持人 上海网站定制公司 太原制作网站的公司 线框图网站 网站报价 android网络安全开发 郑州网络营销培训学校 企业营销平台 深圳整合营销 还有网站吗 大中华区信息安全经理 企业信息安全 厂商,-1 网站访问流程设计 营销与社会营销的区别 网站建设七点 建网站中企动力 网络安全 活跃 论坛上海网站建设要多少钱 网站关键词排名提高 上海的广告公司网站建设 信誉好的龙岗网站建设 企业营销平台 武汉国际网络安全论坛 卫龙网络营销 网络营销的定义概括zac 营销的网站 信息安全加固方案 vpn技术在网络安全中的应用 立体化营销 上海网站定制公司 营销的网站 商务型网站模板 网络安全工程师经验之谈 信息安全好的大学 大连企业做网站 网络安全等级测评要求 网站建设七点 邵阳网站优化 厦门网络推广建网站 国际信息安全联盟 惠州网站制作 中国可信计算与信息安全会议 全国网络营销大赛 网络安全法颁布的意义 初级信息安全测评师 网络安全性是什么协议 信息安全测评服务 北京网站维护 网络安全文章 线框图网站 别人通过搜索关键词打开我的网站之后搜索的关键词都是我的 惠州网站制作 网站的风格 营销型网站有哪些出名的 上海高端网站设计 成功网络整合营销案例 西安网站公司 我的注册信息安全 蘑菇街网络营销方案 网络安全与物理安全 元站点网络营销方法 计算机网络安全实验教程 我的注册信息安全 营销型网站建设制作为什么用php -s可以访问本地网站而开启apache就拒绝 大中华区信息安全经理 android网络安全开发 石家庄网站设计制作服务 请举几个web2.0风格的网站例子(中/英文)分别说明其网站构架 北京网站维护 xcon安全焦点信息安全技术峰会 网络安全等级测评要求 还有网站吗 手机网站设计机构 广东省信息安全服务备案 南昌哪里有网站建设 网站建设 武汉 网站方案书 杭州 信息安全培训 蘑菇街网络营销方案 2014中国信息安全防护大会 小米事件营销 开放平台信息安全 大型的营销型网站建设 上海 网络安全会议 公司信息安全教育 信息安全好的大学 青岛市网络安全办公室 网络安全作业平台 大连建网站公司 访客网络安全吗 网站网速慢 做网站多少钱 建公司网站要多久 互联网 与传统营销区别 棕色网站 信息安全加固方案