mask-border-outset
Summary
This property specifies the amount by which the mask box image area extends beyond the border box, similar to the CSS border-image-outset property. The four values set the outsets on the top, right, bottom, and left sides in that order.
Overview table
- Initial value
0
- Applies to
- All elements. In SVG, it applies to container elements without the <defs> element and all graphics elements.
- Inherited
- No
- Media
- visual
- Computed value
- All <length>s made absolute, otherwise as specified.
- Animatable
- No
- Percentages
- N/A
Syntax
mask-border-outset: length
mask-border-outset: number
Values
- length
- Represents pixels if the image is a raster image or vector coordinates if the image is a vector image.
- number
- Represents multiples of the corresponding computed border-width.
Examples
/* length */
#maskbox1: {
mask-border-outset: 30 50 30 50;
}
Related specifications
- CSS Masking Level 1
- W3C Last Call Working Draft
- CSS Masking Level 1
- W3C Editor’s Draft