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

<a class="close" href="https://a7xe.uuhb.cn/">&times;</a>
2016信息与网络安全国际会议网站推广的意义莆田网站建设信息安全防护滁州做网站长春建设平台网站的公司如何做公司网站广州微网站建设案例公司网站设济南网站制做复旦信息安全考研大汉之上,铁骑所到之处,皆为汉土。 刘承穿越到了大汉王朝,可是这个汉朝并非是历史记载中人们所熟悉的那个大汉王朝。 在这个世界的汉朝,有一个特殊的群体,在历史记载中不曾存在的修武者。 传言中,修武者的巅峰,可达长生。 彪悍的匈奴,以长生天为名,控制天下修武者,企图覆灭大汉王朝的大秦遗族。 都将在这个全新却又被人熟知的时代一一登场。 刘承,将会是那个各方博弈的棋子。 在以天地为棋盘的棋局之中,当所有的人都是棋手的时候。 那唯一的棋子,将凌驾于所有的棋手之上。 一个不被历史所记载的人,一个在历史车轮转动中,被刻意抹去的人。一个肉体强大的生物,误入这个魔法的异世界,会掀起什么样的巨浪呢?期待的他的旅程吧异世大陆,强者为尊。 少年陆泽惨遭背叛,却意外获得无上神功,从此龙游苍穹,鹰翱九霄。 杀圣子,灭天骄,夺造化,逆天改命,强势崛起! 一步一登天! 一路披荆斩棘,一剑破万法! 高歌猛进,无所不克,一直走到巅峰。厌倦了都市生活的许平,机缘巧合下获得一方神秘仙境。 仙境中有山,有水,有农庄。 仙禽翱翔于山巅,神兽奔走于密林。 于是他回到农村,开启了新的人生。 种种菜,养养鱼,遛遛狗,逗逗猫,泡泡妞,抱抱娃,闲暇时刻还可以进山打猎,寻幽探险,谁说这样的生活不精彩?一手好牌打成了烂牌,虚度三十年,真是虚度韩彬穿越三国,意外觉醒震惊系统。 据说只要能震惊到曹操,就能开启金手指,走上人生巅峰。于是韩彬开始在曹操面前花式秀操作,企图震惊曹操。 结果却出乎意料…… 曹操:我得韩浩庭,如鱼得水也! 关羽:遇到韩彬这贼子,是我今生的痛! 刘备:要不是韩彬从中作梗,朕都要中兴大汉了! 诸葛亮:可悲啊!可叹啊!苍天何其不公,既生亮,何生彬! 糜夫人:可怜命运捉弄,不然我非韩郎不嫁! 韩彬:我真的只想开启系统啊!不爱写个人简介一户人家二百年的风风雨雨 世界那么大,无奇不有…… 真的存在“鬼”吗? 绝大多数人对于那些看得见“鬼魂”的人的看法,就是你疯了吧;傻子,世界上怎么会有这些东西;你那是幻觉,精神病…… 世界上最恐怖的是人––自私、自利、残暴…… 本书都是小故事构成 修仙世界因为平凡的人类的到来,而产生了秩序, 因为产生了秩序而惹怒了众神,第一次人神大战之后, 宇飞也来到了这个修仙世界, 但他一直思念着自己的女友,万万没想到的是女友玉绫璃竟然是 这个修仙世界的大佬。。。 修炼体系:练气、淬体、筑基、......
小语种网站 网站报价方案 网络营销外包推广服务 信息安全服务新架构 网络安全设备销售 唐山网站建设 企业的网络安全 建立自己的网站 网站推广的意义 复旦信息安全考研 外灵干扰咨询【www.richdady.cn】 暗恋的原因分析【www.richdady.cn】 与公婆前世的因果关系咨询【www.richdady.cn】 什么原因意外咨询【www.richdady.cn】 祖灵【www.richdady.cn】 前世老婆的识别方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 迟缓儿的案例分享咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 去世的父亲的前世案例【企鹅383550880】√转ihbwel 存不住钱的前世因果咨询【微:qq383550880 】√转ihbwel 莫名其妙感伤的原因分析【企鹅383550880】√转ihbwel 纠纷的法律咨询【企鹅383550880】√转ihbwel 佛教视角下的前世今生咨询【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 前世今生的修行方法【www.richdady.cn】√转ihbwel 亲子关系的自我提升威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 精神不振的心理调适威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 老公家暴的前世记忆咨询威:⒊⒏⒊⒌⒌O⒏⒏O√转ihbwel 官司的解决方法咨询【微:qq383550880 】√转ihbwel 特殊学校的教学方法【Q⒊⒏⒊⒌⒌O⒏⒏O】√转ihbwel 强迫症的咨询技巧咨询【企鹅383550880】√转ihbwel 婴灵的安抚与超度咨询【σσЗ8З55О88О√转ihbwel 网络安全小工具 广西网信信息安全等级保护测评有限公司 春秋网络安全官网 网络营销直接环境 常见的信息安全事件网络标题大全 网络安全 4000万中小企业网站建设 不足10% 美国 80% 信息安全典型案例 常见的网络安全体系 实战营销 网络安全检测的主要内容有哪些 网站推广的意义 营销培训视频 个人网站建立 运营商信息安全现状 南宁市制作网站的公司 北京信息安全行业分析,-1 亚信网络安全 行销与营销 国家信息安全产品 网络营销120种 高逼格网站 网络营销评价方法有哪些方法有哪些内容 常州网站建设key de 网站制作 深圳信科网络 网络安全目的 网站单选框的实现 网络安全目的 信息安全评估流程 电商信息安全方案 企业的网络安全 毕节网站建设 网络安全 努力破除 网络安全展 北京网络安全讲师 公司网络安全做什么 顺的品牌网站设计信息 网络安全设备销售 网络安全小工具 信息安全工程师培训 考试 营销标题大全 信息安全技术 终端计算机系统安全等级技术要求,-1 广西网信信息安全等级保护测评有限公司 网站兼容9 网站制作 深圳信科网络 酒店行业 互联网营销 春秋网络安全官网 网站报价方案 论坛营销和bbs 东软 网络安全 网络营销直接环境 网络营销外包推广服务 信息安全就业城市 信息安全的国家标准 常见的信息安全事件网络标题大全 网络安全 网站制作公司 郑州 无锡做网站要多少钱 能源运营平台信息安全 4000万中小企业网站建设 不足10% 美国 80% 团购网站建设 网络安全入门与提高:木马技术揭秘与防御 网络营销的表现形式 信息安全典型案例 网络营销直接环境 深圳网络安全局 公司网站设 广东省强网杯网络安全大赛 金融机构网络安全保护 唐山网站建设 广州网站设计公司招聘 建网站报价 天津信息安全等级保护 网络营销推广策略是什么意思 南宁市制作网站的公司 网络营销学习路线图 关于信息安全的公众号 济南网站制做 网络安全社团 2017网络安全生态峰会 广东省强网杯网络安全大赛 微博营销涉及的范围 电子商务的信息技术网络安全 无锡做网站要多少钱 小语种网站 运营商信息安全现状 网站兼容9 网络营销评价方法有哪些方法有哪些内容 常见的网络安全体系 小语种网站 国家信息安全产品 企业的网络安全 网站开发需要什么技术 国家信息安全产品 网络营销外包推广服务 公司网站设 东营专业网站建设 网络安全攻防linux 镇江网站推广 网络安全 职位 关于网站出现.ldb文件网站打不开解决办法换成sql server网络公司 开发网站 网站制作公司 郑州 网站和手机网站 网站单选框的实现 信息安全专业知识 春秋网络安全官网 顺的品牌网站设计信息 微博营销涉及的范围 国家信息安全测评认证中心 售后服务网站 滁州做网站 流量网站制作老王解读网络安全法 网络安全 职位 常见的信息安全事件网络标题大全 网络安全 德国网络安全法 制造业 信息安全 信息安全典型案例 邢台网站建设厂家 中国国家网络安全局 有个网站是 asp伪静态 放在空间里无法访问我怎样配置 北京信息安全行业分析,-1 信息安全典型案例 信息安全技术风险管理 网络营销的表现形式 东软 网络安全 信息安全技术风险管理 网络安全的简介 顺的品牌网站设计信息 信息安全等级保护信息安全等级保护管理办法 网络营销外包推广服务 网络安全检测的主要内容有哪些 公安部信息安全检测中心 手机网站设计咨询 国家建立网络安全监测预警和 手机网络营销的案例分析 网站制作 深圳信科网络 营销推广公司西安