HTML CSS examples for CSS Widget:Hover Image
CSS Overlay IMG Hover
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div {<!-- w ww.j a va2 s . co m--> background:Chartreuse; width:351px; height:151px; } div img:hover { opacity:0.9; } </style> </head> <body> <div> <img src="https://www.java2s.com/style/demo/InternetExplorer.png"> </div> </body> </html>