mask-type

The mask-type CSS property indicates whether the SVG <mask> element is treated as an alpha mask or a luminance mask.

mask {
  mask-type: alpha;
}

When the mask layer is an image or a gradient, a mask-mode property can be …

Avatar of Mojtaba Seyedi
Mojtaba Seyedi on
Direct link to the article Weekly Platform News: Reduced Motion, CORS, WhiteHouse.gov, popups, and 100vw

Weekly Platform News: Reduced Motion, CORS, WhiteHouse.gov, popups, and 100vw

In this week’s roundup, we highlight a proposal for a new <popup> element, check the use of prefers-reduced-motion on award-winning sites, learn how to opt into cross-origin isolation, see how WhiteHouse.gov approaches accessibility, and warn the dangers of 100vh.…

Avatar of Šime Vidas
Šime Vidas on
Keep browsing in the archives