HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> div{ min-height:50px; width: 200px; background:#f2f2f2; text-align:center; margin: 50px; border-width: 50px; border-style: solid; border-image: url("car-left.png") 95% round; } </style> </head> <body> <h1>CSS border-image-outset Property</h1> <div> This is div container. </div> <button onclick="myFunction()">Click Me</button> <script> var x = document.getElementsByTagName("div")[0]; function myFunction(){ x.style.borderImageOutset = "25px"; } </script> <p><strong>Note</strong>: Click on the button to change the 'border-bottom-left-radius' from 0 to 100px.</p> </body> </html>
OUTPUT
×

Save as Private