how to get the css version

前端 未结 5 1686
情歌与酒
情歌与酒 2020-12-31 03:19

How do i get the version of CSS that I am using?

5条回答
  •  感动是毒
    2020-12-31 04:13

    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.

    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.

    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/

    Hope that helps.

提交回复
热议问题