@keyframes exam { from { color:#EEEEEE;} to { color:#444444;} } div { Animation-duration: 3s; }