Site icon DataFlair

CSS Border Image Property

Full Stack Web Development Courses with Real-time projects Start Now!!

Program 1

<html>
    <head>
        <style>
            div{
                border-image:url(C:\\Users\\Lenovo\\Downloads\\border.png) 30 stretch;
                border-style:solid;
                height:300px;
                border-width:7px;
            }
        </style>
    </head>
    <body>
        <div>

        </div>
    </body>
</html>

 

Exit mobile version