HTML
CSS
JS

Blinking and Flashing Text Effect Using CSS3 Animation

You do not need JavaScript to create a flashing text effect; you can do it with CSS3. CSS3 animation allows you to define the animation effect and duration. In this UI component, we are using the animation property to tell the browser to create a text effect that will blink every 2 seconds and do it infinitely.

This element is best for displaying time-sensitive messages, such as warning the users about an upcoming downtime. You can change the 2s to a lower number if you want the text to flash faster, or a high lower to make it blink slower.

';