如何找到CSS版本?

编程入门 行业动态 更新时间:2024-10-27 20:26:09
本文介绍了如何找到CSS版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

如何找到正在使用的CSS版本?

How do I find the version of CSS that I am using?

推荐答案

尽管CSS规范定义了多个版本(v2、2.1、3),但CSS版本与开发人员并没有真正的联系;您需要更加关注哪些网络浏览器支持给定功能.

Although the CSS specification is defined in several versions (v2, 2.1, 3), the CSS version isn't really relevant to the developer; you need to be more concerned with which web browsers support a given feature.

知道给定功能是在CSS2、2.1或3中定义的,这很有用,因为它可以使您了解该功能的年代,以及浏览器支持该功能的可能性,例如 border-radius 是CSS3的一项功能,因此使用了两年以上的浏览器可能无法完全支持它.

It is useful to know that a given feature was defined in CSS2, 2.1 or 3 because that can give you an idea of how old the feature is, and therefore how likely it is that browsers will support it -- for example border-radius is a CSS3 feature, so browsers more than a couple of years old may not support it fully.

您可以从以下站点找到哪些浏览器支持哪些CSS功能:

You can find out what CSS features are supported in which browsers from the following sites:

  • www.quirksmode/css/contents.html
  • caniuse/

更多推荐

如何找到CSS版本?

本文发布于:2023-11-03 01:06:45,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1553868.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:版本   CSS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!