blink html code example
Example 1: css blink
.blink_me {
animation: blinker 1s linear infinite;
}
@keyframes blinker {
50% {
opacity: 0;
}
}
<div class="blink_me">BLINK ME</div>
Example 2: blink html text
Blink HTML text by javascript
<p id="blinking">Example of blinking text using JavaScript.</p>
<script>
function blinker() {
$('#blinking').fadeOut(500);
$('#blinking').fadeIn(500);
}
setInterval(blinker, 1000);
</script>