Example

A simple border-image-source property example:

Laboratory

description & Usage

To address an image inside the border, we use the border-image-source property.

Informations

# Description
Default Value none
Inherited no
Animatable no
Version CSS3
JavaScript syntax object.style.borderImageSource="url(border.png)"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
border-image-source

Syntax

Values

Values Description
none No images are allowed to be used.
image Addresses the image as a border.
initial Adds this value to its default property.