CSS Keyframe animations for all browsers?

前端 未结 2 490
被撕碎了的回忆
被撕碎了的回忆 2021-01-21 20:41

I have a swing animation that I would like to work on all (modern) browser. Do I have the correct css?

Also, what are the other browsers equivalent for: -webkit-transfor

2条回答
  •  鱼传尺愫
    2021-01-21 20:55

    I have a swing animation that I would like to work on all (modern) browser. Do I have the correct css?

    This question does not fit SO... just prepare a Fiddle, try it yourself, and IF it does not work, come back asking WHY it does not work. Don't post code asking IF it works.

    Also, what are the other browsers equivalent for: -webkit-transform-origin:top;

    • transform-origin
    • -ms-transform-origin

    also, is there an easier way to write this out, seems like a lot of code? Im using less.

    You can generate prefixed code on-the-fly with Prefix Free, or at compile time with Prefixr, but since you are using LESS, take a look at LESS Prefixer.

提交回复
热议问题