如何验证CSS中的供应商前缀,如-webkit-和-moz-? [英] How to validate vendor prefixes in CSS like -webkit- and -moz-?

查看:162
本文介绍了如何验证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?

http://jigsaw.w3.org/css-validator/

推荐答案

不,他们是浏览器具体的属性,而在标准的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.

这篇关于如何验证CSS中的供应商前缀,如-webkit-和-moz-?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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