JSFiddle - React, Tailwind, and code Playground
by Gowtham Reddy
HTML
<div class="download">
<h1>DOWNLOAD</h1>
</div>
CSS
@keyframes blink {
0% {
background-color: rgba(255,0,0,0)
}
50% {
background-color: rgba(255,0,0,0.5)
}
100% {
background-color: rgba(255,0,0,1)
}
}
@-webkit-keyframes blink {
0% {
background-color: rgba(255,0,0,1)
}
50% {
background-color: rgba(255,0,0,0.5)
}
100% {
background-color: rgba(255,0,0,1)
}
}
.download {
padding: 15px 15px 15px 15px;
text-align:center;
margin-bottom: 4px;
font-size: 24px;
border-radius: 5px;
-moz-transition:all 0.5s ease-in-out;
-webkit-transition:all 0.5s ease-in-out;
-o-transition:all 0.5s ease-in-out;
-ms-transition:all 0.5s ease-in-out;
transition:all 0.5s ease-in-out;
-moz-animation:blink normal 1.5s infinite ease-in-out;
/* Firefox */
-webkit-animation:blink normal 1.5s infinite ease-in-out;
/* Webkit */
-ms-animation:blink normal 1.5s infinite ease-in-out;
/* IE */
animation:blink normal 1.5s infinite ease-in-out;
/* Opera */
}