Limit the border for a single element - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Border Style

Description

Limit the border for a single element

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

.a{<!--from  w  w  w .  j  a v  a  2 s  . c  om-->
   margin-left:100px;
   width:150px;
   height:300px;
   border-right:1px solid blue;
   border-top:1px solid black;
   border-bottom:1px solid green;
   border-top-right-radius:10px;
   border-bottom-right-radius:10px;
}


      </style> 
 </head> 
 <body> 
  <div class="a"></div>  
 </body>
</html>

Related Tutorials