Div hover show button/link effect - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:a

Description

Div hover show button/link effect

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

a.delete {<!--  w ww.j  a v  a  2 s .c  o  m-->
   display: none;
}
.container:hover a.delete {
   display: inline;
}


      </style> 
 </head> 
 <body> 
  <div class="container"> 
   <span>One</span> 
   <span> <a class="delete">Delete</a> </span> 
  </div> 
  <div class="container"> 
   <span>Two</span> 
   <span> <a class="delete">Delete</a> </span> 
  </div>  
 </body>
</html>

Related Tutorials