mask-image
Sets the mask layer image of an element. 7.1 Mask Image Source: the mask-image property
Links about mask-image
How to use CSS masking
CSS masking gives you the option of using an image as a mask layer. This means that use can use an image, an SVG, or a gradient as your mask, to create interested effects without an image editor.
mask-image
The mask-image CSS property sets the image that is used as mask layer for an element.
Code sample
div {
mask-image: url(resources.svg#mask2);
}
Explore other pages
- lch()
LCH has the same L axis as Lab, but uses polar coordinates C (chroma) and H (hue).
- list-style-type
Specifies a list item’s marker.
- dialog
An element a user interacts with to perform a task.
- :focus-visible
Applies if the user agent determines via heuristics that the focus should be made evident.