update css when text become white