r/webdev 🛠 Dev 👁 0

Apply a CSS or SVG filter only on an image layer of a background, mask or border

Without affecting text content, shadows and so on... This has been in the spec for ages and supported in Safari since 2015 (here's a 2015 article about playing with it in Safari back then). Did you know about this? Are y

Apply a CSS or SVG filter only on an image layer of a background, mask or border
📄

This source provides headlines only. Use the button below to read the complete article on the original site.

📰 Read the original article on r/webdev

Originally published by r/webdev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.