CSS Shadows & Opacity
box-shadow
Adds a shadow around a box element.
Syntax: box-shadow: offsetX offsetY blur spread color;
text-shadow
Syntax: text-shadow: offsetX offsetY blur color;
opacity
Controls transparency of the whole element (0 = invisible, 1 = fully visible). Affects children too.
Difference from rgba
opacity affects the element and its children. rgba() only affects the specific property (background, color) without affecting child elements.