4 ms·
Why not utilize CSS more? For example how animation is done in AngularJS? I know it's supposed to be more light weight than that but at least conceptually...
by WhitneyLand 12y ago
Why not utilize CSS more? For example how animation is done in AngularJS? I know it's supposed to be more light weight than that but at least conceptually...
- PindakaasMan 12y agoThe project was designed to be easily extendable. Feel feel to send a pull request for other functions the "utilize" more CSS.
- ralfn 12y agoCSS animations are not faster perse, but they are compatible with less browsers and any programmatic animation (where the actual animation is configured based on dynamic inputs) would only get more complicated than just keeping everything in the javascript world. As for the CSS properties you can animate -- the code seems neutral enough to not really pick a baseline. So you have the freedom to pick your own level of browser support. Just a nice organised starting point, and keeping the stuff that should be your code, your code.