Maybe it's time to beat Babbage here.
I cannot correctly understand the confusion of ideas that could provoke such a question.
Although your comments help:
Ok, but JQUERY has animations like SlideDown, SlideUp etc ... that don't use HTML5 for animations? Wouldn't HTML5 handle this more optimally?
Technically, HTML5 does not include animation - theyre in CSS 3, not HTML5. However, some people (such as Apple) seem to use the term βHTML5β as a synonym for βcool new things that are not yet supported by all browsers,β and CSS Animations certainly fall into this camp.
jQuery can actually use CSS animations in browsers that support them to speed up its animation features, such as slideDown , and can do so in a future version. JQuerys creator John Resig discusses some possible errors here: http://ejohn.org/blog/css-animations-and-javascript/
But that would be transparent to developers who use jQuery. A framework point, like jQuery, prevents developers from worrying about browser differences. Therefore, of course, there is no need to abandon jQuery just because some new CSS materials are supported by some browsers.
Of course, if you want to write CSS 3 code instead or write a jQuery plugin that uses it, you can do it. But if existing jQuery functions already work for you, there is no point in switching to something else.
source share