CSS mask-border-outset Property
Example
.example {
/* Standard syntax*/
mask-border: url("hello-world.png");
mask-border-outset: 100px;
/* Chromium based browser */
-webkit-mask-box-image: url("hello-world.png");
-webkit-mask-box-image-outset: 100px;
}
Meaning:
The mask-border-outset CSS property specifies the distance by which an element's mask-border is set out from its border box.
Default value: | 0 |
Inherited: | No |
Animatable: | No |
Version: | CSS |
JavaScript syntax: |
|
Standard Syntax
mask-border-outset: length|number|initial|inherit|revert|revert-layer|unset;
Browser Support
Status
Property Values
The following table describes the values of this property:
Value | Description |
---|---|
length | The size of the mask border outset as a dimension. |
number | The size of the mask border outset as a multiple of the corresponding border-width. |
initial | Sets this property to its default value. |
inherit | If specified, the associated element takes the computed value of its parent element animation-delay property. |
revert | Reverts the cascaded value of the property from its current value to the value the property |
revert-layer | Rollback styles to the ones specified in previous cascade layers. |
unset | Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not. |
Default CSS Property Values
selectors {
mask-border-outset: 0;
}