CSS change in Event