Corrected css for lifecycle