Example
A simple border-image property example:
Laboratory
description & Usage
You can insert an image into the border using the border-image property.
Browser compatibility and Support
# |
Chrome |
Edge |
Firefox |
Safari |
Opera |
border-image |
|
|
|
|
|
Values
Values |
Description |
border-image-source
|
Determines the addressing of the image within the border.
|
border-image-slice
|
Determines whether we can crop the image or not.
|
border-image-width
|
Determines the width of the image inside the border.
|
border-image-outset
|
Specifies the amount by which the image will go outside the border box.
|
border-image-repeat
|
Determines whether the image inside the border should be repeated, stretched, or rounded.
|
initial
|
Adds this value to its default property.
|
inherit
|
It inherits this value from its parent tag.
|