Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <head> <style> body { background-color:#E7E9EB; } #myDIV { height:300px; background-color:#FFFFFF; border: 15px solid transparent; padding: 15px; border-image-source:url('border.png'); border-image-slice: 30; border-image-width: 10px; border-image-repeat: round; } </style> </head> <body> <h1>The border-image-repeat Property</h1> <div id="myDIV"> <p>A demonstration on how to set the border image.</p> <p>We used this image:<br> <img src="border.png"> </p> </div> </body> </html>