Create a dashed border - HTML CSS CSS Property

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

Description

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

.new-field-popup{<!--  www  .j  a v  a2  s .com-->
   position: absolute;
   width: 200px;
   height: 57px;
   padding: 20px;
   border-radius: 5px;
   top: 10px;
   left: 10px;
   border: 1px dashed rgb(177, 177, 177);
}
.new-field-popup:after{
   content: '';
   border-bottom: 1px dashed rgb(177, 177, 177);
   border-right: 1px dashed rgb(177, 177, 177);
   background-color:white;
   position: absolute;
   left: 110px;
   bottom: -10px;
   width: 20px;
   height: 20px;
   transform: rotate(45deg);
}


      </style> 
 </head> 
 <body> 
  <div class="new-field-popup"></div>  
 </body>
</html>

Related Tutorials