How to add Zoom Hover Effect to Image in blogger

Hi friends! Maybe you've heard about How to Add Drop Shadows Effect to Images. Now, we will make new effect. That's Add Zoom Hover Effect to Image. Shortly, when you put your cursor on an image, the image will be zoom (larger). Do you want to try the demo? OK, this is it. And if you want to know how to make the effect, just follow the steps below.
1. Log in to your blogger account

2. Go to Design --> Edit HTML

3. Copy the code below, and paste above ]]></b:skin>

.hovergallery 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;
}

.hovergallery img:hover{
-webkit-transform:scale(1.1);
-moz-transform:scale(1.1);
-o-transform:scale(1.1);
opacity: 1;
}
4. Then if you want to active the effect, use this code
<a class="hovergallery" href="http://truebloggertrick.blogspot.com/" target="_blank">
<img src="http://1.bp.blogspot.com/-ycrEcnVzJAs/TcXGWwcjL3I/AAAAAAAAAYQ/MiQNmK44ZOg/s200/fullblogtricks-blogger-icon.jpg" /></a>
=> Replace the blue code with your link
=> Replace the red code with image URL

5. Finish... Hopefully useful..

2 comments:

  1. Hello
    Can you provide code to make hover for all images in blog . It is quite irratring to edit alll the posts
    Hope you understand

    ReplyDelete
    Replies
    1. yes for me too....mail id >>harshitpcguide.blogspot.com

      Delete

Please don't spam. We hate spammers