I want to make two different styles for two blinking class using html and css. My sample code is as follows:
.blinking{
animation:blinkingText 0.8s infinite;
}
.blinking2{
animation:blinkingText 0.8s infinite;
}
@keyframes blinkingText{
0%{ color: #000; }
49%{ color: red; }
50%{ color: red; }
99%{ color: red; }
100%{ color: #000; }
}
<span class="blinking">Am I blinking?</span><br/>
<span class="blinking2">Am I blinking?</span>
I want to make blinking2 class yellow colored. is there any way to achiive this?