Changed opacity animate to css