The border-image-source property specifies an image to use instead of the border styles given by the border-style properties and as an additional background layer for the element.

  • Initial valuenone
  • Applies toAll elements
  • InheritedNo
  • MediaVisual
  • Computed value'none' or the image with its URI made absolute
  • AnimatableNo
  • CSS VersionCSS3
  • JavaScript
Formal syntax: none | <image>

border-image-source: none;
border-image-source: <image>;
  • noneborder-style is used instead.
  • <image>This value contains a path to an image that you want to apply to the element in question as a background image
.class {
   border-image-source: url(images/myimage.png);

Last updated on 23rd March 2014 By Rene Spronk

View All CSS Properties

Errors? Please help to keep this list up to date, If you find any errors, please contact us, so that we can get them fixed.