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

<a class="close" href="https://4dsr.71119.cn/">&times;</a>
大型门户网站建设秦皇岛建网站公司清华信息安全实验室 2014科研工程师高端网站建设定制禹州网站建设建设公司网站的重要意义重庆綦江网站制作公司推荐外贸网络营销外包服务sem整合营销哪里好南京餐饮网络营销公司以同名漫画《大理寺日志》改编,添加了一个自设加入(且体可查看“附录”)作者初心是希望在加入自己自设人物的后时写一份精彩的《大理寺日志:文字版》希望大家多多支持! 附录:(其他人物皆出于原创,在此只介绍自己加入的角色了) 姓名:郑珏 身世:唐代五门望族“荥阳郑氏”的小女儿 身高:156 年龄:离家时年仅十三岁 武器:匕首 其他信息会在文中介绍,在此不便多说,望各位原谅冒险可以使人成长天赋不够,系统来凑。 穿越异界的顾言喜提回收系统。 世间万物回收之下都可以超级加倍? 那岂不是无敌了? 信心满满的顾言当即就决定这一世一定要不同凡响走向世界之巅。 本故事纯属虚构,如有雷同,恭喜恭喜,所见略同。一阵眩晕竟穿越成了历史上的他,一个集开国君主和战神的合体,一生无败仗。 到了这等虎狼之地,他明白要想在这种乱世中活下去,必须要尽快适应这里的一切,一路在冰冷权谋和残酷战争中逆袭而上。 东晋十六国中统一北方的苻坚站在长安城上举目远眺,形势一片大好。 灭了东晋便能一统江山,然而,他身后是一个强大的民族,慕容鲜卑族的崛起,到底谁能一统江山。一场淝水之战,彻底逆时针改变了华夏历史,最终一代雄主在北方崛起。哥有哥的位置,你有你的位置……任人欺凌的吴用,从小就梦想有一天,挺自腰杆行侠仗义。 胸大无脑的杨茜茜,一直幻想着成为商界的女强人。 碌碌无为大半辈子的齐叔,总想着把45平米的洗衣店做到全国开花。 “做我陈越的朋友,心想事成,荣华富贵唾手可得。” “与我为敌,看看那些原始森林一般的坟头草,就知道他们的下场有多么的凄凉。。”每个人都做过一些不同寻常的梦,而梦中总会让人觉得毛骨悚然,以至于成为童年的阴影,为什么会出现这样的故事,也许在冥冥之中,有的人正身处其中,而你的灵魂却触碰到了另一个世界的黑暗,所以有的东西,应该睡醒了就忘记……此书摘自于人类的睡梦。 末世纪元,丧尸危机爆发,大地生灵涂炭,人类逐渐走向灭亡……… 而白羽泽却带着死前记忆重回危机爆发前一个月。 “迷茫之中,该何去何从?” 规划、防守、武器订购、受难者基地崛起…… 危机面前,是生,还是死? 历史给予我新生,我必将改写历史! 在此,请见证,新时代的到来………… 东汉末年,汉室崩塌。 刘闲意外穿越到这乱世,开始一段传奇人生。 利用遥遥领先这个时代的知识,收名将,戏红颜,混的风生水起。 同时训练出一支傲视当世的铁血精锐。 刘姓为王,大浪淘沙。 待一切尘埃落定之后,一个完全不同的大汉帝国重新出现在了大地的东方。陈阳穿越到了高武世界,获得了一个能查看人生剧本的系统! 这人生剧本,能预知人未来,查看命格,甚至连对方的最近机缘都一目了然! “绝世机遇!?不好意思,我先收为敬!” 三流的主角等机缘。 二流的主角找机缘! 而陈阳:机缘在哪,我就在哪!
买网站模板 植入式营销主要形式 南阳做网站 品牌情感营销案例 数据库网络安全措施 依法附有网络安全 有哪些网络安全团队招人? 佛山微信营销 信息安全名词 企业间网络营销模式 外灵干扰的案例分享咨询【www.richdady.cn】 感情纠纷的解决技巧【www.richdady.cn】 前世今生查询服务【www.richdady.cn】 外灵干扰的前世因果【www.richdady.cn】 家庭关系的心理调适咨询【www.richdady.cn】 失业的案例分享【σσЗ8З55О88О√转ihbwel 孩子学习不好的解决方法咨询【微:qq383550880 】√转ihbwel 与女友前世的影响分析【www.richdady.cn】√转ihbwel 发育倒退的原因分析【www.richdady.cn】√转ihbwel 强迫症的案例分享【σσЗ8З55О88О√转ihbwel 脑部不清晰的环境影响【σσЗ8З55О88О√转ihbwel 有官司的法律援助咨询【微:qq383550880 】√转ihbwel 老公家暴的前世记忆威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 孩子学习不好的心理调适【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 亲子关系改善建议咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 心理咨询与灵性指导咨询【www.richdady.cn】√转ihbwel 自闭症的自我提升【企鹅383550880】√转ihbwel 前世缘份的前世缘分咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 学习成绩差的家庭教育咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与女友前世的前世缘分咨询【微:qq383550880 】√转ihbwel 2017 网络安全 宣传 网络安全工程学院 信息安全服务集成资质 无线网络安全性密码 营销价是什么 2014年网络安全大事件 当前php环境关闭了文件上传功能网站将无法上传图片和文件 昆山苏州网站建设 网络安全大会 数据 个人信息 网络信息安全难学吗 信息安全研究院 上海网站定制公司 南宁会制作网站的技术人员 手机端网站开发 工控网络安全行业 河源做网站 数据库网络安全措施 手机网络营销普遍问题 公安信息安全助手网址,-1 网络安全艺术字 信息安全 实践 旅行社网络营销策划书 佛山电商网站制作团队 佛山电商网站制作团队 南宁会制作网站的技术人员 内蒙古网站建设 青岛制作网站哪家公司好 哈尔滨的网站设计 北京网站维护 有哪些网络安全团队招人? 界面营销 清华信息安全实验室 2014科研工程师 南昌哪里有网站建设 上海网站定制公司 昆山企业网站设计 中国国家信息安全测评认证中心 网络安全攻防题库河北公司网站制作设计 2017网络安全调查报告 信息安全研究院 tcp/ip协议族加密术和网络安全 保定专业做网站 信息安全研究院 培训网站 建 微网站免费制作 网站的目录结构 手机网络营销普遍问题 关于网络安全基线 网络营销整体方案 网站域名 互联网网络营销前景分析 8469网站 2015.6.1网络安全主题 成都 企业网站建设公司 企业做网站 依法附有网络安全 网站建设价格标准信息 南京餐饮网络营销公司 网络安全联合实验室 百度搜索营销 营销九连环 网络营销整体方案 全面的移动网站建设 温州手机网站制作推荐 网络安全宣传周ppt 信息安全软件展会2017 信息安全名词 数据中心 网络安全法 手机端网站开发 信息网络安全等级保护工作自检自查报告 信息安全软件展会2017 网站外接 微博营销的好处和坏处 网络安全信息工作协会 网站外接 南阳做网站 依法附有网络安全 2015年网络安全数据 培训网站 建 网络信息安全学什么,-1关于信息安全的资料 南昌哪里有网站建设 昆山企业网站设计 网络安全等级怎么设置 秦皇岛建网站公司 6.2信息安全 网站色彩学 重庆做网站哪家公司好 2017 网络安全 宣传 固原网站建设 微网站免费制作 网络安全工程师和黑客 昭通网站建设 当前php环境关闭了文件上传功能网站将无法上传图片和文件 快速网络营销 公司信息安全管理 虚拟化 网络安全 It信息安全心得 友情网站制作 植入式营销主要形式 网络营销网站怎样收费 数据库网络安全措施 营销价是什么 友情网站制作 大连网站建设公司 8469网站 网络营销之微信 本地佛山顺德网站建设 信息安全服务集成资质 2016网络安全教师 网警提示信息安全 南阳做网站 贵州网站建设 响应式网站设计的要求 网络安全 指导原则 四川省网络安全报警 顺德营销网站设计 口碑营销重要性 tcp/ip协议族加密术和网络安全 实验室信息安全检查 网络营销网上营销 工控网络安全行业 贵阳网站seo 网络营销环境ppt 番禺网站建设专家 响应式网站栅格 互联网网络安全态势 北京网站维护 信息安全师考试科目 外贸网络营销外包服务 南宁会制作网站的技术人员 快速网络营销 深圳购物网站建设 关于网络安全基线 本地佛山顺德网站建设 买网站模板 建设公司网站的重要意义