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

<a class="close" href="https://vsb.upjay.cn/">&times;</a>
订制网站乐清英文网站建设公安部信息安全监察工控信息安全事件网络安全技术及网络攻击技术深圳网站维护有限公司让移动网站信息安全上网行为管理网络安全技术 课件线上线下结合营销策略一名普通职业经理人,意外魂穿到民国,成为一名军统特工,没有金手指,凭借前世的信息,依靠自己的知识并不断地学习、成长,在风云变幻的时代中为国家,为民族贡献自己的力量,并创造了一段段精彩的特工传奇……我叫吴富贵,在我身上发生了离奇的穿越事件,我重生了到了一个魔法与武道共存的世界,我以为我是主角,主角应该不会死,但我发现我错得很离谱……[泛科幻·爽文·末世·丧尸]2199年,地球上的人类被迫通过各种方式重新认识“自己”。 原来,他们并不是地球原本的主人,或许,地球原本就没有主人。 苏美尔人与海王族人第一次星际战争延宕了100年之久 2199年, 战争和恶劣的自然条件使得人类数量迅速下降,从2099年的40亿暴风骤雨般地消减至1亿1千万 元世界被地球M国、约等国等瓜分为紫微星、太白座HDD等十三个区域,新的秩序即将来袭。。。 陈建国,这个D类人不知怎么就被推了上来。丧尸、修炼、称霸外星球。。。。 在地球,一亿多人被划分为A B C D四个等级,规则意识无处不在,为了保证生育质量,只允许A B 等级的人结婚。。 一个出生在偏远山区民风淳朴小村庄的懵懂、调皮小孩,在一次村庄盛宴款待来往商队时,意外引起一名进山寻药疗伤的强者的注意,机缘之下从而习武。后来骤然发现了一个可以危害全大陆生灵命运的惊天大恐怖,为了守护家乡亲人的一方安宁,连同两名自小玩大的兄长伙伴,毅然踏上强者之路......现代反赌专家穿越到大明,睁眼便是生死局,满街皆是花样赌! ?骰宝、牌九、叶子戏,走狗、斗鸡、蛐蛐乐! 偷天换日、飞云探龙、?海底捞月、天外飞仙? ?林萧笑了:过家家的把戏,也好班门弄斧?要说起出老千这档子事,我会的远比你们梦寐以求的多得多! 末日丧尸来袭,龙国五大古武世家之子,一场车祸获得末日成就系统。 从此,只要达成成就,就可以获得丰厚奖励。 “恭喜宿主达成成就,精神病常驻嘉宾...” “恭喜宿主达成成就,百战成尸......” “恭喜宿主达成成就,妇女杀手...” 钟纶:“...” 一场人类与反抗命运大洗牌的争斗从此开始。 俗话说,不想到将军的士兵,不是一个好士兵一重人界,八重境界,人尊之道,帝王之界 这里是一片强者为尊的大陆,俗称百川大陆 由上古人尊盘古之躯体化身而成 这里没有任何天外之力,人们只能以修炼精气来强化自身,而修炼精气的人被称作斗士,并通过学习各色秘典来与他人对抗。 精气以强度划分,精气一百年为基础,精气两百年为一重入道,精气四百年为二重人道,精气六百年为三重生道,精气一千年为四重寿道,精气两千年为五重论道,精气五千年为六重真道,精气八千年为七重岁道,精气一万年为八重尊道。 秘典分为三类,分别是心典、武典、气典。 品阶分为七色:白、绿、蓝、紫、黑、金、红,并且与药材的等级划分相对应。 百川大陆当今被两大王朝所分割,分别是北方的靖川王朝和南方的雪燕王朝。 斗士的世界,王者争霸!江枫穿越西游世界,觉醒神级拒绝系统,被拒绝就变强。   于是,江枫开始了在西游不断作死的日子。   “百花仙子,我想娶你!”   “回家洗洗睡吧,真的是……”   “恭喜宿主,开启白银级宝箱,获得天仙级修为,八九玄功一部,中品先天灵宝紫电锤,一枚仙果。”   “玉帝老儿,你可否搬出天宫,把尊位让给我坐!”   “大胆江枫,你竟敢如此大逆不道,来人,给朕诛杀此獠!天上地下,无你容身之处!”   “恭喜宿主,开启黑金级宝箱,获得后天功德至宝鸿蒙量天尺,诛仙剑一柄,十枚黄中李。”   “元始天尊,听闻你有洪荒第一利器盘古幡,可否借我耍耍?”   “可以,只要你的脑袋抵得住盘古幡的粉碎时空之力!”   “恭喜宿主,开启至尊级宝箱,获得鸿蒙紫气一道,先天至宝混沌钟,天书一部!” 永安不安!白焰不白!一团苟延残喘的青焰,一个没落门派的弟子,一段埋葬在时间长河的秘史,千年的和平似乎让人们忘记了曾经的威胁,在这诸天星海,万界之族中,苦而弥坚的人族、据高临下的妖族、作壁上观的神族以及……在这万类霜天竞自由中,谁为棋子?谁为棋手?本书又名《我在三国强行拼团》《三国砍我,我一人砍三国》 刘云穿越到东汉,绑定附身了拼团系统,本想活命发育,偏偏黄巾起义,一个不小心还将刘备给秒杀了,不得已卷入三国时代。 刘云:“开团了,赶紧冲!来呀,砍我呀!这点兵马,砍我都不够,怎么当反派的?” 刘云:“来嘛,切磋切磋,是兄弟,就来砍我,砍一刀,一刀接一刀,完事请你喝酒。” 只见刘云一路横跳,到处强行找人拼团,势力越砍越大。 天子脖子架着刀:“刘云,你再不登基,我就砍自己了。”
性营销 订制网站 公安部网络安全局 企业网站建设公司排名 网络安全 最好的大学 网站建设落地页 网络安全技术 课件 上海网站设计建设 网络营销引擎 北京北京网站建设 发育倒退的咨询技巧咨询【www.richdady.cn】 孩子不爱读书的阅读计划如何制定?【www.richdady.cn】 财运不佳的财富管理咨询【www.richdady.cn】 发育倒退的案例分享【www.richdady.cn】 孩子压力大的教育建议咨询【www.richdady.cn】 失业的案例分享咨询【微:qq383550880 】√转ihbwel 家庭关系咨询【微:qq383550880 】√转ihbwel 营养不良导致的头脑混沌咨询【σσЗ8З55О88О√转ihbwel 家庭关系的案例分享【σσЗ8З55О88О√转ihbwel 干扰的预防与化解【企鹅383550880】√转ihbwel 财运不佳的理财技巧【www.richdady.cn】√转ihbwel 缺心眼的咨询技巧咨询【企鹅383550880】√转ihbwel 发育倒退对孩子心理的影响【www.richdady.cn】√转ihbwel 感情纠纷的情感调解技巧有哪些?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与男友前世威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 儿子抑郁症的自我提升【www.richdady.cn】√转ihbwel 前世老婆的识别方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 家庭关系的教育建议【企鹅383550880】√转ihbwel 如何识别冤亲债主【企鹅383550880】√转ihbwel 前世缘份的故事有哪些真实经历?咨询【www.richdady.cn】√转ihbwel 网络安全技术 课件 杭州品牌网站建设 网站字体 信息安全范畴包含哪些 西安移动网站建设 漳州做网站 河南网站优化 单页面营销 内容营销与传统营销的区别 中国信息安全保护网 公安部信息安全监察 如何做全网营销方案 营销进企业 优秀企业网站欣赏 衡量网络安全的主要指标有哪些 郑州网站建设的公司 郑州网络营销技术学校 国家网络安全与 杭州 网站建站 用户订购为营销资费 网络安全组组织架构 无线网络安全解决方案 河南网站优化 公安网络安全保卫培训 国内网络安全公司赚钱 东莞多语言网站建设 公安网络安全保卫培训 如何利用网站来提升企业形象 上海知名网站建设公司 网站字体 旅游网站的营销策略 在履行网络安全监督管理职责中 电子商务习题集 网络营销实施运作过程基本步骤给出方案框架及简要描述 为什么研究网络营销 学字体网站 网络安全考试认证 全网营销定位系统 中国信息安全保护网 企业网站建设公司排名 无线网络安全解决方案 网站制作新技术 国税网络安全宣传周 汕头建网站 上海著名营销公司 网络营销引擎 企业网站建设公司排名 网络营销在南宁 网络营销线上培训机构 乐清英文网站建设 重庆网站开发公 网络安全通告 手机应用网络安全 网站营销是做什么的 公安部网络安全局 信息安全服务资质名单 江苏网站建设网络公司 wow网络安全怎么做 信息安全防护方案 中国信息安全认证中心颁发一级应急服务资质,-1 网站制作北京 网络营销带来的好处 福州做网站的公司信息安全有限公司排名,-1 济南网络营销推广 网络营销在南宁 江苏的网络安全公司排名 沈阳做网站价格 手机应用网络安全 广州做企业网站找哪家公司好 网站制作北京 官方网站欣赏 衡量网络安全的主要指标有哪些 2016网络安全事故 上海知名网站建设公司 网络营销学 深圳营销外包公司 中国网站建设 手机网站模板下载 网络营销引擎 中国民间网络安全协会 移动网络安全 产业联盟 城阳建网站 英文网站推广 武汉大学信息安全所 紫色网站 网络安全技术 课件 霸屏营销推广 移动网络安全管控 教育行业网络安全掌上医院的营销推广 杭州品牌网站建设 优秀企业网站欣赏 漳州做网站 信息安全 c.i.a 中央网络安全 网络安全世界领导人奖 2015中国个人信息安全问题计算机信息网络安全服务 中国民间网络安全协会 建网站都要什么费用 郑州网站建设的公司 紫色网站 单页面营销 信息安全 c.i.a 郑州网络营销技术学校 杭州 网站建站 遂宁网站制作 网站设计存在的不足 国家网络安全与 专注合肥网站建设 信息安全技术培训 绿盟 网络安全日 杭州 网站建站 珠海网站优化 阜新网站建设 2016网络安全事故 用户订购为营销资费 安庆网站优化 企业新媒体营销的弊端 态势感知 网络安全互联网营销就业优势和劣势 企业的营销案例分析ppt 网络安全认证机制 西安移动网站建设 信息安全防护方案 好的市场营销方案 网站设计风格 网络营销之黑客技术 内容营销与传统营销的区别 网络安全专项整治 天津市信息网络安全协会 珠海网站优化 企业营销成败的实例 网络营销的几个模型 企业新媒体营销的弊端 海珠做网站 郑州网络营销技术学校 全网营销定位系统 国内网络安全公司赚钱