Latest News

Tuesday, 9 December 2014

Animated Download Button for Website/Blogger

Add a animated effects for download buttons.Let us follow the below steps.
Step 1: Go to Blogger Click the Dashboard then
Step 2: Now Click on Template->Edit HTML-> Proceed
Step 3: Now Find this code ]]></b:skin> by pressing Ctrl + F
Step 4: Copy the code from below and Paste it  Before/above ]]></b:skin> 
.content{
position:absolute;
margin-left:180px;
}
h1{
 margin-left:190px;
 padding:20px 20px 10px 20px;
 font-size:34px;
 color:#000000;
    text-shadow:1px 1px 1px #fff;
 text-align:center;
 font-weight:400;
    text-align:center;
}
h1 span{
    display:block;
 font-size: 14px;
    font-family: Georgia, serif;
    font-style: italic;
 color:#aaa;
 padding-top:10px;
}
/* Header Style */
.more{
    position:relative;
    clear:both;
    font-family:'Arial Narrow', Arial, sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    padding: 5px 0px 10px;
    width: 420px;
    margin: 0 auto;
}
.more ul{
    display:block;
    text-align:center;
    height: 30px;
}
.more ul li{
    display: block;
    padding: 4px 2px;
    float:left;
}
.more ul li.selected a,
.more ul li.selected a:hover{
    background:#aaa;
    color:#fff;
    text-shadow:none;
}
.more ul li a{
    color:#555;
    float:left;
    background:#fff;
    width:auto;
    padding: 2px 5px;
    -moz-box-shadow:1px 1px 2px #aaa;
    -webkit-box-shadow:1px 1px 2px #aaa;
    box-shadow:1px 1px 2px #aaa;
}
.more ul li a:hover{
    background:#000;
    color:#fff;
}
.button-wrapper{
    width: 320px;
    margin: 0 auto;
    padding: 20px 0;
}
.button-wrapper-large{
    width:500px;
    margin: 0 auto;
    padding: 20px 0;
    height: 80px;
}
.a-btn{
    background:#80a9da;
    background:-webkit-gradient(linear,left top,left bottom,color-stop(#80a9da,0),color-stop(#6f97c5,1));
    background:-webkit-linear-gradient(top, #80a9da 0%, #6f97c5 100%);
    background:-moz-linear-gradient(top, #80a9da 0%, #6f97c5 100%);
    background:-o-linear-gradient(top, #80a9da 0%, #6f97c5 100%);
    background:linear-gradient(top, #80a9da 0%, #6f97c5 100%);
    filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#80a9da', endColorstr='#6f97c5',GradientType=0 );
    padding-left:90px;
    padding-right:105px;
    height:90px;
    display:inline-block;
    position:relative;
    border:1px solid #5d81ab;
    -webkit-box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset, 1px 1px 3px rgba(0,0,0,0.2);
    -moz-box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset, 1px 1px 3px rgba(0,0,0,0.2);
    box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset, 1px 1px 3px rgba(0,0,0,0.2);
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    float:left;
    clear:both;
    margin:10px 0px;
    overflow:hidden;
    -webkit-transition:box-shadow 0.3s ease-in-out;
    -moz-transition:box-shadow 0.3s ease-in-out;
    -o-transition:box-shadow 0.3s ease-in-out;
    transition:box-shadow 0.3s ease-in-out;
}
.a-btn img{
    position:absolute;
    left:15px;
    top:13px;
    border:none;
    -webkit-transition:all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
    -o-transition:all 0.3s ease-in-out;
    transition:all 0.3s ease-in-out;
}
.a-btn .a-btn-slide-text{
    position:absolute;
    font-size:36px;
    top:18px;
    left:18px;
    color:#bde086;
    text-shadow:0px 1px 1px rgba(0,0,0,0.3);
    -webkit-transform:scale(0);
    -moz-transform:scale(0);
    -ms-transform:scale(0);
    -o-transform:scale(0);
    transform:scale(0);
    opacity:0;
    -webkit-transition:all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
    -o-transition:all 0.3s ease-in-out;
    transition:all 0.3s ease-in-out;
}
.a-btn-text{
    padding-top:13px;
    display:block;
    font-size:30px;
    text-shadow:0px -1px 1px #5d81ab;
}
.a-btn-text small{
    display:block;
    font-size:11px;
    letter-spacing:1px;
}
.a-btn-icon-right{
    position:absolute;
    right:0px;
    top:0px;
    height:100%;
    width:80px;
    border-left:1px solid #5d81ab;
    -webkit-box-shadow:1px 0px 1px rgba(255,255,255,0.4) inset;
    -moz-box-shadow:1px 0px 1px rgba(255,255,255,0.4) inset;
    box-shadow:1px 0px 1px rgba(255,255,255,0.4) inset;
}
.a-btn-icon-right span{
    width:38px;
    height:38px;
    opacity:0.7;
    -webkit-border-radius:20px;
    -moz-border-radius:20px;
    border-radius:20px;
    position:absolute;
    left:50%;
    top:50%;
    margin:-20px 0px 0px -20px;
    border:1px solid rgba(0,0,0,0.5);
    background:#5b5b5b url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSHaNbj1ltNbJeehQRjMMILrruCjCgBdsYh4Vqa1Fsf8DRW2qHKhA5_pmjdzxCChryVjD4nyQC075dSDw9hdPcrE4-jZ_ch5s5f5WNmJYu1wjsCdX9XG71ZKxn7KF_B8qxnFq4NCRUI88/s1600/arrow_down.png) no-repeat center center;
    -webkit-box-shadow:0px 1px 1px rgba(255,255,255,0.3) inset, 0px 1px 2px rgba(255,255,255,0.5);
    -moz-box-shadow:0px 1px 1px rgba(255,255,255,0.3) inset, 0px 1px 2px rgba(255,255,255,0.5);
    box-shadow:0px 1px 1px rgba(255,255,255,0.3) inset, 0px 1px 2px rgba(255,255,255,0.5);
    -webkit-transition:all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
    -o-transition:all 0.3s ease-in-out;
    transition:all 0.3s ease-in-out;
}
.a-btn:hover{
    -webkit-box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset, 1px 1px 5px rgba(0,0,0,0.4);
    -moz-box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset, 1px 1px 5px rgba(0,0,0,0.4);
    box-shadow:0px 1px 1px rgba(255,255,255,0.8) inset, 1px 1px 5px rgba(0,0,0,0.4);
}
.a-btn:hover img{
    opacity:0;
}
.a-btn:hover .a-btn-slide-text{
    opacity:1;
    -webkit-transform:scale(1);
    -moz-transform:scale(1);
    -ms-transform:scale(1);
    -o-transform:scale(1);
    transform:scale(1);
}
.a-btn:hover .a-btn-icon-right span{
    opacity:1;
    background-color:#bc3532;
}
.a-btn:active{
    position:relative;
    top:1px;
    background:#5d81ab;
    -webkit-box-shadow:1px 1px 2px rgba(0,0,0,0.4) inset;
    -moz-box-shadow:1px 1px 2px rgba(0,0,0,0.4) inset;
    box-shadow:1px 1px 2px rgba(0,0,0,0.4) inset;
    border-color:#80a9da;
}
.a-btn:active .a-btn-icon-right span{
    -webkit-transform:rotate(360deg);
    -moz-transform:rotate(360deg);
    -ms-transform:rotate(360deg);
    -o-transform:rotate(360deg);
    transform:rotate(360deg);
}
Step 5: Click on "Post" then select "Create a Post" then
Step 6: Click HTML then Now Copy the below code and Paste in it.
<div class="more">
</div>
<div class="content">
<div class="button-wrapper">
<a class="a-btn" >
<span class="a-btn-slide-text">$29</span>
<img alt="Photos" src="Image.png" />
<span class="a-btn-text"><small>Available on Apple</small> AppStore</span>
<span class="a-btn-icon-right"><span></span></span>
</a>
<a class="a-btn">
<span class="a-btn-slide-text">$19</span>
<img alt="Maps" src="Image1.png" />
<span class="a-btn-text"><small>Available on Apple</small> AppStore</span>
<span class="a-btn-icon-right"><span></span></span>
</a>
<a class="a-btn">
<span class="a-btn-slide-text">$24</span>
<img alt="Settings" src="Image2.png" />
<span class="a-btn-text"><small>Available on Apple</small> AppStore</span>
<span class="a-btn-icon-right"><span></span></span>
</a>
<a class="a-btn">
<span class="a-btn-slide-text">$39</span>
<img alt="Wireless" src="Image3.png" />
<span class="a-btn-text"><small>Available on Apple</small> AppStore</span>
<span class="a-btn-icon-right"><span></span></span>
</a>
</div>
</div>

Step 7: Change the Red Colored Images Link with your Image.



Animated Download Button
192 KB
Animated Download Button
View a Sample
  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Item Reviewed: Animated Download Button for Website/Blogger Description: Rating: 5 Reviewed By: Unknown
Scroll to Top