如何找到CSS版本? [英] How to find the css version?

查看:44
本文介绍了如何找到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:

这篇关于如何找到CSS版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆