[英]CSS (Keyframes): Sorry, the at-rule @-moz-keyframes is not implemented
While validating for CSS3, following error can be seen for my Website: 在验证CSS3时,对于我的网站可以看到以下错误:
Sorry, the at-rule @-moz-keyframes is not implemented 抱歉,规则@ -moz-keyframes未实现
Below is the CSS code: 以下是CSS代码:
Line 16: 第16行:
@-moz-keyframes spin {
0% {
-moz-transform:rotate(0deg)
}
100% {
-moz-transform:rotate(359deg)
}
}
@-webkit-keyframes spin {
0% {
-webkit-transform:rotate(0deg)
}
100% {
-webkit-transform:rotate(359deg)
}
}
@-ms-keyframes spin {
0% {
-ms-transform:rotate(0deg)
}
100% {
-ms-transform:rotate(359deg)
}
}
@keyframes spin {
0% {
transform:rotate(0deg)
}
100% {
transform:rotate(359deg)
}
}
.fa-rotate-90 {
filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
-webkit-transform:rotate(90deg);
-moz-transform:rotate(90deg);
-ms-transform:rotate(90deg);
transform:rotate(90deg)
}
I would like to know what kind of CSS validation Error is this and what can be the better solution for this error 我想知道这是哪种CSS验证错误,什么是解决此错误的更好的解决方案
According to caniuse , the -moz-animation
(and corresponding @-moz-keyframes
) was used by Firefox 5-15. 根据caniuse的说法 ,Firefox 5-15使用了-moz-animation
(和相应的@-moz-keyframes
)。
Most likely the validator you're using assumes (rightly) that effectively all serious users (at least 99.65% of Firefox users , even less in the total scope of things) will be using a more modern Firefox than Firefox 15. 您正在使用的验证程序最有可能(正确地)假设所有有效用户(至少占Firefox用户的 99.65% ,在总范围内甚至更少)将使用比Firefox 15更现代的Firefox。
As a result, it's pretty safe to leave it out if you're want to remove the "error". 因此,如果您要删除“错误”,则将其遗漏是非常安全的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.