Is it possible to make two texts blink in a random timing? They should not blink together, but they should blink at a different phase. I tried to accomplish by using normal text-decoration:blink, but no use.. Then I tried using jQuery to fade in and fade out the text with some delay, but I’m hoping there would be some easy way of doing this in CSS3.
Is it possible to make two texts blink in a random timing? They should
Share
You can use CSS
@keyframesandanimationfor this. It wasn’t totally clear from your question if you want different rates of blinking (the sample below), or the same rate, just not in sync. If you want the same rate out of sync, useanimation-delayto start one of them after the other.Demo: http://jsfiddle.net/ThinkingStiff/SYGpy/
HTML:
CSS: