0

How to make an animation of a table border that change colors (as if it is a blinking light) with HTML and JavaScript?

11th Apr 2020, 6:59 AM
JP 16D
JP 16D - avatar
2 odpowiedzi
+ 4
<span class="blinking">Blinking?</span>
11th Apr 2020, 8:11 AM
Manshu
Manshu - avatar
+ 4
.blinking{ animation:blinkingText 1.2s infinite; } @keyframes blinkingText{ 0%{ color: #000; } 49%{ color: #000; } 60%{ color: transparent; } 99%{ color:transparent; } 100%{ color: #000; } }
11th Apr 2020, 8:12 AM
Manshu
Manshu - avatar