Repeating multi colored border - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Color

Description

Repeating multi colored border

Demo Code

ResultView the demo in separate window

<html lang="en">
 <head> 
  <style>

#content {<!--from ww  w  . j a v a2s  .c o  m-->
   width:100px;
   height:100px;
   margin:25px;
   box-shadow:
   0 0 0 2px green,
   0 0 0 4px white,
   0 0 0 6px blue,
   0 0 0 8px orange,
   0 0 0 10px green,
   0 0 0 12px red,
   0 0 0 14px blue;
   0 0 0 16px black;
}


      </style> 
 </head> 
 <body translate="no"> 
  <div id="content">
    This is some content. 
  </div>  
 </body>
</html>

Related Tutorials