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

<a class="close" href="https://r68.rovu.cn/">&times;</a>
广东做网站深圳公司网站改版通知网络安全是国家安全合肥网站建设网站专业销售团队介绍建网站咨询互联网营销是什么南宁网站忧化网络安全测评备案网站建设优秀网站建设昆明微网站制作微博与粉丝互动的营销案例【系统+末世+修仙+恶搞+无敌+爆笑】 苏依山重生之后,发现整个世界变了,凶兽横行,神祇鬼怪降临。 他却被系统诅咒,他身上的一切因果都将反转。 剑神:“我这一剑斩中他的大动脉了,必死无疑。” “为什么他还在喷血,就是不死?” 苏依山:“兄弟,看你伤得不轻,我给你来个治疗术。” “WDNMD!老子人没了!” …… 苏依山:“听说你很凶,今天你不打死我,就别想走出这道门!” 前期境界练气境、练力境、内壮境、兼修境、不息境、气变境、金身境、御气境。灾厄降临 无数人类化为丧尸 秩序崩塌 人性在此刻展现的淋漓尽致 无数人类为生存而奋斗 在这里,野心得到空前的膨胀 紫色瞳孔,控制万物 血色瞳孔,嗜血无敌 蓝色瞳孔,时间之王 绿色瞳孔,奶尽天下 黑色瞳孔,恐惧诸天 “叮…………搞笑宿主获得母巢一座” “恭喜宿主召唤混元大罗金仙一位” “恭喜宿主召唤灵狐者∞位” “恭喜宿主召唤疾风剑豪”一场三国游戏测试,使魏伪,陈伟,贺随,张洲四人穿越到游戏。在这个群雄逐鹿,战火纷飞的虚拟世界里,他们能闯出属于他们是一亩三分地吗...回到古代,成为一个小小的家丁,楚尘开始了自己的逆袭之路。 啥?被人当做童养夫,媳妇还不待见? 无妨,无妨,第一才女还在痴心等候呢,要不然考虑给一次机会? 啊?番国国师还要来登门辩经? 不怕,不怕,丢给一本《西游记》让他参悟,没准就能白日飞升了。 咦?燕国女帝又来密信要讨论人生哲理? 何必,何必,陛下要不我们还是躺下聊吧。 一剑转身三千里,一言可退百万师。 哥虽然不在江湖,但江湖上处处都有哥的传说。 我楚尘来了,就注定要名震天下!流水线工人意外穿越至异界,开启了他的一段传奇人生。 几时梦回仙音,何来不续前弦 寒霜落下时,拥你入怀乡 一剑皓月仙穹,一指度日连天 天穹下:“我欲破天归来,何须苍穹来渡。” 一剑天玄,九剑破天梁凡穿越到被中洲国国丈废弃后扔到边疆的皇子身上,正赶上国丈买通马匪前来杀自己,危急时刻梁凡获得异宝地精之力,反杀马匪。 梁凡投入军中,一步步崛起,待回京欲要表明身份,夺回大权时,却生异变,身受重伤,被烈阳、烈一一父女二人救回极北狼族疗伤。 极北冰寒之地潜伏的狼魂,慢慢苏醒··· 莽莽戈壁滩上狼烟四起的凶兽战场··· 危机四伏的丛林,神秘的古巫族,奇闻中的东海修仙族··· 我本良善,奈何凶兽环伺左右! 准备好,凡爷来了! 高中没考上因救人死亡的江文重生回高中时代,起初想在自己的青春大搞一场,成为众人瞩目的那个最靓的仔,当异世界的经历让他懂得了珍惜眼前人才是最重要的.............. 震惊!   九旬老邪祟被当街殴打,并被捏断脖子;河畔女尸被人揪住头发,按在水里差点淹死;冤死灵童被强制劳动每天二十三小时五十九分钟,最终不堪重负,主动报案称有人虐待童工……   吴甚:大家别听外面的人瞎说,其实世界上根本没有邪祟。   众人:我信你个鬼哦,你手里抓的是什么?   吴甚看了看手里已经在翻白眼的吊死鬼,连忙发力,“蓬”的一下将其捏死,看着化为黑雾消散的吊死鬼,笑道:“诺,你们看,什么都没有,一切都是幻觉。”
建音乐网站 重庆微信营销的公司有哪些 网站的价值与网站建设的价格 网站建设基本流程备案 为什么网站生成后不显示 营销新创意 营销型网站设计房地产 营销型网站的例子 重构网站 网站设计模块 性压抑的前世影响咨询【www.richdady.cn】 缺心眼的案例分享【www.richdady.cn】 不爱读书的解决方法【www.richdady.cn】 前世缘份的故事有哪些经典案例?【www.richdady.cn】 前世缘份的识别方法咨询【www.richdady.cn】 灵魂种子治疗咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 自闭症的心理调适咨询【www.richdady.cn】√转ihbwel 与公婆前世的咨询技巧【微:qq383550880 】√转ihbwel 强迫症的案例分享咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 外灵干扰的原因分析【www.richdady.cn】√转ihbwel 冤亲债主的干扰影响【www.richdady.cn】√转ihbwel 纠纷的案例分享咨询【企鹅383550880】√转ihbwel 如何化解冤亲债主的干扰?咨询【www.richdady.cn】√转ihbwel 心慌胸闷头晕的原因分析咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 与老公前世的识别方法咨询【σσЗ8З55О88О√转ihbwel 与女友前世的前世解析咨询【企鹅383550880】√转ihbwel 前世缘份的前世记忆咨询【www.richdady.cn】√转ihbwel 如何发现前世缘份【σσЗ8З55О88О√转ihbwel 升迁障碍的咨询技巧【σσЗ8З55О88О√转ihbwel 耳鸣的医学检查咨询【企鹅383550880】√转ihbwel 南宁网站优化 网络安全问题产生的原因包括( ). 外贸营销服务 网站设计行业资讯 网络营销的策略是什么意思 武汉大学网络安全 个人网站制作 营销策略特点 知识营销中间页 网站-网站建设定制 做一个营销型网站多少钱 网络安全探究 互联网营销是什么 多终端网站 引擎营销的四个过程 国家信息安全等级保护制度 拨号访问控制 深圳网站建设服务公司 网络安全与对抗研究 做一个营销型网站多少钱 杰森影像网站建设 微博与粉丝互动的营销案例 网站建设图片 网络安全信息通报 滕州做网站 网站设计模块 中山网站推广 双十一内容营销 微信营销标题怎么写 宣传型网站 天钥网络安全审计系统 网络营销有用的书籍 桌面端的信息安全 网站的价值与网站建设的价格 广告全网营销策划 石家庄网络营销 网络营销的策略是什么意思 服务营销优缺点 石家庄网络营销 中国信息安全测评中心隶属 多终端网站 网络安全设备品牌 昆明微网站制作 顺德公益网站制作 网站有几类 合肥整合营销平台 如何快速提高网站排名 外贸营销服务 信息安全建设依据 合肥网站制作报 重庆微信营销的公司有哪些 做网站团队 网络安全攻防 支付宝的网络营销 宣传型网站 网络营销的策略是什么意思 网络安全是国家安全 2017信息安全趋势 ui的设计网站 国家网络安全周 文件学习 武汉大学网络安全 ui的设计网站 做网站团队 电商做网站 诸城网站制作 网络营销有用的书籍 信息安全大赛比什么 营销策略特点 机器人 信息安全深圳市计算机网络公共网络安全协会 建网站咨询 安天 网络安全 关于注意网络安全 知识营销中间页 创新的商城网站建设 网络安全公司的前景 广东做网站 绵阳市公司网站建设 营销型网站的例子 投诉期新产品 营销策略 合肥做网站域名的公司python. 信息安全 微信营销标题怎么写 2014 网络安全事28岁报达内网络营销 信息安全技术 路由器安全技术要求 网络营销模式发展现状 内容营销的概念和特点是什么 企业内部信息安全平台,-1 2017信息安全趋势 机器人 信息安全深圳市计算机网络公共网络安全协会 微企免费网站建设 广告全网营销策划 微信公众号市场营销方案 多终端网站 双十一内容营销 微信公众号市场营销方案 信息网络安全员 手机网络安全论文 引擎营销的四个过程 网站有哪些 网络营销效果分析报告 网站建设基本流程备案 织梦网站图片代码 国家信息安全等级保护制度 拨号访问控制 珠海企业集团网站建设 网络营销教程视频 营销型网站的例子 深圳网站建设服务公司 深州网站 监控网络 网络安全 保健品网站设计 自助网站 学院网站规划方案 网站建设优秀网站建设 如何做一个大型网站 网站有几类 南宁网站忧化网络安全测评备案 东莞网络营销外包 网络安全准入系统 重庆微信营销的公司有哪些 重构网站 织梦网站图片代码 营销新创意 中国国安局 网络安全 沂水做网站 知识营销中间页 医院信息安全解决方案 网站建设图片 给 小企业 建设网站 请问大连谁家做网站 东莞网络营销外包 网络安全信息通报 南京专业做网站的公司 网络安全探究 全国专业信息安全服务资质咨询公司,-1 联想电脑网络营销 深圳外贸网站建设 金融科技 网络安全