CSS border image

CSS border image is used to set the images for borders.


Syntax

Output

This is the paragraph to show the border image.


CSS border image values list

Sr. No.valueDescription
1border-sourceUsed to give the location of image to display for border. The value for this will be the location of the image. See the property CSS border image source for more details.
2border-sliceUsed to give the slice the image to display for border. To see what value should be use for this, see This property CSS border image slice.
3border-widthUsed to specify the width the image to display for border. See the property CSS border image width for more details
4border-outsetUsed to specify the border image area to extend beyond the box area. See the property CSS border image outset for more details
5border-repeatUsed to specify the border image to be repeated, round, stretch etc. See the property CSS border image repeat for more details
6initialUsed to define as the property initial value.
7inheritUsed to define the computed value of property on the elements parent.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.