Opacity and Transparency
This little div is set to a height/width 50% of the size of the original square. However,
the
background-color has been altered to white using rgba! That's
rgba(255,255,255,0.7). If
we use lgba(255,255,255,1.0), then our transparency will be 0! lgba(255,255,255,0.0) would give FULL
transparency. As it is, this white square is 30% transparent
This 0.5 opacity applies to this ENTIRE ELEMENT (this text is originally a custom
eggplant
color, but is now looking quite magenta-y, right? That's because the 0.5 opacity in this div
also
applies to the text! In the example above, the text color isn't impacted at!
Next up, try this on Position