Sunday, November 17, 2013

Add Expanding Photo Stack Effect for Blogger

Last month I posted a tutorial about Animated Caption and Description Hover Effect for Blogger Images. By using it, you can add that caption and description effect to blogger images.Today im gonna explain simple tutorial about How to add Add Expanding Photo Stack Effect for Blogger Images. Every modern browsers support with this effect. You can add this to blogger side bar by re-size images.Im just using CSS3 for this animation effect.Hope you can understand it.if you have any problem regarding to this tutorial let me know. Use below button for demo.

Expanding+Photo+Stack


Some of stylish navigation bars.
           Css3 Peel Image Effect For Blogger
           Stylish Sliding Up Image Description for Blogger
           How to Make Money by Selling Your Photographs
          

How to Add Add Expanding Photo Stack Effect for Blogger


1. Go to Blogger Dashboard > Layout
2. Click Add Gadget and select 'HTML/Javascript'
3. Paste below code.
/* The CSS Code for the image starts here bloggertrix.com
<style>
#btrix_imgstack{
  width:300px;margin:0 auto;margin-top:2%;
}

#btrix_imgstack a{
  width:288px;
  height:200px;
  position:absolute;
  display:block;
  border:6px solid #f0f0f0;
  border-radius:2px;
  box-shadow:0 0 10px rgba(0,0,0,.3);
  transition:margin .5s;
  -webkit-transition:margin .5s;
}

#btrix_imgstack img{
  width:288px;
  max-height:100%;
}

#btrix_imgstack a:first-of-type{
  margin-top:-5px;
  margin-left:-20px;
  transform:rotate(-3deg);
  -webkit-transform:rotate(-3deg);
}

#btrix_imgstack a:nth-of-type(2){
  margin-top:-5px;
  margin-left:-10px;
  z-index:-1;}

#btrix_imgstack a:last-of-type{
  transform:rotate(3deg);
  -webkit-transform:rotate(3deg);
  z-index:-2;}

#btrix_imgstack:hover a:first-of-type{
  margin-left:-310px;
  margin-top:5px;}

#btrix_imgstack:hover a:nth-of-type(2){
  margin-top:-5px;}

#btrix_imgstack:hover a:last-of-type{
  margin-left:290px;
  margin-top:5px;}

#btrix_imgstack a:first-of-type:hover,#btrix_imgstack a:last-of-type:hover{margin-top:-5px;}
#btrix_imgstack a:nth-of-type(2):hover{margin-top:-10px;}
</style>
<div id="btrix_imgstack">
 
  <a href="#">
    <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdedRPGwEsEJ_aD_KemGyz-e2_Nr7XZYLV2wUkr_MGfMenYjd9wsStI2dg4yLh7AFeG_CFLKM089AwpwCU-2DIZlOOIicXIimFoC8swOLrpB3OVbG9u3OyRv_MaFPql5eo4OVY1Cf3V7k/s1600/btrix_image1.jpg" alt />
  </a>
 
  <a href="#">
    <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaiD1JfaUdG3isAa5D_PhFO_wdvRXzthc3v8QM_XTpGIzejIyMTUofGe3Re_ucWe21O65KBIPNYElrG4pVSICRDQQGH5EEoHcG7b5vg4GCh6glJ0CmLAc5AJslzdq8T_Uznti3_0ZDltI/s1600/btrix_image2.jpg" alt />
  </a>
 
  <a href="#">
    <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3qPPeEsOlaWZ1y09UHEKHKeBPMzLqu08qZ6YUa5peoZPtlqTJGBDKGl2opBJ6AqtreQAib45aX0ElmU17cA5y7a_X9RgXvkGtoQgQZOGwkYNv2Ey7llvJ3A6D-bxiCd1FSCJEKecsZFw/s1600/btrix_image3.jpg" alt />
  </a>
 
</div>

Replace # with your links.
Replace Red color Link with your Image link.

4. Now save your HTML/Javascript'.

You are done. If you have any problem related to this Expanding Photo Stack Effect for Blogger. Just leave a comment.I will help to you.
Author Bio: Sohan Jayasinghe is the owner and author of Bloggertrix.com .He has been blogging since 2009 and writing Blogger trix since 2010.If you want to contact him, Just leave a message via contact us page.

2 comments: