0

what's wrong with my code?

div { animation: magic 10s ease-in 1s infinte reverse; -webkit-animation: magic 10s ease-in 1s infinte reverse; width: 0px; background-color: blue; } @keyframes magic { from{ width: 0px;} to { width: 200px; } from{ background-color: blue;} to { background-color: red;} } @-webkit-keyframes magic { from{ width: 0px;} to { width: 200px; } from{ background-color: blue;} to { background-color: red;} }

23rd Sep 2016, 4:44 AM
Hervé Luyindula
Hervé Luyindula - avatar
2 Antworten
+ 2
1-)animation-name 2-) Just one time use from and to. Or you can use %0 %20%30 etc.
23rd Sep 2016, 4:56 PM
HawkEye
HawkEye - avatar
0
Thanks, I saw the mistake just earlier. Thanks anyway.
23rd Sep 2016, 5:01 PM
Hervé Luyindula
Hervé Luyindula - avatar