WebDev For You - Daily Interaction #130
Welcome to Daily Interaction #130.
This demo showcases a blog card animation on hover.
With this effect the image rotates, a color overlay appears, and the date of the blog post appears on hover. The summary panel below also moves up. When hovering over the 'Read More' button the background and text changes color.
I first added all of the elements and then animated via interactions. For the image I placed it inside of an image wrapper and set the overflow of the wrapper to hidden. I then set the width and height of the image to 150% so that when it rotates it is still visible inside of the image wrapper.
Inspired by: https://codepen.io/ChuiSauCE/pen/KGpQbe
Daily interactions will resume on Monday June 3rd.
To view more daily interactions and premium content visit:
https://www.webdevforyou.com/