Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <style> .border1 { border: 10px solid transparent; padding: 20px; border-image: url(/uploads/media/default/0001/01/812bf6a749522b8185c1beee20dd99dd6c6c87da.jpeg) round; border-image-slice:100; border-image-repeat: space; border-image-width: 10px; } .border2 { border: 10px solid transparent; padding: 20px; border-image: url(/uploads/media/default/0001/01/812bf6a749522b8185c1beee20dd99dd6c6c87da.jpeg) round; border-image-slice:100; border-image-repeat: stretch; border-image-width: 10px; } </style> </head> <body> <h2>Exemple de la propriété border-image-repeat</h2> <p class="border1">border-image-repeat: space;</p> <p class="border2">border-image-repeat: stretch;</p> <p>Ici on a utilisée l'image originelle:</p> <img src="/uploads/media/default/0001/01/812bf6a749522b8185c1beee20dd99dd6c6c87da.jpeg" style="width:50%"> </body> </html>