Click to simulate page load animation.
A nice little animation for landing pages with a primary product image ontop of an image backdrop. Simply add some copy and a call to action button!
You might notice this effect appears to Blur the background image....hint, it doesn't!
Applying an animation to an image with a CSS filter: blur('x'px) is very expensive due to how it renders. Long story short, it's a bad idea as will cause Jank. Good news is, we can animate the opacity to create the illusion that we're blurring an image.
Luckily, we can assign the same background image to multiple elements with a single HTTP request using backgorund-image: url('same url for all'). I like to use _RAW, _Filtered and _Overlay in my class names, especially when applying transforms as you typically only want to transform the raw image. _Overlays are for vignette effects etc.
In this example, I've used the padding-top trick to implement an aspect ratio for responsive images.