html:
<div class="blink" style={backgroundColor: '#f00'}></div>
css:
.blink{
animation: fade 1000ms infinite;
}
@keyframes fade {
from {
opacity: 1.0;
}
50% {
background: transparent;
}
to {
opacity: 1.0;
}
}