what is the difference between alpha and opacity?
Opacity sets the opacity value for an element and all of its children; While RGBA sets the opacity value only for a single declaration. Opacity : The opacity property sets the opacity level for an element. ... The alpha parameter is a number between 0.0 (fully transparent) and 1.0 (fully opaque).