add style for opacity