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

<a class="close" href="https://nu1.zuocu.cn/">&times;</a>
上海云计算信息安全,-1哈尔滨 建网站全网整合营销推广公司电子商务网站建设的概要设计电子商务网站功能页面网络营销以网络用户为中心asp网络公司程序 网站公司企业建设源码 网站设计模板seo优化网络营销调研的类型网络信息安全泄露,-1营销型网站建设公司推荐平行世界,几位绝世剑客的徒弟齐聚一堂,拥有了未来的武器,征战宇宙龙飞穿越到大唐初期,成为了“混世魔王”程咬金的大儿子程处默。 李世民:“处默,颉利可汗率领二十万狼骑到渭水河畔了,赶紧给我灭了狗日的。” 李丽质:“处默哥哥,你虽然又黑又丑,但是你是真英雄,等我长大了嫁给你好不?” 李雪雁:“我不要当什么文成公主,我要当处默哥哥的小公主。” 武则天:“我这一辈子,最大的心愿就是跟着程处默。”我,苏杭在杭州是一名的哥,还是一名常年没人来打车的的哥,生活无望 但在另一个世界,神州,我是轻功第一兰梦蝶师傅的徒弟,修真第一家族揭岳的开门弟子,边怀抱美人,边俯瞰世界大学生活刚开始,却遇上灵异复苏和异能觉醒; 且看一大学生的变强里程 (本人仅仅是位初中生,但觉得以大学生视角好写点,就在设定是主角是大学生了;如有不对,请及时提醒)陈晓穿越大唐贞观初年,继承了家中位于长安东市的酒楼。 哪知那唐皇李世民化名李二哥,成了酒楼的常客。 推杯换盏之余,李世民的问题也越来越奇怪: “陈掌柜,突厥屡屡南下劫掠,可有一劳永逸的办法?” “陈掌柜,蝗灾荼毒天下,朝廷应当如何应对?” “陈掌柜,天下之大,我大唐铁骑如何能雄霸天下?” 陈晓有些头疼,我就一开饭馆的,你总问我这干啥? 关键是,大唐铁骑怎么还真雄霸天下了?自混沌初开,法则之力充斥世界,造就三千世界,而每个世界的原住民们,逐渐领悟法则的法门,集力量于一身,冲破世界的禁锢,成就神位。成就神位的人们仍然禁锢于另一方世界的一隅,在他们的前面仍然有法则之上的力量-原力阻碍他们的前行。当他们举步维艰时,发现每隔一万年,就会打开三千世界的桥梁,就能领悟原力冲破此世界,真正法身成圣,神位转换为圣位,不过成就圣位的条件却十分苛刻,需要人间香火的供奉,为拥有神位的人提供信仰之力,并且两个世界的神位者们决胜出一位圣者位, “我会再回来的,道祖,儒圣,虽然我败了,但你二人绝对在接下来的圣位战被打败,哈哈哈哈…哈哈”, “大言不惭,汝等卑鄙之人,不配存活于世,即使你窃取到轮回法则,不过你已被法则抛弃,下一世定有人将你彻底陨灭”儒圣对着此人闻言道,看着此人在身体逐渐泯灭之际,有一丝魂魄被牵引到一户人家当中,对此眉头紧紧的皱在一起,与道祖相视一眼后,飞向天空上方的桥梁。 亲人离我而去,我从牛马蝇螟到一人之下,从微末之间到庙堂之上,从武斗到兵斗,再从兵斗到政斗,我战胜一切,却毫无收获,亲人留给我的是什么?我该如何拯救这一切,包括我自己?师父常说,山下女人都是老虎,但师父亦常说,我不入地狱,谁入地狱。 于是,夏天化身打虎英雄,奔往山下。 夏天:“师姐,收起你的胸恶,让我用爱感化你……” 未来,现实世界与虚拟世界交织,脑机接口、意识上传,虚拟触觉技术先后突破,zero公司研发了一款名为《零世界》的元宇宙,来使人类脱离死亡实现意识永生。 然而,在诞生25年后,zero公司一场更大的阴谋酝酿其中…… 重生后的罗飞,带着一群志同道合的伙伴,再一次踏上征程……在这汉末乱世之中,与其担惊受怕, 不如奋起争雄。 再多的描述都显得苍白无力,干他丫的。 吾所著之书,虽首本,亦会精彩绝伦。 别小看吾之水准,吾会用心书写。 望得 各位五湖四海兄弟姐妹的支持,吾希望汝等莫要不识好歹。
手机的网络营销方案 文玩营销模式 手机的网络营销方案 网站核验点 网络营销工具分为沟通类和什么 池州网站制作 信息安全等级 保护备案查询 信息安全资质的机构 网站结构 萧山网站优化 事业不顺的职场建议【www.richdady.cn】 外灵干扰对日常生活的影响【www.richdady.cn】 缺心眼的前世记忆【www.richdady.cn】 冤亲债主干扰咨询【www.richdady.cn】 性压抑的原因分析咨询【www.richdady.cn】 阴间生活的前世故事咨询【企鹅383550880】√转ihbwel 老公家暴的前世因果咨询【微:qq383550880 】√转ihbwel 迟缓儿的环境影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 如何改善精神不振的状态【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世缘份的轮回续缘【σσЗ8З55О88О√转ihbwel 性压抑的情感释放咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 感情纠纷的情感重建方法有哪些?咨询【www.richdady.cn】√转ihbwel 升迁障碍的职场建议咨询【微:qq383550880 】√转ihbwel 灵魂化解的重要性咨询【企鹅383550880】√转ihbwel 阴间生活的前世因果【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 阴间生活的描述与传说威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 耳鸣的案例分享【微:qq383550880 】√转ihbwel 性压抑的解决方法【微:qq383550880 】√转ihbwel 如何超度婴灵?咨询【企鹅383550880】√转ihbwel 发育倒退对孩子心理的影响【σσЗ8З55О88О√转ihbwel 嘉兴 网站 制作 翻墙后自己信息安全吗 网络营销意识薄弱 公司网络安全负责人 网站核验点 怎样给网站换空间 网站建设计划书 新疆网站制作 江苏网络安全平台 中国国家网络安全谷 营销型网站建设 信息安全规则 网站建设与推广是什么 网站办公室 设计官方网站 个人 网络安全认证 网络安全监控公司开展网络安全认证、检测 翻墙后自己信息安全吗 网络营销意识薄弱 公司网络安全负责人 网站核验点 怎样给网站换空间 网站建设计划书 新疆网站制作 江苏网络安全平台 中国国家网络安全谷 营销型网站建设 信息安全规则 网站建设与推广是什么 网站办公室 网络安全培训班 17校招网络安全 江苏省网络安全对抗 响应国家网络安全 病毒性营销推广方案 信息流营销是什么 手机网络营销数据分析 网站售后服务 java 网络安全 兰州做网站 19网站建设 传统营销的公司 双十一营销 互联网营销调研 信息安全竞赛策划书 棱镜门 信息安全 ppt 公安网络安全系统的设计与实现的案例 个人 网络安全认证 湖南营销型网站建设 网站设计尺寸 网络安全监管新闻 网站创建 网络安全监控公司开展网络安全认证、检测 营销沟通的案例分析 做网站工具 高端的网站网络信息安全大学2014 低价网站建设 湖南高端网站制作公 信息安全资质的机构 达内科技 微络营销深 银川怎么做网站 网站挂黑链 电子邮件营销优缺 江苏网络营销推广报价 网络信息安全泄露,-1 java 网络安全 网络安全讨论 常州微网站 手机微信的网站案例 济南网络营销 常州微网站 上海网站建设app 网络营销提升 贵阳响应式网站开发 东莞网站建设报价安徽大学 信息安全 营销学专家 建国内外网站有什么区别 建设营销型网站的要素 营销型网站建设公司推荐 网络营销工具分为沟通类和什么 翻墙后自己信息安全吗 江苏省网络安全对抗 银行客户信息安全 萧山网站优化 网络信息安全与防范 上海云计算信息安全,-1 集团公司网站方案 网站推广专家 做网站步骤 建国内外网站有什么区别 网络营销秀怎么认证 网站挂黑链 公安网络安全系统的设计与实现的案例 陕西信息安全认证中心 重庆营销公司排名 计算机网络安全国际 深圳 企业网站建设 云网站功能 陕西信息安全认证中心 网络安全事件数据 大馆陶网站 珠海网站建设公司 网络安全事件数据 网络营销调研的类型 文玩营销模式 国内顶级网络安全公司排名 手机的网络营销方案 信息安全 内网ppt,-1 深圳建网站 个人 网络安全认证 长治网站建设 信息安全等级建设资质证书单位网络安全预案 北京信息安全协会 台州卫浴网站建设 信息安全案例教程:技术与应用 电子商务网站建设的概要设计 asp网络公司程序 网站公司企业建设源码 网站设计模板seo优化 网络营销提升 城市分站网站设计 营销软件站 百万网络营销 深圳建网站 小程序建站网站 重庆信息安全协 重庆南岸营销型网站建设公司推荐 东莞网站制作 湖南营销型网站建设 佛山手机网站建设优化 网络安全面临的主要威胁及解决措施 网络安全信息共享:一步步走向美国的安全繁荣和自由的网络空间 东莞网站制作 怎么创立网站 江苏省网络安全对抗 设计官方网站 怎么创立网站