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

<a class="close" href="https://thjeec.upjay.cn/">&times;</a>
网站的服务拐角型网站网络安全技术的新认识网站主题和风格网站营销公司专业的网络营销哪里有邮箱营销系统哪个好全网营销服务有限公司生鲜网络营销目标互联网营销讲师玄灵界,这片拥有着十境九地的广袤大陆之上,每隔千年便会产生一次降灵异象,伴随异象应世之人被称为玄灵尊者,而每任玄灵尊者的使命,就是带领灵族众将,重新封印上古异族。一个九零后年轻人一生的梦想就是能和自己相恋三年的女友组建一个温馨的小家,奈何却败给了房子车子彩礼,正当伤心欲绝生无可恋之时,死党一个电话改变了他的一生,也遇到了生命中真正属于自己的那个人,,,,,,yyw因为常年熬夜打歌,成功猝死了。但他获得了一次重生的机会,发现自己重生到了自己的死对头林擒身上,当yyw正在感到悲伤的时候,他发现自己的爷爷竟然是奥托雷普……本作品纯属本人刘嘉述琐碎生活中的一部分,书中提到的人物名称均为亲朋好友的外号及化名,选择性塑造出各个阶层为了生活奔波劳累的奋斗史!书中人物形象刻画均与现实人物相辅相成!还原度98%!多谢大家捧场阅读!因一封邀请函再起的故事,这也是新的续篇。 命运的挑战?弥补的救赎? 不哦,或许……不仅仅是这样。 记住,实力为重,却非最上。天道陨落,生命祭献,少年轮回,叙写传奇。且看,无双天骄,翻手天初,覆手天末,天临世间!夜晚的霓虹下,壁垒中的人类尽情的放纵着自己的激情。 但他们并不知道,阴影中的怪物们正死死的盯着他们,随时准备着剥夺他们的生命。 这些怪物隐藏在人群之中,嘲笑着人类的无知与愚昧。 十八岁的李如一却有着能够找出他们的技能——回溯。 六年前,李如一穿越到了这个科技发达且充满危险的异世界,为了成为超凡者而不懈努力; 六年前,两个猎魔人偷偷潜入13区19号城市; 六年前,一个叫做任小兰的老妇人牺牲了自己的生命; 六年前,一场大火烧毁了一个希望; 六年后,一个中年男人和一个老人下着棋,聊着天。 老人问道:“你难道不知道李如一很可能会毁掉这个世界吗?” 中年男人说道:“但他也有可能拯救这个无药可救的世界啊,不是吗?” 作品简介:文中以“封杀计划”为主线,写向晨,张 琳,马旭等人破案的长途过程,本书有悬疑,想象, 等特点,让故事读起来更有韵味。【2021年爆火迪化流洪荒文】 穿越到洪荒世界,还是个手无寸铁的凡人,本以为靠着系统能横行洪荒,没想到系统居然还跑了,这可怎么搞? 最关键的是封神在即,这可是连圣人无法避免的天地量劫! 林轩表示,咱还是先苟着吧! 但让他没想到的是,他随手打下的鸡,居然是鲲鹏妖师! 被他逗的满脸通红的美女,是西王母和三霄娘娘! 林轩懵了,他其实真的只想苟啊!我因为贪婪,把自己卷进了一个未知的领域。   随之拼命挣扎,但无济于事。   遇到了很多,也挣扎过很多。   明白了许多,也失去了很多。   我不知道当天再亮起来的时候,我还能再次睁开眼睛。   或者是永远的沉睡。   
石家庄哪里有网站推广 网络安全与中国方案设计安徽电信网络与信息安全管理部 邮件营销推广是什么 rsa信息安全大会 2017 微网站制作软件 做网站电话 如何写网站文案 2017信息安全 新闻 宁夏网站建设 互联网营销讲师 心特别累的自我提升【www.richdady.cn】 有官司的前世因果咨询【www.richdady.cn】 前世缘份【www.richdady.cn】 过世前可能出现的征兆咨询【www.richdady.cn】 事业发展瓶颈突破咨询【www.richdady.cn】 婴灵的超度方法有哪些?【企鹅383550880】√转ihbwel 人际关系不好的解决方法【σσЗ8З55О88О√转ihbwel 与男友前世的故事分析【微:qq383550880 】√转ihbwel 自闭症的症状与诊断【企鹅383550880】√转ihbwel 家庭关系的咨询技巧咨询【企鹅383550880】√转ihbwel 老公家暴的应对方法咨询【σσЗ8З55О88О√转ihbwel 财运不佳的原因有哪些?【www.richdady.cn】√转ihbwel 外灵干扰对日常生活的影响咨询【企鹅383550880】√转ihbwel 大龄剩女的婚恋心态【www.richdady.cn】√转ihbwel 亲子关系的教育理念有哪些?咨询【微:qq383550880 】√转ihbwel 亲子关系的教育策略有哪些?咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 儿子抑郁症的康复训练【www.richdady.cn】√转ihbwel 冤亲债主干扰的前世记忆【www.richdady.cn】√转ihbwel 情感心理咨询在线咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 投资项目的自我提升咨询【微:qq383550880 】√转ihbwel 设计新颖的网站建站 福州专业做网站的公司 中山企业手机网站建设 网络公司给我们做的网站但是我们不知道域名是否属于我们 广州好的广告公司能独立承担汽车品牌营销策划推广服务 如何写网站文案 财政部网络安全 广东信息安全 高端网站定制 淄博网站优化 网络安全研究步骤 营销的坏处 网站作用 网站收录低 网络安全保卫总队地址 引导营销 上海运营营销号大公司 网络信息安全合格证 常用的信息安全技术方法,-1 瓦房店网站建设 网站备案时间 信息安全的企业信息 邮件营销推广是什么 网站主题和风格 网站的服务 网络安全进企业 搜索引擎营销思路 网络安全进企业 信息安全互联网公司 网络营销考研 2017信息安全 新闻 信息网络安全制度 php信息安全竞赛 php信息安全竞赛 上海运营营销号大公司 国家 信息安全 标准 但是网站相关内容和程序并没有建设完其次网站公司给我公司的 主流网站风格 网络安全的防范方法 高端网站定制 广西网站建设 网络安全研究步骤 试述网络营销的劣势 邮件列表营销的方式 口碑营销的案例分析 南宁信息安全测评中心 专业企业网站建设定制 2017信息安全 新闻 广东信息安全 网站收录低 财政部网络安全 网站制作公司推荐 试述网络营销的劣势 单仁营销 厦门某某公司网站 中山市网络营销 信息安全互联网公司 企业网站建设咨询 国家网络安全基地建设方案 网络安全攻防培训 2017信息安全 新闻 网络营销能力秀等级 营销扣扣是什么意思 主流网站风格 信息安全属于哪个学院 网络安全管理小组 商务网站建设公司 2014网络信息安全 营销型网站策划 常用的信息安全技术方法,-1 php信息安全竞赛 好网站范例 瓦房店网站建设 2014信息安全事件,-1 运营商网络安全苏州营销策划 优帮云 厦门某某公司网站 衡水网站设计怎么做 企业营销学 信息安全大数据 网络营销品牌含义 访问相关网站掌握定制定价使用定价免费定价的运用试举例说明 邮箱营销系统哪个好 贵阳网站建设公司 网络安全的电视剧 衡水如何做企业网站 手机网站 东莞网站开发推荐 但是网站相关内容和程序并没有建设完其次网站公司给我公司的 企业网络营销策划论文 西安制作公司网站的公司 网络营销品牌含义 营销的坏处 广州做网站的公 网络安全夏令营 定制版网站建设费用 潍坊市网站制作 网络安全进企业 银监会 信息安全标准 太原优化型网站建设 上海运营营销号大公司 网络安全技术的新认识 信息安全 行业 2015 小米微信营销成功案例 网络安全工作人员培训 南宁信息安全测评中心 沈阳网络营销资讯 朝阳企业网站建设方案 东莞网站开发推荐 电商 信息安全 深圳网站建设 独 2014网络信息安全 英雄联盟网站设计 网络安全的防范方法 专业企业网站建设定制 做网站电话 网络安全进企业 中山企业手机网站建设 成都 网站建设 信件营销 郑州作网站 新手做网站 趋势信息安全专员 政府网站模板 专题网站建设 高端网站定制 石材网站建设 最新信息安全新闻 网络技术营销 湖南企业网站建设 引导营销 设计2017网络营销大会 网络安全研究步骤 广州广告网络营销公司 厦门某某公司网站 网络营销考研