Example
A simple border-image-width property example:
Laboratory
description & Usage
To determine the image inside the border, we use the border-image-width feature.
Browser compatibility and Support
# |
Chrome |
Edge |
Firefox |
Safari |
Opera |
border-image-width |
|
|
|
|
|
Values
Values |
Description |
length
|
Specifies the width of the border in pixels.
|
number
|
Determines the width of the margin.
|
%
|
Specifies the size of the area designated for the image.
|
initial
|
Adds this value to its default property.
|
inherit
|
It inherits this value from its parent tag.
|