http://www.zhangxinxu.com/jq/stylus/keyframes.php
如果我们只想有标准解析,很简单,修改vendors:
vendors = official
@keyframes foo {
from {
color: black
}
to {
color: white
}
}
小程序开发过程中遇到一个坑, stylus编译keyframes生成前缀时就会报错。
原以为小程序对css3 animation的支持有问题,找了半天,发现坑在keyframes的前缀上。
Comments
请在后台配置评论类型和相关的值。