如何验证CSS中的供应商前缀,如-webkit-和-moz-?
问题描述:
我使用webkit / mozilla边框半径和框阴影CSS属性,但我想要CSS验证(它目前没有)。有没有办法让它验证?
I use the webkit/mozilla border radius and box shadow CSS properties, but I want the CSS to validate (which it currently does not). Is there a way to get it to validate?
答
不,他们是浏览器具体的属性,而在标准的CSS规范中没有定义。
No, they are browser specific properties, and not defined in the standard CSS specification.
话虽如此,他们正确地遵循CSS的供应商特定扩展的规则。它只是不是在W3C官方CSS规范。
That being said, they correctly follow the rules for vendor specific extension of CSS. It's just not in the W3C official CSS specification.