Animate In Image
The image is centered in the browser with a maximum width setting and can animate in every time it enters the viewport. It is inserted in an HTML5 <figure> element and has alt text and an optional caption.
Images
The images are inserted using an HTML5 <picture> element to allow changing the image file depending on device screen width. The images used in the example were cropped to 1200px x 720px, 800px x 480px and 375 × 667px.
Note how the small image has been cropped to a 9:16 portrait aspect ratio for better performance on mobile phones in portrait mode.
Animation
The animation is turned on by checking a box. There are controls for selecting the animation type and setting the time and delay in seconds.
The animations use a custom style sheet with a choice of 15 animation types.