Double border with different color and outline - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Color

Description

Double border with different color and outline

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">

.borders{<!--from w ww.j  a va  2s.c  om-->
   border: 1px solid grey;
   outline: 2px solid white;
}


      </style> 
 </head> 
 <body> 
  <div class="borders">
    Hello 
  </div>  
 </body>
</html>

Related Tutorials