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
- tabindex
Sets tab order and defines whether an element can be focused or not."
- display: contents
An element doesn't generate any boxes, but its children still do.
- type="search"
A text field designed for the user to enter search queries into.
- :not()
Represents an element that is not represented by its argument.