HTML CSS examples for CSS Property:box-shadow
Css box-shadow gradient
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .gradient-border { border-style:solid; border-width:3px 5px 5px 4px; -moz-border-image:url('https://www.java2s.com/style/demo/Google-Chrome.png') 3 5 5 4 stretch; -webkit-border-image:url('https://www.java2s.com/style/demo/Google-Chrome.png') 3 5 5 4 stretch; -o-border-image:url('https://www.java2s.com/style/demo/Google-Chrome.png') 3 5 5 4 stretch; border-image:url('https://www.java2s.com/style/demo/Google-Chrome.png') 3 5 5 4 fill stretch; } </style> <!--from ww w .j ava2 s.c o m--> </head> <body> <div class="gradient-border"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamcorper molestie lacus sed fermentum. Aliquam erat volutpat. Vestibulum tortor neque, ornare vitae tempor hendrerit, luctus at neque. Phasellus sed quam pharetra, tincidunt tortor in, pharetra nisl. Maecenas aliquam luctus mauris, vitae venenatis diam imperdiet vel. Donec tortor diam, pretium vitae nibh vitae, consectetur lacinia sem. Proin luctus facilisis volutpat. Ut semper sit amet purus quis ornare. Quisque lobortis neque vitae tempor iaculis. Aliquam erat volutpat. Mauris tincidunt eget lacus eget pulvinar. Suspendisse potenti. Maecenas blandit tempus metus, eu ornare eros egestas sit amet. Cras et arcu eget massa porta porttitor eget ac neque. Lorem ipsum dolor sit amet, consectetur adipis</p> </div> </body> </html>