'transition-timing function'减少跳转语法错误

时间:2011-09-19 07:58:10

标签: css less transitions

我只是将一个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;

错误

enter image description here

原因?

1 个答案:

答案 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;