Installing Jelly button in blogger - On this occasion I would share the tutorial to install the jelly button in blogger.
Actually I have created it on codepen.io and my pen got so much views and hearts so I thought to create a article on my blog you can click here to see its live demo.
1. First of all go to blogger>template>edit html and paste the following code before ]]></b:skin>
@import url(http://fonts.googleapis.com/css?family=PT+Sans+Narrow:700);
.jelly {
font-size:24px;
font-family: 'PT Sans Narrow', sans-serif;
border: none;
cursor: pointer;
padding: 25px 80px;
display: inline-block;
margin: 15px;
text-transform: uppercase;
letter-spacing: 6px;
font-weight: 700;
outline: 0;
position: relative;
border-radius: 3px;
-webkit-animation: anim 2s ease-in infinite;
animation: anim 2s ease-in infinite;
transition: all .3s;
background: #3498DB;
color: #fff!important;
overflow: hidden;
text-decoration:none;
}
.jelly:hover {
text-decoration:none !important;
}
.jelly:active {
background: #4786b5;
}
@-webkit-keyframes anim {
5% {
-webkit-transform: scale(1.1, .9);
transform: scale(1.1, .9);
}
10% {
-webkit-transform: scale(.9, 1.1) translateY(-.5rem);
transform: scale(.9, 1.1) translateY(-.5rem);
}
15% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes anim {
5% {
-webkit-transform: scale(1.1, .9);
transform: scale(1.1, .9);
}
10% {
-webkit-transform: scale(.9, 1.1) translateY(-.5rem);
transform: scale(.9, 1.1) translateY(-.5rem);
}
15% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@media only screen and (max-width:640px) {
.jelly {
padding: 25px 50px;
font-size: 16px;
}
}
2. Save template
3. Paste the following HTML code where you want
<a href="#" class="jelly" target="_blank">Jelly</a>
That's its and follow me on codepen.io
2 comments
Write commentsthe animation keyframes, any move we can make with infinite, i like it,
ReplyI really really love the site. Great job.. Will be expecting more widgets
ReplyEmoticonEmoticon