|
Post by Brett Ludwick on Mar 12, 2015 11:02:49 GMT -8
Is there a way to NOT have transparent text within a container that has an opacity set for one of its properties? I really only want the backgrounds to have transparency, not the text and other elements, such as a video, that sits within the transparent container. Assignment 9
|
|
|
Post by Judy Fontanella on Mar 12, 2015 23:34:55 GMT -8
Hmm. It seems that the opacity property inherits all of the way down. I did find that if you use the "rgba" way to set the background color and transparency of the container, it won't inherit down the line. So you'd use:
#container { background: rgba(256,256,256,0.7); } Then, take out the opacity property. See if that works for you. Beautiful page, by the way.
|
|