It is important to include -webkit prefixes for animation and keyframes.
To better understand this concept, I recommend trying out this interactive example from W3Schools.
In browsers like Chrome, certain CSS properties such as animation and transformation require the -webkit prefix. Referencing the provided link should help clarify this for you.
If you prefer a direct solution, you can view the desired result on JSFiddle.
.blink {
-webkit-animation-duration: 1s;
-webkit-animation-name: blink;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: steps(2, start);
animation-duration: 1s;
animation-name: blink;
animation-iteration-count: infinite;
animation-timing-function: steps(2, start);
}
@-webkit-keyframes blink {
80% {
visibility: hidden;
}
}
@keyframes blink {
80% {
visibility: hidden;
}
}
For further information on prefixes, consider researching more about them through a simple Google search.