O'Reilly logo

CSS Pocket Reference, 4th Edition by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

border-image-source

Values:

none | <uri>

Initial value:

none

Applies to:

All elements except table elements where border-collapse is collapse

Inherited:

No

Percentages:

Refer to the size of the border image

Computed value:

Same as declared value

Description:

Supplies the location of the image to be used as an element’s border image.

Examples:

div.starry {border-image-source: url(stargrid.png);}
aside {border-image-source: url(asides.png);}

Note:

As of early 2011, browsers did not support border-image-source. It is included because border-image (which encompasses border-image-source) was supported and browsers were expected to add border-image-source support by the end of 2011.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required