Cool Buttons To Use
<--Mobile Responsive and button text shadow Code -->
<style>
@media screen and (max-width:768px){ .theme-button{font-size: 20px !important;}}
.theme-button {text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.76);}
</style>Pulse
<style>
.theme-button
{-webkit-animation: pulsate-fwd 3s ease-in-out infinite reverse both;
animation: pulsate-fwd 3s ease-in-out infinite reverse both;
}
@-webkit-keyframes pulsate-fwd {
0% {
-webkit-transform: scale(1);
transform: scale(1);
}
50% {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
@keyframes pulsate-fwd {
0% {
-webkit-transform: scale(1);
transform: scale(1);
}
50% {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
</style>Rocking Button
<style>
/* Rocking Button */
.theme-button{
animation: rocking 2s infinite;
animation-timing-function: cubic-bezier(0, 0, 0.58, 1);
transition: .2s;}
@keyframes rocking {
0% {transform: rotate(0deg)}
25% {transform: rotate(0deg)}
50% {transform: rotate(2deg)}
75% {transform: rotate(-2deg)}
100% {transform: rotate(0deg)}
}
</style>Blink Button
<style>
.theme-button{
-webkit-animation: blinkingText 2.2s infinite;
animation: blinkingText 2.2s infinite;
-webkit-transition: opacity .2s ease;
transition: opacity .2s ease;
}
@keyframes blinkingText{
0% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}
</style>Glow
<style>
.theme-button{
animation: pulseGlow 2s infinite;
animation-timing-function: ease-in-out;
}
@keyframes pulseGlow{
0% {
box-shadow: 0 0 0 0 rgb(255,255,255,0);
}
25% {
box-shadow: 0 0 2.5px 1px rgb(255,255,255,.25);
}
50% {
box-shadow: 0 0 5px 2px rgb(255,255,255, .5);
}
85% {
box-shadow: 0 0 15px 15px rgb(255,255,255, 0);
}
100% {
box-shadow: 0 0 0 0 rgb(255,255,255, 0);
}
</style>Shimmer
<style>
.theme-button:after {
display: none;
content: ' ';
position: absolute;
top: -50%;
right: -60%;
bottom: -50%;
left: -60%;
background: linear-gradient(50deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 60%);
-webkit-transform: translate(-80%, 0px);
-ms-transform: translate(-80%, 0px);
transform: translate(-80%, 0px);
display: block;
animation: 5s glimmer infinite;
}
@keyframes glimmer {
0% {
-webkit-transform: translate(-80%, 0px);
-ms-transform: translate(-80%, 0px);
transform: translate(-80%, 0px);
}
50% {
-webkit-transform: translate(80%, 0px);
-ms-transform: translate(80%, 0px);
transform: translate(80%, 0px);
}
}
</style>Shake
<style>
.theme-button{
animation: horizontal-shaking 1.25s infinite;
}
@keyframes horizontal-shaking{
0% {
transform: translateX(0);
}
25% {
transform: translateX(5px);
}
50% {
transform: translateX(-5px);
}
75% {
transform: translateX(5px);
}
100% {
transform: translateX(0);
}
}
</style>Bounce
<style>
.theme-button{
animation: bounce 1.5s infinite;
animation-timing-function: ease-in;
transition: .2s;
}
@keyframes glimmer {
15% {
transform: translateY(0);
box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
35% {
transform: translateY(-35%);
box-shadow: 0px 8px 5px -5px rgba(0, 0, 0, 0.25);
}
45% {
transform: translateY(0%);
box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
55% {
transform: translateY(-20%);
box-shadow: 0px 5px 4px -4px rgba(0, 0, 0, 0.25);
}
70% {
transform: translateY(0%);
box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
80% {
transform: translateY(-10%);
box-shadow: 0px 4px 3px -3px rgba(0, 0, 0, 0.25);
}
90% {
transform: translateY(0%);
box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
95% {
transform: translateY(-2%);
box-shadow: 0px 2px 3px -3px rgba(0, 0, 0, 0.25);
}
99% {
transform: translateY(0%);
box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
100% {
transform: translateY(0);
box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
}
</style>