WebDev For You - Daily Interaction #99
Welcome to daily interaction #99!
This demo showcases an image zooming out when hovering over each card. This effect was achieved by setting the overflow of the card wrapper to hidden. Then an image wrapper was placed inside of card wrapper. With interactions the image was scaled to double the size and set as the initial state. The initial opacity was also set to 0%. Then I have the image scale back to 1 and the opacity come back to 100% to create the zoom out effect. The text also changes color on hover to achieve better contrast with the image behind it.
To view more daily interactions and premium content visit:
https://www.webdevforyou.com/