How To Add A Zoom Effect To Your Blog Images On Mouse Move
How To Add A Zoom Effect To Your Blog Images On Mouse Move
This is very graceful effect that can use to surprise your blog readers. Im sure they all will really love it. Lets see how to insert it to your blog. OK here is the simple trick Logging to your blogger account Go to Edit HTML Search for ]]></b:skin> and place the under mentioned code just above it .bloggers1 img{ -webkit-transform:scale(0.5); /*Webkit 0.7 times the original Image size*/ -moz-transform:scale(0.5); /*Mozilla 0.7 times the original Image size*/ -o-transform:scale(0.5); /*Opera 0.7 times the original Image size*/ -webkit-transition-duration: 0.5s; /*Webkit: Animation duration*/ -moz-transition-duration: 0.5s; /*Mozilla Animation duration*/ -o-transition-duration: 0.5s; /*Opera Animation duration*/ opacity: 0.8; margin: 0 10px 5px 0; }
.bloggers1 img:hover{ -webkit-transform:scale(1.1); /*Webkit: 0.5 times the original Image size*/ -moz-transform:scale(1.1); /*Mozilla 0.5 times the original Image size*/ -o-transform:scale(1.1); /*Opera 0.5 times the original Image size*/ box-shadow:0px 0px 30px gray; -webkit-box-shadow:0px 0px 30px gray; -moz-box-shadow:0px 0px 30px gray; opacity: 1; } Then.. When you insert image to your blog go to edit html and ad this code before your image url <div class="bloggers1"> After the image url ad </div> Now you are done Save and see what happen.
this zooming effect is a basic effect that most bloggers use in there blogs. in next post i'll tell you a another version of this zooming effect.
In previous post I show you a really amazing zooming effect that can use to impress your blog visitors, also I told you that Ill show you another inconceivable z ooming effect. This is also like the previous one. But i think this one is cuter than previous one. Lets see how it looks like
Simply Search for ]]></b:skin> on Edit Html and place the below mentioned code just above it
.bloggers2 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: 1; margin: 0 10px 5px 0; } .bloggers2 img:hover{ -webkit-transform:scale(0.9); -moz-transform:scale(0.9); -o-transform:scale(0.9); opacity: 1; }
Tags: How to add zoom, Zoom effect, zoom effect for blog, Image zooming, Picture zooming, Image zooming for blog
1 $(document).ready(function(){ 2 $('#ex').zoom();
3 });
This plugin by default supports the zoom on mouse over but there is another option available with this plugin. You can also zoom the image by pressing the mouse and holding it. This option is called "Grab" in this plugin. See below code. view sourceprint?
HTML
<span class='zoom' id='ex'> <img src='http://www.allbestwallpapers.com/wallpaper/flower/image/love_blooms_roses,_bunch_of_fl owers.jpg' width='500' height='300' /> </span> CSS .zoom { display:inline-block; position:relative; } .zoom img { display: block; }