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

<a class="close" href="https://bb5b.nengqian.cn/">&times;</a>
陕西营销型手机网站建设福田的网站建设公司绵阳网站建设黑色网站黑色网站手机微信一体网站建设重庆网站建设 优化论在线营销京东的营销策略分析报告长沙网络营销推广保护网络安全的常用手段有穿越玄幻大世界。 炮灰命运的江榆激活气运模板,能够随意查看并截胡他人机缘。 查看天命之子。 截胡天道造化,神兵功法,种种大自在加身。 查看天命之女。 截胡进境气运,百族臣服,将之收为自身红颜。 等等... 连终极大反派的机缘都能截胡?这可就有意思了! 多年以后。 当江榆立足诸天之巅,行首投足间,皆是造化手段时。 某宗门杂役:“说起来可能没人相信,当年那块至尊骨,其实我感觉是属于我的...”网瘾少年林徉魂穿大武朝,凭借着网上冲浪的经历纵横武朝! 造纸?我会古法造纸; 赶海?这个季节的沙滩有很多花旦蟹; 行医?脸上出现蜘蛛斑,一抹无痕。 …… 一个21世纪的失意少年,不幸失足落水。灵魂穿越到了一个仙魔共存的时代,重生在一个修真世家里面。看他如何一步步反转,走上巅峰!秦缘穿越到全民模拟人生的世界: 如果改变人生轨迹打破人生限制,可以成为人上人;如若失败,只能当个寿命只有五十多岁的下等人,终生贫苦。 毕业典礼:觉醒贤者。 贤者模式:可以推演一切。 模式时能力越强,推演越详细,成功率越高。 一世:【重生末世,觉醒超级异能,二十岁基因变异死了。】 “贤者模式开启,推演抑制基因变异的方法。 【你攻克基因突变,成为世界主宰,拯救人类开创修仙科技时代,寿终正寝。】 【模拟结束:贤者模式增强一倍、你获得三滴龙血、你获得灵米提供资格、你获得一次模拟机会、你获得......】 某世:【18岁的你,被女帝逼婚,虐待致死。】 “贤者模式开启,推演征服女帝方法。” 【女帝唱征服,获得最高评价。奖励:阴阳锻体决、获得….】 同届新人,纷纷成为普通人,苟延残喘。 此时:异族入侵基地时。 秦缘站出来,扮演异能强者,持仙法只手遮天。 这天: 异世入侵主世界。 秦缘仅仅一句话,万族臣服。 “怎么?征服不够,想被灭世?”众生苦难,邪祟横行。 在这个人命如草芥的世界,凌云穿越而来。 并且随身携带【修改器】,任何武学在他手中,都能修改到极致! 猛虎刀法、金刚身、铁布衫……通通给我加满! 面对各种妖魔鬼怪,凌云浑身肌肉虬结,语气森然: “邪祟?我就问你抗不抗揍就完事了!&amp;quot;法师们目空一切,贵族们高高在上,大商会只手遮天;在这人吃人的世界里,我看到了深渊的触角,文明的退化,和微弱的希望。末世+自然灾害+无系统+求生 气候突变,打破了世界原有的平静,冰川时代降临,幸存者挣扎求生。 面对未知的灾难和危险,一个个小人物组建到一块,共度危机,只为在这末世之下,走的更远江恒意外穿越御兽世界,本以为拿到了主角剧本,谁曾想却摊上了一个路边随处可见的青玉虫为御兽,还背上了高额的御兽贷款。 还好来自地球的他觉醒了第二御兽天赋——奇迹进化。 只要御兽努力训练,哪怕是卑微的小虫都可以成为翱翔九天的神龙。 这是一个只要努力就有回报的故事。 多年后,江恒蓦然回首,发现身前已经再无一人,自己已经站在了大道的尽头。 曾经的青玉虫已经进化为了混沌灭世魔龙,小人鱼成为了永恒奇迹妖姬,荆棘树怪成为了永恒祈愿之树……生逢乱世,不求渡尽苍生,只求命数己定。 . 一生坎坷,只为与天争朝夕之命; 一生如画,水墨飘香自乱世情仇; . 幽火熊熊焚芸芸之众生,风雷阵阵破无间之魍魉;由于我兄弟孟强的死,我走上了侦探之路,更是接触了很多喜气股改的事情,拐卖儿童、情杀仇杀,总结出了一条经验,不要挑战人性
网络营销的营销技巧 多终端网站 常州制作网站信息 网络安全公司 招聘 网站常用颜色 网络安全宣传移动 保护网络安全的常用手段有 信息安全 网站着陆页 危害网络安全次数 家庭关系的情感维护方法有哪些?【www.richdady.cn】 儿子不读书的前世记忆【www.richdady.cn】 冤亲债主干扰的案例有哪些?咨询【www.richdady.cn】 自闭症的案例分享【www.richdady.cn】 孩子不爱读书的心理分析【www.richdady.cn】 前世老公的前世记忆【企鹅383550880】√转ihbwel 灵魂化解的重要性咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 解梦的前世因果咨询【微:qq383550880 】√转ihbwel 去世的母亲的前世因果【微:qq383550880 】√转ihbwel 纠纷的调解技巧【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 去世的母亲的去向解析【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 失业期间的心理调适方法咨询【www.richdady.cn】√转ihbwel 投资项目的收益分析咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 什么原因意外的前世缘分【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 不爱读书的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 不爱读书的咨询技巧咨询【www.richdady.cn】√转ihbwel 耳鸣对睡眠的影响咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 感情纠纷的情感和解咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 前世今生的故事如何改变命运?咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 学习成绩差咨询【www.richdady.cn】√转ihbwel 网络营销推广培训班 信息安全专业专科学校 主动营销意义 凡客建网站 信息安全 长沙网络营销推广 重构网站 邮件营销的图片 网站添加百度地图 网站常用颜色 网络安全培训会 网站设计模版 soc网络安全管理平台工业信息安全的重要性 企业网络安全评估 信息的安全性是网络信息安全的基本要求,-1 2017网络安全人才奖 nist网络安全框架 信息安全专业专科学校 主动营销意义 凡客建网站 信息安全 长沙网络营销推广 重构网站 邮件营销的图片 网站添加百度地图 网站常用颜色 网络安全培训会 网站设计模版 soc网络安全管理平台工业信息安全的重要性 企业网络安全评估 广州网站制 信息安全等级保护四级 西安网站开发 重庆网站推广 整合营销传播特点 经典网站设计 腾讯信息安全运营中心 信息安全 测评 湖南的商城网站建设 公司网站定制 如何与网站管理员联系 营销网络的方式 绵阳网站建设 信息安全审计管理办法 b2b营销推广软件 国家信息安全师 高级 揭阳网站建设 石家庄医院网站建设国际网络安全日 常见网络安全威胁 顺德公益网站制作 网络安全身份验证功能有什么用途 网络营销的发展趋势 nist网络安全框架 佛山新网站制作市场 危害网络安全次数 b2b营销推广软件 聊城网站优化 1号店微信营销方案 营销机 国内全屏网站有哪些 信息安全 rss 上海营销公司 优秀网站欣赏 国家信息安全测评信息安全服务资质证书 重庆网站推广 信息安全 十三五 facebook营销推广范本 专注武汉手机网站建设 学网络营销的学校 网络营销课程济南 企业手机网站建设策划 信息的安全性是网络信息安全的基本要求,-1 网络安全 的段子 信息安全 rss 网站app开发 网店营销策划公司 原创文章网站更新 整合营销传播特点 随着网络安全 信息安全顾问视频,-1 国测信息安全实验室 linux网络安全 论文 全球著名网络安全事件 主流信息安全产品和服务包括,-1 网络安全的核心 陕西营销型手机网站建设 主流信息安全产品和服务包括,-1 原创文章网站更新 知名网站规划 郑州网站建设电话 网站添加百度地图 长沙网站设计 主动营销意义 网站如何设计搜索框 分析我国网络营销现状分析 电商客户营销软件 网络营销的三大渠道 网站跳出率 网站常用颜色 网络安全小方向 软件 2017网络安全人才奖 南京电商网站建设公司 网络安全控制软件安全防护安全管理及法律法规等四个层次上考虑. 郑州网络营销落地 西安网站开发 主动营销意义 网络安全培训会 人网站建站 soc网络安全管理平台工业信息安全的重要性 信息安全保护条例 长春给企业做网站的公司 全球著名网络安全事件 建站员工网站 信息安全管理政策 信息安全保护条例 已备案网站 信息安全 十三五 公安局网络安全解决方案 已备案网站 广州外贸网站信息 南京网络安全厂商 第九届信息安全竞赛 台州做网站哪家好 国测信息安全实验室 漯河做网站 营销证 广州网站制 信息安全专业专科学校 全球大学信息安全排名 nist网络安全框架 机械网络营销 信息安全等级保护四级 网络安全中存在的问题有哪些问题 知名网站规划 信息安全认证中心