HTML5 Please

masks

Use with cautioncss

For several years, CSS Masks were a WebKit exclusive.

Verdict
Use with caution
Category
CSS features
Browser support
Can I Use
Works in
all modern browsers

Should you use masks in 2026?

However, they have recently been resuscitated, with the W3C recently publishing a new Masks Working Draft. SVG-based fallbacks do not work in IE 10, so it is premature to use this feature in production.

If you do use it, be sure to include the -webkit- prefix.