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

<a class="close" href="https://yn4i.jushishang.cn/">&times;</a>
开发网站需要什么技术婚纱店网络营销凡客公益营销中国mask网络安全团队工信部网络安全证书天缘qq空间营销软件汶川地震王老吉营销西安信息安全培训机构3合1网站建设公司中国mask网络安全团队主角再世重生,得神植;平末日;斩仇敌;护佳人。 法盘开道;神兽傍身;游历万界;直至巅峰,成就不死不灭神。现在是2077年,由于地球的能源开始缺少和人口逐渐增加,几年前各个大国开始合作,为了全人类,开始向太空甚至宇宙前进。而我则是我国一名宇航员兼飞船科技工程师,在这个年代我将为了全人类开始我们的宇宙航行之旅!平平凡凡的人生,终于迎来了解脱;异世的风正在喧嚣,道路在何方。我只想活下去,任何人都别想夺走,万世风尘不染其身,千种杀机逆转炼神,百般恩仇皆报己身。 他本对这个世界充满希望,可那贼老天一次又一次的给他带来劫难,身边的人一个个离他而去。 “我早已无牵无挂,何怕这世间万难” 公元2030年,一颗直径超过两米的陨石坠落太平洋,却未曾掀起巨浪,九州,东瀛,沙俄,不列颠,自由国五国组成五国研究队,采集样品。公元2031年,由自由国为首的五国研究所发表声明,陨石中含有未知生命体,但只能寄生于活体,将其命名为奇迹病毒。公元2035年,病毒开始变异,世界悄然发生变化,我们的故事从这里开始。热血却迷茫的青春岁月里,深处社会底层的我误入歧途,深陷罪恶。在泥泞里彷徨、挣扎,不甘于贫穷与平凡,一心踏入江湖。在混乱的社会里,用刀吃饭靠枪说话就是我的生存方式,谁拳头硬谁就有话语权就是我的信条!在这黑暗的生活里,我又终将何去何从?夕阳西下,几只海鸥从海上飞过,被金色渲染的沙滩上有两人互相看着,沉默不语。 一人黑衣,一人白衣。时间好像静止了一般。 许久之后,白衣开口打破了之间的寂静:“我觉得,还是你错了”黑衣听愣了一下,好像很轻松的说:“这是自然嘛,你为了你的理想,我为了我的理想,我们都不知道对方干什么,却都说什么都支持对方,到最后才发现对方竟然是自己的对立面,自然是觉得对方错了嘛”说到最后才发现时语气却多了分伤感,凄凉。“那,那你来这里干什么?”“这里是,是梦开始的地方啊” …… 最后只听见白衣说:“明天我不会留情” “我也一样”人生无常,大肠包小肠。 孟飞穿越到漫威世界,成为中城高中的一名高中生。 并且绑定签到系统,开局签到终极帝皇铠甲。 在哥伦比亚研究院签到,获得三星奖励,兔符咒。 在复仇者联盟大厦签到,获得四星奖励,镭射眼。 在联合国总部大楼签到,获得五星奖励,暗影军团。 …… 两年后,当灭霸带着他的紫薯兵团入侵地球时。 只见地平线上亮起一道耀眼的光芒…… 他与枪杀入阵中,左突右冲,上挑下刺,如入无人之境,那枪寒光闪烁,那人英武狂暴,翻飞之际,若舞梨花,遍体纷纷,如飘瑞雪,转瞬之间,目之所及,身之所在,一切灰飞烟灭! 血色战场,唯有一枪,无上! 万界永世,唯有一人,不败! 修罗仙帝惨遭亲友背叛,含恨陨落,数千万年后,一个少年上山采药,无意中收获神秘小塔......
广东省信息安全测评 网站建设公司 深圳 1网络安全防护技术主要包括( ) 天缘qq空间营销软件 企业微信营销公司简介 网站设计 广州 外贸网站营销方案 广东省信息安全测评 昆明网站设计 工信部网络安全证书 婴灵的存在有哪些科学依据?咨询【www.richdady.cn】 家宅磁场对居住者的影响【www.richdady.cn】 升迁障碍的职场建议【www.richdady.cn】 自闭症的前世因果咨询【www.richdady.cn】 去世的父亲在哪【www.richdady.cn】 婴灵的化解仪式【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 缺心眼的案例分享咨询【www.richdady.cn】√转ihbwel 纠纷的预防措施威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 亲子关系的共同成长方法有哪些?咨询【微:qq383550880 】√转ihbwel 婚姻生活不顺的咨询技巧咨询【微:qq383550880 】√转ihbwel 财运不佳的财富管理方法有哪些?咨询【www.richdady.cn】√转ihbwel 如何解决孩子不爱读书的问题?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰的前世故事咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的真实案例有哪些?咨询【www.richdady.cn】√转ihbwel 前世今生的咨询方式咨询【σσЗ8З55О88О√转ihbwel 为什么过世的心理调适【企鹅383550880】√转ihbwel 亲子关系的共同成长【微:qq383550880 】√转ihbwel 家庭关系的自我提升咨询【σσЗ8З55О88О√转ihbwel 与老公前世的咨询技巧咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 生活中的无形干扰有哪些【www.richdady.cn】√转ihbwel 武汉网站建设 销售观念的营销手段是 维护网络信息安全 网络渗透测试-保护网络安全的技术工具和过程 pdf 推广及建设网站 灵魂网络安全 长沙高端网站制作公司 石家庄网站制作找谁 大数据分析与信息安全 个人主页网站制作 中国mask网络安全团队 优优营销软件站苏州建设局网站 传统营销模式的优缺点 国安网络安全法 衡水网站建设 天缘qq空间营销软件 百度信息安全部 北京市网站公司 税务系统信息安全 顺德网站建设公司信息 242信息安全计划 营销博文 海淀重庆网站建设 网站设计 广州 中国网络安全峰会 网络安全的书 shark 如何建设好英文网站 企业营销网站建设公司哪家好 企业营销网站建设公司哪家好 常用的网络安全技术有哪些 网络与信息安全监控记录表 计算机网络安全培训、 360信息安全 中国信息安全专业 网络安全法 视频 mp4 3合1网站建设公司 国家网络与信息安全中心 补丁 网站页面设计 cdn与网络安全 西安信息安全培训机构 网络及信息安全设计 信息安全分为十个方向 银川建立网站 网站设计 广州 北京市网站公司 网络安全周 2017 顺德网站建设公司信息 家教网站建设 网络安全的原因分析 网站设计 广州 网站建设成本 零食网络营销策划方案 汶川地震王老吉营销 微机室网络安全管理 如何改变网站首页栏目 网站建设排版页面 信息安全标委会 昆明网站开发 网站示例 石油石化信息安全 网站建设制作 南京公司 双11营销 网站设计 广州 国安网络安全法 衡水网站建设 2013年国内外发生的网络安全事件统计 学校信息安全部 网络安全技术之常见病毒种类与杀毒软件分析 网络安全科技有限公司 商城网站建设机构 网络营销目标包括 重庆企业口碑营销 网站页面设计 微博营销是一项系统工程微博营销的操作模式包含以下哪些? 2017信息安全事例 大数据分析与信息安全 第一级信息安全等级 桥南做网站 石油石化信息安全 汶川地震王老吉营销 西安信息安全培训机构 营销方式方法有哪些特点 工信部网络安全证书 网络安全国际研讨会 东莞网站制作公司 2017信息安全事例 衡水网站建设 工信部网络安全证书 微机室网络安全管理 广州手机网站定制信息 网站组成费用 微机室网络安全管理 网络营销专业的大学 小米的真实营销模式 网站页面设计 灵魂网络安全 网络安全服务平台 营销三要素 家教网站建设 双11营销 深圳网站空间 杭州市网络安全研究所邮箱 税务系统信息安全 网站个性化 网站建设成本 网络及信息安全设计 网络安全法 视频 mp4 营销博文 许昌网站建设 推广及建设网站 桂林网站制作 商城网站建设机构 外贸网站营销方案 销售观念的营销手段是 维护网络信息安全 江苏信息安全等级保护 中国网络安全攻防大赛 广东省信息安全测评 中国网络安全峰会 维护网络信息安全 网络安全的书 shark 计算机网络安全培训、 衡水网站建设 网络安全的书 shark 个人主页网站制作 支付宝营销策划案例 外贸网络营销考题 2013网络安全事件 潜艇的信息安全炫酷的网站 网络安全法 视频 mp4 长沙高端网站制作公司 外贸自动营销软件 石家庄网站营销 衡水网站建设 营销道理