Navigate on triangle click - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Nav Bar

Description

Navigate on triangle click

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  .  ja va 2s  . c  om-->
   width:100px;
   height:100px;
   overflow:hidden;
}

div>a {
   display:block;
   height:100%;
   background-color:Chartreuse;
   transform-origin:bottom left;
   transform:skewX(-46deg);
}
</style> 
 </head> 
 <body> 
  <div> 
   <a href=""></a> 
  </div>  
 </body>
</html>

Related Tutorials