CSS border-image-outset Property
Example
#myDiv {
border-image-source:url("border.png");
border-image-repeat: stretch;
border-image-outset: 10px;
}
Hello World!
Meaning
The border-image-outset CSS property sets the distance by which an element's border image is set out from its border box.
Note: The parts of the border image that are rendered outside the element's border box with border-image-outset do not trigger overflow scrollbars and don't capture mouse events.
Default value: | 0 |
Inherited: | No |
Animatable: | No |
Version: | CSS3 |
JavaScript syntax: |
|
Standard Syntax
border-image-outset: length|number|initial|inherit|revert|revert-layer|unset;
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
Status
Property Values
The following table describes the values of this property.
Value | Description |
---|---|
length | Specifies the distance in absolute or relative units that the border image extends beyond the border box. Negative values are not allowed. |
number | Represents a multiple of the computed value of border-width, or the width of the border box. Negative values are not allowed. |
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 {
border-image-outset: 0;
}