HTML CSS examples for CSS Widget:Hover to Show
Setting opacity with css :hover for child element
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .rendezvous .remover {<!--from w w w . j a va 2 s .co m--> opacity:0; width:33px; position:absolute; top:0; left:16px; } .rendezvous:hover .remover { opacity:0.6; } </style> </head> <body> <div class="rendezvous" style="position: relative"> <img src="https://www.java2s.com/style/demo/InternetExplorer.png"> <div class="remover"> <a href="#">Lore</a> </div> </div> </body> </html>