Make opacity style attribute