The opacity property in CSS specifies the transparency of an element or in technical terms the degree in which light is allowed to travel through an object. The opacity setting is applied uniformly across the entire object and any value smaller than 1 creates a new stacking context. div { opacity: 0.5; } Opacity has