by wavephorm · 14y ago · 0 comments
You could do this in JavaScript by manipulating the DOM directly - that's what libraries such as jQuery offer, but having easing functions for transitions belongs as part of the styling[1], unless you're saying that CSS should only be for static layouts?
[1] http://www.w3.org/TR/css3-transitions/#transition-timing-fun...
https://developer.mozilla.org/media/uploads/demos/m/r/mrflix...
In production it would be way less complex.