Trapezoidal tab with borders - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Border Style

Description

Trapezoidal tab with borders

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

#trapezoid {<!--  w w  w . ja  va  2 s .  c om-->
   border-bottom: 100px solid blue;
   border-left: 100px solid transparent;
   border-right: 100px solid transparent;
   height: 0;
   width: 200px;
}


      </style> 
 </head> 
 <body> 
  <div id="trapezoid"></div>  
 </body>
</html>

Related Tutorials