@keyframes fade { 0% {color:transparent} 100% {color:black} } .fade{ animation: fade ease-in; animation-fill-mode: forwards; }