When a user submits the newsletter signup form, the form gets removed from the DOM and replaced with a success message. This causes a layout shift (since the height of the success message is less than the height of the original form), which is a bit jarring.
It would be nice to use CSS to animate this transition.
Background
When a user submits the newsletter signup form, the form gets removed from the DOM and replaced with a success message. This causes a layout shift (since the height of the success message is less than the height of the original form), which is a bit jarring.
It would be nice to use CSS to animate this transition.
Pulled out of #92