TEKS BERKEDIP


MENGGUNAKAN CSS

<style>
.blink {
  animation: blink-animation 1s steps(5, start) infinite;
  -webkit-animation: blink-animation 1s steps(5, start) infinite;
}
@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
</style>
<span class="blink">TULISAN BERKEDIP</span>

HASILNYA

TULISAN BERKEDIP

__________________________

MENGGUNAKAN JQUERY

<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
<script>
setInterval(function(){
     $(".berkedip").toggle();
},300);
</script>
<span class="berkedip">TEKS BERKEDIP</span>

HASILNYA

TEKS BERKEDIP