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:190px;
}
h1{
 margin-left:150px;
 padding:20px 20px 10px 20px;
 font-size:34px;
 color:#333;
    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:#fecc5f;
    background:-webkit-gradient(linear,left top,left bottom,color-stop(#feda71,0),color-stop(#febb4a,1));
    background:-webkit-linear-gradient(top, #feda71 0%, #febb4a 100%);
    background:-moz-linear-gradient(top, #feda71 0%, #febb4a 100%);
    background:-o-linear-gradient(top, #feda71 0%, #febb4a 100%);
    background:linear-gradient(top, #feda71 0%, #febb4a 100%);
    filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#feda71', endColorstr='#febb4a',GradientType=0 );
    border:1px solid #f5b74e;
    border-color:#f5b74e #e5a73e #d6982f;
    -webkit-box-shadow:0 1px 1px #d3d3d3, inset 0 1px 0 #fee395;
    -moz-box-shadow:0 1px 1px #d3d3d3, inset 0 1px 0 #fee395;
    box-shadow:0 1px 1px #d3d3d3, inset 0 1px 0 #fee395;
    padding:0px 80px 0px 10px;
    height:38px;
    display:inline-block;
    position:relative;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    float:left;
    margin:10px;
    overflow:hidden;
    -webkit-transition:all 0.3s linear;
    -moz-transition:all 0.3s linear;
    -o-transition:all 0.3s linear;
    transition:all 0.3s linear;
}
.a-btn-text{
    padding-top:5px;
    display:block;
    font-size:18px;
    white-space:nowrap;
    color:#996633;
    text-shadow:0 1px 0 #fedd9b;
    -webkit-transition:all 0.3s linear;
    -moz-transition:all 0.3s linear;
    -o-transition:all 0.3s linear;
    transition:all 0.3s linear;
}
.a-btn-slide-text{
    position:absolute;
    top:35px;
    left:0px;
    width:auto;
    right:52px;
    height:0px;
    background:#fff;
    color:#996633;
    font-size:13px;
    white-space:nowrap;
    font-family:Georgia, serif;
    font-style:italic;
    text-indent:15px;
    overflow:hidden;
    line-height:30px;
    -webkit-box-shadow:-1px 0px 1px rgba(255,255,255,0.4), 1px 1px 1px rgba(0,0,0,0.5) inset;
    -moz-box-shadow:-1px 0px 1px rgba(255,255,255,0.4), 1px 1px 1px rgba(0,0,0,0.5) inset;
    box-shadow:-1px 0px 1px rgba(255,255,255,0.4), 1px 1px 1px rgba(0,0,0,0.5) inset;
    -webkit-transition:height 0.3s linear;
    -moz-transition:height 0.3s linear;
    -o-transition:height 0.3s linear;
    transition:height 0.3s linear;
}
.a-btn-icon-right{
    position:absolute;
    right:0px;
    top:0px;
    height:100%;
    width:52px;
    border-left:1px solid #f5b74e;
    -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;
    position:absolute;
    left:50%;
    top:50%;
    margin:-20px 0px 0px -20px;
    background:transparent url(../images/arrow_right.png) no-repeat 50% 55%;
    -webkit-transition:all 0.3s linear;
    -moz-transition:all 0.3s linear;
    -o-transition:all 0.3s linear;
    transition:all 0.3s linear;
}
.a-btn:hover{
    height:65px;
    -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 .a-btn-text{
    text-shadow:0px 1px 1px rgba(0,0,0,0.2);
    color:#fff;
}
.a-btn:hover .a-btn-slide-text{
    height:30px;
}
.a-btn:hover .a-btn-icon-right span{
    opacity:1;
    -webkit-transform:rotate(-45deg);
    -moz-transform:rotate(-45deg);
    -ms-transform:rotate(-45deg);
    -o-transform:rotate(-45deg);
    transform:rotate(-45deg);
}
.a-btn:active{
    position:relative;
    top:1px;
    background:#fec354;
    background:-webkit-gradient(linear,left top,left bottom,color-stop(#fec354,0),color-stop(#fecd61,1));
    background:-webkit-linear-gradient(top, #fec354 0%, #fecd61 100%);
    background:-moz-linear-gradient(top, #fec354 0%, #fecd61 100%);
    background:-o-linear-gradient(top, #fec354 0%, #fecd61 100%);
    background:linear-gradient(top, #fec354 0%, #fecd61 100%);
    filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#fec354', endColorstr='#fecd61',GradientType=0 );
    border-color:#d29a3a #cc9436 #c89133;
    text-shadow:0 1px 0 #fee1a0;
    -webkit-box-shadow:0 1px 1px #d4d4d4, inset 0 1px 0 #fed17e;
    -moz-box-shadow:0 1px 1px #d4d4d4, inset 0 1px 0 #fed17e;
    box-shadow:0 1px 1px #d4d4d4, inset 0 1px 0 #fed17e;
}

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="content">
<div class="button-wrapper-large">
<a href="http://blogsitedesigns.blogspot.in" class="a-btn">
<span class="a-btn-text">sign up!</span>
<span class="a-btn-slide-text">Receive promotions</span>
<span class="a-btn-icon-right"><span></span></span>
</a>
<a href="http://blogsitedesigns.blogspot.in" class="a-btn">
<span class="a-btn-text">get an account</span>
<span class="a-btn-slide-text">sign up!</span>
<span class="a-btn-icon-right"><span></span></span>
</a>
<div class="clr"></div>
</div>
<div class="button-wrapper-large">   
<a href="http://blogsitedesigns.blogspot.in" class="a-btn">
<span class="a-btn-text">Create a Account</span>
<span class="a-btn-slide-text">sign up!</span>
<span class="a-btn-icon-right"><span></span></span>
</a>
<a href="http://blogsitedesigns.blogspot.in" class="a-btn">
<span class="a-btn-text">Click Here</span>
<span class="a-btn-slide-text">Enter</span>
<span class="a-btn-icon-right"><span></span></span>
</a>
<div class="clr"></div>
</div>
</div>
 Step 7: Change the Red Colored Images Link with your Image.



Animated Download Button
166 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