Thu, 2015-06-25 08:55
I want a parent DIV as a container.
In that I want a DIV with a black background with a opacity of .60. I then want everything in that DIV to not adopt the .60 opacity.
How can I do this?
Thu, 2015-06-25 16:59
#1
background-color
CSS3 allows you to set the background color's opacity. For example,
div { background-color: #000; /*for browsers that don't support bg opacity*/ background-color: rgba(0,0,0,.6); }
Older IEs require their proprietary filter. I don't use them, so try Google or maybe someone else will chime in.
cheers,
gary