Buscar contenidos

jueves, 27 de septiembre de 2018

Cómo hacer parpadear un texto en CSS

Ejemplo:

http://janmi.com/como-hacer-parpadear-un-texto-en-css/

@keyframes blink {  
  0% { color: red; }
  100% { color: black; }
}
@-webkit-keyframes blink {
  0% { color: red; }
  100% { color: black; }
}
.blink {
  -webkit-animation: blink 1s linear infinite;
  -moz-animation: blink 1s linear infinite;
  animation: blink 1s linear infinite;
}

HTML:
This is <span class="blink">blinking</span> text.

No hay comentarios:

Publicar un comentario