border-image

suggest change

With the border-image property you have the possibility to set an image to be used instead of normal border styles.

A border-image essentially consists of:

Consider the following example, where border.png is an image of 90×90 pixels. A non-zero border-width is also required; otherwise there is no border area to paint into:

border-image: url("border.png") 30 stretch;

The image is split into nine 30×30 regions: four corners, four edges, and a middle. The corner regions are placed at the corners of the border, and the edge regions are placed along the sides. With stretch, each edge image is stretched to the length of that side. The middle region is discarded unless fill is specified.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents