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.
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.
Keep reading
-
Adding Microsoft SQL Server Support to Laravel Forge
Installing the Microsoft and PHP dependencies needed to connect a Laravel Forge server to SQL Server.
-
Validating a Domain on Mailgun with GoDaddy DNS Settings
Setting up a free Mailgun account with a GoDaddy-hosted domain so email from your website is less likely to land in spam.
-
Adding External Link Indicator with CSS
Showing visitors which links leave your site or open a new tab, using only CSS.
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.