Some standalone JavaScript animation helpers used by AMP HTML.
Transforms an image from one position/size to another. In addition to scaling
up, this also supports changing the ‘crop’ of the image as defined by the
object-fit
CSS property.
Demos:
Allows pausing / stepping through CSS based animations, which can be useful for testing animation logic as well as screenshot diff tests.