Create Dashed border - HTML CSS CSS Property

HTML CSS examples for CSS Property:border-left-style

Description

Create Dashed border

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

div{<!-- w  w  w  .  jav a 2  s.  co m-->
   height:100px;
   width: 100px;
   background-color: #ccc;
   border: 5px dashed #333;
}


      </style> 
 </head> 
 <body> 
  <div></div>  
 </body>
</html>

Related Tutorials