HTML CSS examples for CSS Widget:Hover Animation
FadeIn and out DIV2 on hover of DIV1
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> a #test {<!-- w w w . ja v a 2 s .c om--> padding:21px; background-color:Chartreuse; width:201px; height:201px; } a:hover #test { opacity:0.6; transition:opacity .3s ease-out; -moz-transition:opacity .3s ease-out; -webkit-transition:opacity .3s ease-out; -o-transition:opacity .3s ease-out; } </style> </head> <body> <a href="#"> <div id="test"> Lorem ipsum d </div> </a> </body> </html>