HTML CSS examples for CSS Property:background
Image Background Zoom
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .logo {<!-- w w w . j a va 2 s .co m--> position: absolute; width: 20%; z-index: 100; } .anim-Gah img { -moz-transition: all 1.5s ease-in-out; -o-transition: all 1.5s ease-in-out; -webkit-transition: all 1.5s ease-in-out; transition: all 1.5s ease-in-out } .anim-Gah:hover img { -moz-transform: scale(1.05); -ms-transform: scale(1.05); -webkit-transform: scale(1.05); transform: scale(1.05) } </style> </head> <body> <img class="logo" src="https://www.java2s.com/style/demo/Safari.png"> <div class="container anim-Gah"> <img src="https://www.java2s.com/style/demo/Google-Chrome.png"> </div> </body> </html>