The other day I came across a design on Layers that used a blur fade over an image as a backdrop for text in a card. It reminded me of a similar thing I attempted a couple years ago in CSS but wasn’t able to get working. I decided to have another go at it and below is the result. The effect is dynamic and images can by changed by updating the --img
variable on each card.
Blur gradient with CSS
November 30, 2023
—
You must be logged in to post a comment.