Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Der Titel des Dokuments</title> <style> .border { border: 10px solid transparent; padding: 15px; border-image: url(/uploads/media/default/0001/01/812bf6a749522b8185c1beee20dd99dd6c6c87da.jpeg) round; border-image-slice: 30%; border-image-repeat: repeat; border-image-width: 15px; } .border2 { border: 10px solid transparent; padding: 15px; border-image: url(/uploads/media/default/0001/01/812bf6a749522b8185c1beee20dd99dd6c6c87da.jpeg) round; border-image-slice: 20%; border-image-repeat: round; border-image-width: 10px; } .border3 { border: 10px solid transparent; padding: 15px; border-image: url(/uploads/media/default/0001/01/812bf6a749522b8185c1beee20dd99dd6c6c87da.jpeg) round; border-image-slice: 15%; border-image-repeat: space; border-image-width: 20px; } </style> </head> <body> <h2>Ein Beispiel für border-image mit allen Werten.</h2> <p class="border">border-image: 30% 15px repeat</p> <p class="border2">border-image: 20% 10px round;</p> <p class="border3">border-image: 15% 20px space;</p> <p>Here is the original image used:</p> <img src="/uploads/media/default/0001/01/812bf6a749522b8185c1beee20dd99dd6c6c87da.jpeg" style="width:50%"> </body> </html>