HTML CSS examples for CSS Widget:Hover to change
Hover to change opacity
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .project img {<!-- w w w.j a va 2 s.c o m--> opacity:2; transition:all ease .3s; } .project:hover img { opacity:0; } </style> </head> <body> <div class="custom_container"> <div class="project"> <img src="https://www.java2s.com/style/demo/InternetExplorer.png"> </div> <div class="project"> <img src="https://www.java2s.com/style/demo/InternetExplorer.png"> </div> </div> </body> </html>