Is there any advantage to using CSS animations over jQuery animations? (performance, or otherwise)

前端 未结 6 1112
执念已碎
执念已碎 2021-01-12 11:59

I mean, CSS animations are cool, but CSS3 compliance is annoyingly un-standard. but, ignoring all the issues with browsers and their inability to be up-to-date with the late

6条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-12 13:02

    To all the people who think Javascript is better for browsers that are older, that's not necessarily true. Thinking about Andy Clarke's take on this, it seems like it's easier to tell an elegant story with good, accessible fallbacks using solid semantic markup and CSS3 than it is with Javascript.

    http://forabeautifulweb.com/blog/about/its_a_mad_mad_mad_mad_manimation/

提交回复
热议问题