css styling transition for div nodejs