Create CSS to Make Zoom Image Effect



Here are the simple way using css or style to make zoom effect on image like show above :

CSS

.zoom img{-webkit-transform:scale(0.8);-moz-transform:scale(0.8);-o-transform:scale(0.8);-webkit-transition-duration:0.5s;-moz-transition-duration:0.5s;-o-transition-duration:0.5s;opacity:0.7;margin:0 10px 5px 0}
.zoom img:hover{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-o-transform:scale(1.1);box-shadow:0px 0px 30px gray;-webkit-box-shadow:0px 0px 30px gray;-moz-box-shadow:0px 0px 30px gray;opacity:1}


How to Implemented in HTML code  :
HTML
<div class="zoom">
<img src="URL GAMBAR SOBAT" /></div>
Related Posts Plugin for WordPress, Blogger...