איך לעדכן את אפקט "Fade Out" בשורה בנושא שנראה לאחרונה?

What about moving this highlight code to CSS animation? I think It would help with customizations.