New magic for animations in CSS | Chase McCoy
There are two new features coming to CSS that will make it much easier to further avoid JavaScript when implementing animations:
Animating to and from display: none; for the sake of enter/exit animations.
Animating to and from the intrinsic size of an element (such as height: auto;).
Traditionally, animating something into our out of the screen (as opposed to just hiding it visually) required JavaScript to remove the element from the page after waiting for the animation or transition to complete...
Read more at chasem.co