javascript - Building a slick web app - what do I use for front end animations nowadays? -
I have difficulty finding the perfect technology to create a compelling web app. <
Actually I'm thinking of having a slide here, there's an automatic scroll and an animated bounce somewhere in my web application. Nothing can be fancy if it looks more advanced animation, but nothing like a quick animation sequence with many particles.
I've worked lately and have loaded heavily to the needs of the most modern web app. I think that is interesting also what would you recommend to use, maybe something else?
Which technology you are going to use, if you are going to use HTML5 + Javascript .. CSS3 Transforms and other GPU Liking Animation is a good way
Personally I like the transit:
It has reliance on jQuery, but CSS animation events like 'done Gone 'etc., so that you can build through chaining; Raise and cancel money if necessary. It causes pain in the donkey while doing all this with CSS-browser-prefixes. In addition, it enables the GPU automatically whenever possible.
$ ('. Box'). Infection ({x: -40}). Transaction ({y: 40}). Transsection ({x: 0}). Transsection ({y: 0}); But, if you want to go bad-ass, you can also use a small prefix and manually handle the event without the libraries:
var pfx = ["WebKit", "moz", "ms", "o", ""]; Function Prefixed Event (Element, Type, Callback) {for (var p = 0; p & lt; pfx.length; p ++) {if (! Pfx [p]) Type = type.Tolver CAS (); Element.addEventListener (PFX [P] + type, callback, wrong); }} In CSS, you must manually write the animation. But like a transit, a library protects you from all this boring CSS,
how to write this CSS animation:
# anim.enable {-webkit-animation: flash 1s easily 3; -MOZ Animation: Flash 1S Easy 3; -MMS Animation: Flash 1S Easy 3; -O-Animation: Flash 1s Easy 3; Animation: Flash 1s easily 3; } / * Animation * / @ -webkit-keyframe flash {50% {opacity: 0; }} @ -mose-keyframe flash {50% {opacity: 0; }} @ -mms-keyframe flash {50% {opacity: 0; }} @ -O-Keframe Flash {50% {Opacity: 0; }} @keyframe flash {50% {opacity: 0; }}
Comments
Post a Comment