Tuesday 25 September 2012

Add Circle Image Gallery With Pan Style

Hello Friends in this tutorial i teach you, how to add circle image gallery with pan style.This is a nice look to your blog .I m using css3 for this gallery.It include nice hover style. you can try to add it to your blog and Enjoy it.

How to add circle image gallery Follow this Steps:-


1. Log in to blogger account and Go to Design >> Edit HTML
    
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">
        <ul>
            <li><p>Swing</p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLbCwoTgAfeA5vOSGaKR7eAJsgZaSDRlHsF16sT-m5qGtBkxA3LqiReM78Wkgv86nL1OwofsOrU7Paki1p3Spngq6xoOGdw3h26cNb8O4AJCn_K5Zin3xnzCxrbEHUjqtbsCkyaSQVPAs/s1600/bloggertrix-image1.jpg" /></li>
            <li><p>Surf</p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGO8b-DeV9ry42fii4DrAVPlVBSZe0Fwe8d_B5ZNDIWH8eFfn041odIMHf5_4VSpwa-tz0yig-IIJ0IAasga8bKhVp3JeThrOjAoKJUHExcBOV6_COp2TR9tE9gonvM-BULKM1VCijE_4/s1600/bloggertrix-image2.jpg" /></li>
           
            <li><p>Kick</p><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD236e2plB8Wqfe8HBME3vWXHUiquwTpL7Fp-c0JhIU3jzzSvKUc6SvVGqAv2NWlD3yhyOcUEzUqWsBHpt7LMEQOTI-kd872bc4vft1ruQegNlMsld9T7g-JIffNrg5igsC6S6veckhTM/s1600/bloggertrix-image6.jpg" /></li>
            
        </ul>
</div>

0 comments:

Post a Comment