CSS Opacity
Using the opacity Property The opacity property sets the opacity level for an element, which affects its transparency. The value ranges from 0 (fully transparent) to 1 (fully opaque). In this example, the .transparent-box class sets the opacity to 50%, making the element semi-transparent. Using RGBA Colors for Transparency RGBA color values are another way to apply transparency. The a in rgba stands for alpha channel, which controls the opacity of the color. In this example, the .transparent-bg class sets a red background color with 50% transparency. CSS Opacity and Transperancy Example Code CSS Labs