Open In App

HTML | DOM Style borderImageOutset Property

In the Style borderImageOutset Space which contains the border, image is to be painted is called the border-image space. By default, the boundaries of the border image area match with the boundaries of the element’s border-box. However, these boundaries can be extended using the border-image-outset property.
The border-image-outset property specifies the amount by which the border-image space extends far from the element’s border-box area. This amount is described as a set of outset values that specify the amount by which the border-image space will expand from the top, right, bottom, and left edges.
Syntax:

object.style.borderImageOutset
object.style.borderImageOutset="length | number | initial | inherit"

Return value: It returns the amount by which the border image area extends beyond the border box.



Property Values

borderImageOutset = "10px"

borderImageOutset = "5px 10px"

borderImageOutset = "5px 7px 10px"

borderImageOutset = "5px 7px 10px 12px"

borderImageOutset = "1.2"

Browser Support: The browser supported by DOM Style borderImageOutset property are listed below:


Article Tags :