Simplifying CSS animations with the display and size properties – LogRocket Blog
Until recently, only a limited number of CSS properties could be animated. For example, to create a fade-in or fade-out effect, you would typically use the opacity property instead of the display property, as the latter could not be animated....