before css change