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

<a class="close" href="https://qj6.111555.com.cn/">&times;</a>
大学生信息安全考证佛山新网站建设平台b/s架构网络安全网络安全 公司资质婚纱制作网站内容营销优势email营销的一般过程微信营销推广案例网络安全促进委员会简述网络营销促销过程穿越遇到兵灾,城外人食人。 世道兵荒马乱,我只想和逃难来的小婢妻努力活下去。 男子:兄台,我观你面色红润,许是患有大病啊 “大夫,您怎知晓,我这见到您身上那白花花的银两着实是心痒难耐啊。” “您不觉得这像极了我前些日头丢落的吗?” “兄台言之有理” 男子看着那脖间的刀,想了想命重要。前世,努力,学习,只是为能在娱乐圈里有一席之地,被爱情抛弃,一场大醉之后穿越重生,没有高不可攀的背景,只有小人在都市里关于爱情和事业的奋斗励志。于是,用歌抒写人生,用歌表达爱情,关于亲情友情还有爱情的爱恨交加。娱乐公司不公平的签约?不好意思,不感兴趣?想我封杀?那是不存在的,我又不是歌手?没人找我写歌?没关系,我写小说总可以吧!爱情,不好意思,我不在乎你的过往,只在乎你的未来你有没有我?看男主如何在都市里演绎小人物的生存励志故事。本小说主要写的是男主人公的成长经历上的各种事儿,如有雷同,纯属巧合。魏星落,因为在家里半夜睡觉无意间说梦话不知道什么原因偶然间穿越,因为在行为和日常生活跟魏无羡差不多有一次出去迷路昏迷在地被魏无羡捡回去后因魏无羡发现我与他的行为动作等相似,将我培养成他的继承人,于是我就这样了,系统说要成为他的继承人并能驾驭之后才能回去 ps梦女注意避雷ooc警告注意避雷,原创请勿搬运人类自诞生以来一直在与灾难较量,而人类的自私、贪婪、邪恶从未改变过。 最终人类终将会为自己所种下的恶果买单。 一场席卷全球的超级病毒疯狂肆虐!一切的平静被狠狠打破,脱掉文明袈裟的人性将暴露无疑,不止病毒,还有各种神秘组织,甚至是其他文明在背后慢慢张开他们邪恶的黑手。。别人穿越都是封侯拜相,为啥我穿越过来就只有半个小时的命? 还好有系统送了100亿两黄金! 花1两黄金就得1分钟寿命?这买卖划得来啊! 有什么事情,是用金元宝解决不了的? 1个金元宝解决不了,那就用100个、1000个! 一个落魄书生,靠着黄金开道,称霸天下的故事!就像书名上写着的,你加载了危险游戏。 总之我得,在游戏正式开始前,给你个忠告。 呃,没错,说得就是屏幕前满脸不在乎的你... 在这里! 你不该相信任何人! OK!就这样... 总之不论你是谁,在哪里,请相信我,在看到这里的时候,你已经被卷入进了这场危险的游戏当中! 你可以试着回头,可以盯住屏幕,可以闭上眼睛... 但不论你怎么做,它们就藏在你身边,或许是卧室的床下面,或许是卫生间的镜子里(谁知道呢,它们的喜好向来与众不同)。 呃... 该死—— 它们发现我了! 看来我只能送你到这里,下面的路,你得靠自己走了! 还记得我最初说过的吗? 不要相信任何人! 包括... 从床底下朝你伸出手的我!不会种田的乡村少年牛小田,误打误撞拜师老神仙,看相风水医术道法无所不能,从此人生开挂。现代社会,当天空中突然出现的巨门笼罩了整个大地,每个月都会有对应的强大怪物从门内降临,人类强敌环伺,超能力者崛起,隐世宗门现世。无论是华夏卧龙天机营、西方皇家骑士团还是北欧极地斗士,他们都有一个共同的敌人,每个月现世一次的天罚者!每一个平凡的人都是英雄,不是只有主角的故事才算叫精彩。
网站申请 网络营销系统 网站流程图 酒店营销推广事例 网络安全等级保护标准 大学生信息安全考证 网站恶意刷 什么叫网络的软营销 大连地区网站建设 重庆信息安全评测 与女友前世的记忆解析【www.richdady.cn】 冤亲债主的干扰与超度咨询【www.richdady.cn】 如何解决孩子不爱读书的问题?【www.richdady.cn】 财运不佳的财富规划如何制定?【www.richdady.cn】 去世的母亲的影响分析咨询【www.richdady.cn】 为什么过世咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与女友前世的前世案例【σσЗ8З55О88О√转ihbwel 前世老婆的前世解析【微:qq383550880 】√转ihbwel 去世的父亲的前世案例咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 大龄剩女的情感困扰【微:qq383550880 】√转ihbwel 有官司的预防措施【微:qq383550880 】√转ihbwel 无形干扰咨询【微:qq383550880 】√转ihbwel 家庭关系的改运方法【σσЗ8З55О88О√转ihbwel 前世老公的前世影响威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 阴间生活的前世修行咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 心特别累的案例分享【微:qq383550880 】√转ihbwel 迟缓儿的环境影响【σσЗ8З55О88О√转ihbwel 忧郁症的前世记忆【σσЗ8З55О88О√转ihbwel 家宅磁场对居住者的影响【σσЗ8З55О88О√转ihbwel 莫名其妙感伤的自我提升【www.richdady.cn】√转ihbwel 网络安全 公司资质 网络安全解决方案设计原则 网络安全促进委员会 保密网络安全检查 景区类网站 新网络安全专题 中国计算机信息安全,-1 中国网络安全级别 基于html5设计的网站建设 江津网站建设 无线网络安全措施 成都网站开发公司排名 风雨同舟网站建设 网络安全产品idc排名 大连地区网站建设 网站申请 佛山新网站制作咨询 违反信息网络安全案例 网络安全促进委员会 保密网络安全检查 景区类网站 新网络安全专题 中国计算机信息安全,-1 中国网络安全级别 基于html5设计的网站建设 江津网站建设 无线网络安全措施 成都网站开发公司排名 风雨同舟网站建设 网络安全产品idc排名 互联网网络安全ppt信息安全及其解决方案 兰州网站建设 深圳网络安全咨询公司 景区类网站 网站赏析 网络安全周启动? 旅游模板网站 搜索型网站 信息安全管理的基本任务 网站流程图 国家信息安全测评申请模版 网站稳定性 福州网站制作好的企业 风雨同舟网站建设 北京网站建设公 龙岗网站建设 信科网络 企业网站快速建立aspcms2.2新手完全自学视频教程 免费下载 app营销的劣势整合性营销 西安网站挂标 信息安全峰会是什么 无线网络安全措施 信息安全服务工具列表 佛山新网站制作咨询 内容营销的概念和特点 网络营销与网络广告 郑州网络安全 信息安全技术 服务器技术要求 linux网络安全配置 如何建立企业网站 婚纱制作网站 违反信息网络安全案例 违反信息网络安全案例 app营销的劣势整合性营销 酒店营销推广事例 郑州网络安全 医院信息安全方案 加强信息安全的建议 网红营销执行方案 网络安全促进委员会 什么叫网络的软营销 asp.net网站采用编译后执行首次执行需要进行编译 自学信息安全 信息安全泄密案例 信息网络安全视频 新网络安全专题 佛山新网站制作咨询 信息安全数据 北京邮电信息安全 基于html5设计的网站建设 网络安全110 网络信息安全口令攻击 酒店营销推广事例 教育行业信息安全方案 海口网站建设 营销沙龙 商丘做网站哪家好网站建设公司 南京 代防火墙与网络安全中的防火墙有何联系和区别 专业信息安全服务资质证书,-1 网络营销与网络广告 网络安全委员会 果园 企业手机网站建设机构 兰州网站建设 网络营销体系 营销经典 网站的大小 高中信息技术信息安全 网站维护说明 镇江网站制作 营销学知识 成都网站开发公司排名 许可email营销的特点 信息安全等保二级 采购 旅游模板网站 网站建设学费多少钱 内容营销优势 营销学知识 江津网站建设 大连地区网站建设 深圳哪里学网络营销网站建设创始人 网站免费 信息安全等级保护第五级 网络安全文稿 网络安全解决方案设计原则 福州网站制作好的企业 网红营销执行方案 怎样黑网站 内容营销的概念和特点 网络营销系统 深圳网站制作公司 深圳网络安全咨询公司 自适应网站优点缺点 邮箱营销软件哪个好用 营销网事 冯英健 内容营销 上海制作网站的公司 代防火墙与网络安全中的防火墙有何联系和区别 中国计算机信息安全,-1 天津市信息安全测评中心 镇江网站制作 长沙做网站多少钱 建立网站时间 北京网站建设公 池州网站建设 信息安全服务工具列表 网络安全 维基