Which CSS property allows you to set a graphical element to be used as a mask against an element?
- element-mask
- mask-clip
- mask-image
- mask-layer
The CSS property that allows you to set a graphical element to be used as a mask against another element is mask-image. This property lets you specify an image or SVG as a mask, which defines the transparency of an element based on the mask's alpha channel. It's often used for creating complex visual effects and overlays.
Loading...
Related Quiz
- What value of the display property makes an element behave like a block-level element but allows it to sit inline with other content?
- Which modular CSS methodology uses the Block, Element, Modifier structure?
- In the BEM approach, if you have a block named "menu" and an element inside it named "item", how would you represent it using a class?
- Which CSS property is typically used to set breakpoints in responsive design?
- The attr() function in CSS is used to retrieve the value of an HTML ______.