@keyframes关键帧动画写在less里的时候,务必要写在所有的{}之外,不能被{}包裹甚至务必写在代码的最后不然报错Compilation resulted in incorrect CSS. The @keyframes ended up inside a body of rule set located at 4:1.