Created
June 12, 2020 22:56
-
-
Save agustinpfs/58010c2d68de7314f23ca5fc53a0cdde to your computer and use it in GitHub Desktop.
CSS básico. Animaciones.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="es"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style> | |
@keyframes miAnimacion { | |
0% { | |
color: green; | |
} | |
25% { | |
color: yellow; | |
} | |
50% { | |
color: red; | |
} | |
100% { | |
color: blue; | |
} | |
} | |
h1 { | |
animation-name: miAnimacion; | |
animation-duration: 2s; | |
animation-iteration-count: infinite; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>hola mundo</h1> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment