如何获得css版本 [英] how to get the css version
问题描述
我如何获得我使用的CSS版本?
How do i get 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:
- http://www.quirksmode.org/css/contents.html
- http://caniuse.com/
希望有所帮助。
这篇关于如何获得css版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!