make this angular shaped border - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Shape

Description

make this angular shaped 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 {<!--from   w  w w .  j a  v a2s.c  o m-->
   display:inline-block;
   height:111px;
   width:501px;
   background:tomato;
   margin-left:151px;
}

div:after {
   content:'';
   width:0;
   height:0;
   border-style:solid;
   border-width:41px 100px 41px 0;
   border-color:Chartreuse;
   position:absolute;
   left:61px;
   top:21px;
}
</style> 
 </head> 
 <body> 
  <div></div>  
 </body>
</html>

Related Tutorials