Blog · · Code Snippets, How-To Guides

Add Multicolored Shadows to Images with CSS Variables

Adding multicolored shadows to images using CSS pseudo-elements, filters, and custom properties.

Wrap the image in a div, pass the image URL in a CSS custom property, and use a blurred ::after pseudo-element with that image as its background behind the original.

Keep reading

Pull up a chair. Tell us what you’re building.

A 30-minute call, no slides. We’ll tell you honestly whether custom software is the right answer.