我只是将一个alredy制作的CSS文件转换为LESS,并想知道为什么我不能在较少的样式表中添加transition-timing函数
代码
-webkit-transition-timing function: linear, ease-in;
-moz-transition-timing function: linear, ease-in;
transition-timing function: linear, ease-in;
错误
原因?
答案 0 :(得分:1)
1)你在功能之前错过了-
。
2)您只能为*-transition-timing-function
定义一个值。
<强> CSS 强>
transition-timing-function: ease-in;
-o-transition-timing-function: ease-in;
-moz-transition-timing-function: ease-in;
-webkit-transition-timing-function: ease-in;