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-source: url("/uploads/media/default/0001/01/812bf6a749522b8185c1beee20dd99dd6c6c87da.jpeg"); border-image-slice: 15; } </style> </head> <body> <h2>Ein Beispiel für border-image-source</h2> <p class="border">Hallo Welt!</p> <p>Hier ist das Originalbild:</p> <img src="/uploads/media/default/0001/01/812bf6a749522b8185c1beee20dd99dd6c6c87da.jpeg" alt="Border image" style="width:50%"> </body> </html>