HTML CSS examples for CSS Widget:Hover to Show
Show gif on hover
<html lang="en"> <head> <style> div {<!-- w ww. j a v a 2s . c o m--> width:501px; height:501px; background:url('https://www.java2s.com/style/demo/Google-Chrome.png'); } div:hover { background:url('https://www.java2s.com/style/demo/Google-Chrome.png'); } </style> </head> <body translate="no"> <div> </div> </body> </html>