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

<a class="close" href="https://yreh.uzrs.cn/">&times;</a>
成都企业网站建设脚本对于网络安全信息安全 身份鉴别工业信息安全培训课程网络安全责任部门好的数据库网站外贸公司的网站建设模板下载软件信息安全方案我国网络安全形势美食网站案例  唐初,贞观二年,李盛穿越成大唐年间里的一个小太保,此时,遭遇突厥人袭击的李世民、杜如晦等人意外来到了庄里。   更令李世民等人意外的是,这个小太保家中的东西竟然很不一般!   “李盛,化学反应是什么?吸热反应又是何物?”   李盛:“我...&amp;quot;任人欺凌的吴用,从小就梦想有一天,挺自腰杆行侠仗义。 胸大无脑的杨茜茜,一直幻想着成为商界的女强人。 碌碌无为大半辈子的齐叔,总想着把45平米的洗衣店做到全国开花。 “做我陈越的朋友,心想事成,荣华富贵唾手可得。” “与我为敌,看看那些原始森林一般的坟头草,就知道他们的下场有多么的凄凉。。”主角李萧雨穿越到了修仙世界,开启了一番奇妙的旅程皇七夕出生于七月初七,儿时体弱多病,家道中落,受尽欺凌。终激活仙脉,能文能武,文,读书过目不忘,先知先觉后3年人间事,武,太极八卦拳,练成独门神打绝技,且看他,学业和事业上一路高歌,不为官,只为商,终成一方商业霸主,江山如画。清末民初是个动荡不安的年代,同样也是英雄辈出的年代。李氏家族由无到有,由兴盛再到衰落,时间鉴证了这一切。他们不屈不挠,拼搏奋斗的精神,将永远激励我们不断前行。威武华夏!04年出狱的陌言,于06年年满23岁生日的那天,将自己病态的一生结束。没人知道他为什么结束自己的一生,也没有人知道他经历过什么。只有他自己知道,和从他身边离去的生命知道。一个持续万余年的计划 只为对抗 第一圣人毁灭世界的阴谋 却不想其他世界的误入 让整个行动造成了无法挽回的偏差 是绝地重生? 还是陷入绝望…… 书生孟浩被白娘娘绑上了白蟒峰,成为了压寨夫君,还承担了教导小妖怪们读书识字的任务。 后来,整个白蟒峰的画风都有些不对劲了…… 小橘猫:“三十年河东,三十年河西,莫欺少年穷!” 蛤蟆剑修:“一株草亦可斩尽日月星辰!” 金翅大鹏:“即使背负天渊,需一手托白蟒峰,我金翅大鹏依然无敌于世间!” “全体妖族起立,拜见先生!”我居然因为熬夜猝死了!但是我并没有直接死去,我穿越到了异世界。在这个世界,我拥有存档系统!于是,一场不平凡的异世界之旅开始了。“陛下不好了!下凡捉妖的天兵天将全被打趴了!” “陛下大喜事!狱神出手了,妖怪都被打趴了!” “陛下不好了!狱神突然收手……他跑路了!” “酉时了,他…下班了!” 玉帝气得拍了拍龙辇,并且在极度愤怒的情况下愤怒了三天三夜… 三界出了个朝九晚五的楚大佬,从此画风变了。 刚破封的罗睺:三界什么时候出了这么一个猛人?我差点被锤爆! 西方教大佬:+1,现在只敢星期六日出来溜达,因为那俩天,楚大佬不上班 玉皇大帝:楚大佬求求你加个班,当个人吧!
信息安全等级保护安全建设专业技术人员证书 网络营销行业介绍 厦门模版网站 刚建的网站百度搜不到要建立网站是否要先做网页设计然后把网页设计与数据库连接起来? 网络安全分析方法 长春做网站电话 首届国际机器人网络安全大赛 美食网站案例 北邮 信息安全培训大会 监控网络 网络安全 前世老婆咨询【www.richdady.cn】 前世老公的前世记忆【www.richdady.cn】 大龄剩女的情感困扰咨询【www.richdady.cn】 外灵的预防措施咨询【www.richdady.cn】 内心恐惧胆怯的原因分析咨询【www.richdady.cn】 前世缘份的故事有哪些真实经历?【微:qq383550880 】√转ihbwel 财运不佳的财富规划如何制定?【企鹅383550880】√转ihbwel 冤亲债主的定义咨询【微:qq383550880 】√转ihbwel 精神不振的原因分析咨询【σσЗ8З55О88О√转ihbwel 大龄剩女的婚恋规划威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 头脑混沌的原因及对策【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 不爱读书的环境影响咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 忧郁症的改运方法【企鹅383550880】√转ihbwel 老公家暴的前世记忆【www.richdady.cn】√转ihbwel 亲子关系的沟通技巧咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 内心恐惧胆怯【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与女友前世的识别方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 与男友前世的故事分析威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 大龄剩女的婚恋现状【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 头脑混沌的咨询技巧咨询【微:qq383550880 】√转ihbwel 移动终端信息安全,-1 达内2016网络营销seo 房地产 网站 设计制作 石家庄网络营销 网络安全分析方法 贵阳设计网站网站设计和制作费用 系统网络安全测试 青岛做网站建设的公司 我国信息安全风险评估 成都企业网站建设 网络安全部署情况 戴尔营销 个人怎么制作网站 网络安全靶机 软件信息安全测评 东莞寮步网络营销 局域网中网络安全设计的原则 移动信息安全中心,-1 房地产 网站 设计制作 web安全和网络信息安全 网络安全法 关闭网站 网络安全靶机 成都企业网站建设 移动终端信息安全,-1 网络安全责任部门 情感营销策略案例 免费企业营销网站制作 天钥网络安全审计系统 网络安全世界领导人奖 武汉网站制作 app开发 网站轮换图 网络安全管理指引 局域网中网络安全设计的原则 百度竞价营销 戴尔营销 全国专业信息安全服务资质咨询公司,-1 长春网站优化 网络安全部署情况 网络营销产品的开发 长春做网站电话 首届国际机器人网络安全大赛 南京做网站 网络安全 四个层次上考虑. 厦门模版网站 信息安全管理的基本任务 免费网站空间申请 我国信息安全风险评估 用凡科网建设的网站和用dreamweaver建设的网站有什么不一样 衡水高端网站建设 互联网营销和传统营销的区别 常德网站优化 网站轮换图 企业网站建设 深圳外贸响应式网站建设 新浪微博营销 石家庄网络营销 网络安全的形势 网络营销产品的开发 北京网络安全上市公司 网络安全有哪些职业 营销企划案 中国搜索提交网站 天钥网络安全审计系统 建个网站 大连网络安全 ui的含义网站建设 山东企业网站建设公司 企业网络信息安全培训班 网络营销灰色项目真假 网络安全世界领导人奖 网站轮换图 国网计算机信息安全,-1 企业网络信息安全培训班 web安全和网络信息安全 香奈儿网络营销策划书 网络安全缺陷定义 web安全和网络信息安全 网站建设vs网络推广 局域网中网络安全设计的原则 北邮 信息安全培训大会 无线网络安全解决方案 网站建设vs网络推广 网络信息安全 期刊 武汉网站制作 app开发 网络安全部署情况 重庆企业网站推广 青岛高端网站开发 麦包包营销 网络安全下的审计历史 如何建自己的个人网站 情感营销策略案例 做信息安全需要的技能 成都企业网站建设 网络安全有前景吗 移动网络安全管控 网络信息安全 期刊 重庆企业网站推广 深圳网络安全检测公司 企业网络信息安全培训班 营销型网站设计 深圳外贸响应式网站建设 上海银基信息安全技术 网络整合营销公司招聘乐清英文网站建设 网络安全有哪些职业 网络营销教程视频商务网站建设公司 青岛高端网站开发 首届国际机器人网络安全大赛 建个网站 排版的网站 网站背景怎么换 营销型网站的例子 移动终端信息安全,-1 网络安全与信息化领导 网站的颜色 网络安全的图片有哪些 信息安全管理的基本任务 网络安全世界领导人奖 不属于计算机网络安全技术的是 网站制作公司合肥 网络信息安全防护体系 信息安全管理的基本任务 长春做网站电话 网络信息安全 期刊 紫网站建设 长春做网站电话 网络营销灰色项目真假 做一个营销型网站多少钱 做信息安全需要的技能 网络安全靶机 国企网站建设 工业控制网络安全态势 网络信息安全 期刊 新浪微博营销 网络安全扫描与实现 江西南昌网站定制