CSS border-image-source property

Description

CSS border-image-source specifies whether to use the image or border-style as the border area.


border-image overrides the border color.

Syntax

border-image-source : none | url()

Property values

noneDefault

No image is rendered for the border area and border-style is used.

border-image-source: none;

ulr()

This url specifies the address of an image to use as the border area.

border-image-source: url('img/web4college.png');

Applicable to

It applies to all elements except the table with border-collapse:collapse;.

#CSS digger
Was this article helpful?

 
×

Ctrl+D