The right way to disable CSS animations

Sometimes I want a way to disable all CSS animations on a page.┬áThis is useful for end-to-end testing, automatic screenshots, or reducing motion sickness risk. This recent CSS Tricks post suggests disabling animations & transitions while resizing, to reduce needless browser work. This is an excellent idea! Here is the usual way of disabling animations: […]