I'm exploring CSS animations. I've been developing in codepen and moving code manually to my server when I'm happy with the result. Several elements on the page use the transition
property in order to animate.
On codepen, my code behaves as I expect, but when I move it to my server, all of the transitions are triggered as the page loads: my nav elements drop down from the top of the screen, my banner expands to fill its space, etc. If I view the same files locally, the animation on page load doesn't happen.
Why am I getting this behavior, and how can I stop it?