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.
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/AVvXsEhquL-jMYq__Kfr9IxQY9aMDVj-J3CGp4WWZXT2kaxmN5dT0twp3fQfG7BHZULDav0H0tTlBRtIXnz1gFFEWn4uJDX2htz4Wjjz1u3B5uD2QxI6B_jHK7-T4wk9X8gGuKS-eCpBlID4IY4/s1600/btrix_image1.jpg" alt />
</a>
<a href="#">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9ibqlDt2XtsofRj4VC-U7xHKshXXCKgvJVLZp2NvSDqWH6lBdfFwO1W4wZElmdVUbGgALsX-cmBj7px5pgzq-TjdVDntjVDSMhKYkpFGCd03U93P4pld8ddEVf_D_2N0ZgleCoU8yFg8/s1600/btrix_image2.jpg" alt />
</a>
<a href="#">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilZsIxoGpiacQ8O1H_52luBu0_ai-WWTeWCmk5c6IeoY68tM9w9QomJaThmQWzgOgVGu8oNhou7xiH_qFLjSEQAbZrSXaemqX5UEstYo0onH99y5BK3xV6dndtY8YMYWDaUUfeJxGlRIA/s1600/btrix_image3.jpg" alt />
</a>
</div>
Replace # with your links.
Replace Blue color text With your image description
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.
0 comment:
Post a Comment