Remove pointer effect from anchor with pointer-events attribute - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:a

Description

Remove pointer effect from anchor with pointer-events attribute

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">
.wrapper {<!--  w w w . j  a v  a  2s. c om-->
   position:relative;
   cursor:text;
}

.wrapper a {
   pointer-events:none;
}
</style> 
 </head> 
 <body> 
  <span class="wrapper"> <a href="#">Some Link</a> </span>  
 </body>
</html>

Related Tutorials