Saturday, September 15, 2012

Animated Circle Gallery with Pan Style For Blogger

In this post i will explain, how to add circle image gallery with pan style.This will give a nice look to your blog.Im using css3 for this gallery.It include nice hover style. you can try to add it to your blog. Earlier image effect post are
here. Check demo below.



1. Log in to blogger account and Go to Design >> Edit HTML
    (make sure backup your template first)

2. Put checked marked in Expand Widget Templates

3.Find this code  by using Ctrl+F  ]]></b:skin>

4.  Paste below code Before ]]></b:skin> code

.gallery {
    width: 800px;
    margin: 50px auto;}
ul {
    list-style: none;}
.gallery li {
    height: 100px;
    width: 100px;
    margin: 15px;
    float: left;
    overflow: hidden;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;}
.gallery li img {
    margin: -100px 0px 0px 0px;
    z-index: -1;
    -webkit-transition: margin 1.5s ease;
    -moz-transition: margin 1.5s ease;
    -o-transition: margin 1.5s ease;
    -ms-transition: margin 1.5s ease;
    transition: margin 1.5s ease;
.gallery li:hover img {
    margin-left: -150px;
    margin-top: -150px;
    cursor: pointer;
.gallery li p {
    width: 100px;
    padding: 20px;
    position: relative;
    left: 15%;
    top: 110%;
    z-index: 1;
    color: white;
    text-align: center;
    text-transform: uppercase;
    font: bold 18px/1 Helvetica, Verdana, sans-serif;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    -webkit-transition: top 0.5s ease;
    -moz-transition: top 0.5s ease;
    -o-transition: top 0.5s ease;
    -ms-transition: top 0.5s ease;
    transition: top 0.5s ease;
.gallery li:hover p {
    top: 75%;
    margin:-55px 0 0 -35px;}

5. Go to blogger  Design > Page Element.

6. Click Add Gadget and select 'HTML/Javascript

7.Paste below code.
<div class="gallery">
            <li><p>Swing</p><img src="" /></li>
            <li><p>Surf</p><img src="" /></li>
            <li><p>Pedal</p><img src="" /></li>
            <li><p>Thrash</p><img src="" /></li>
            <li><p>Ride</p><img src="" /></li>
            <li><p>Kick</p><img src="" /></li>
            <li><p>Dive</p><img src="" /></li>

8. Now save your template. You are done.


Post a Comment