Click through "overlay" link between two element - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Div Align

Description

Click through "overlay" link between two 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">
.content {<!--from ww  w  .j  av a 2 s.  co m-->
   position:relative;
   width:100%;
   height:100%;
   z-index:2;
   padding:41px;
}

.overlay {
   position:fixed;
   width:100%;
   height:100%;
   z-index:3;
   background-color:Chartreuse;
   pointer-events:none;
}
</style> 
 </head> 
 <body> 
  <svg class="overlay"></svg> 
  <div class="content"> 
   <a href="">Lorem ipsum dolor sit amet, consec</a> 
  </div>  
 </body>
</html>

Related Tutorials