Double lined border with box shadow - HTML CSS CSS Property

HTML CSS examples for CSS Property:border-style

Description

Double lined border with box shadow

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

span {<!--   w ww. j  av  a2 s  .  com-->
   display:inline-block;
   padding:5px;
   box-shadow:
   0px 0px 0px 5px #000,
   0px 0px 0px 10px #fff,
   0px 0px 0px 15px #000;
}


      </style> 
 </head> 
 <body> 
  <span>text</span>  
 </body>
</html>

Related Tutorials