Easy Tutorial
❮ Css3 Pr Column Rule Style Sel Element Pluss ❯

CSS3 border-image-source Property

Example

Using an image as the border for a div element:


Browser Support

The numbers in the table indicate the first browser version that supports the property.

Property
border-image-source 15.0 11.0 15.0 6.0 15.0

Property Definition and Usage

The border-image-source property specifies the image to be used instead of the border style determined by the border-style property.

Tip: If the value is "none", or if the image cannot be displayed, the border style will be used.

Default value: none
Inherited: no
--- ---
Version: CSS3
--- ---
JavaScript syntax: object.style.borderImageSource="url(border.png)"
--- ---

Syntax

Value Description
none No image is used
image The path to the image used for the border
❮ Css3 Pr Column Rule Style Sel Element Pluss ❯