The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Translucent picture, opaque contents
I’ve read the post on “Non-Transparent Elements Inside Transparent Elements” but I do not know how to apply it onto my codes. Currently I’m using
background: transparent url(‘http://static.tumblr.com/gfni0pv/731ky6lvb/wrap.png’) repeat-y top center;
but my pictures, and words present inside of the box also inherits the transparency. Please help me. Thank you.
background: rgba(0, 0, 0, .2) url('http://static.tumblr.com/gfni0pv/731ky6lvb/wrap.png') top center repeat-y;
@njqn – Learn about rgba (or hsla).