css - Text in a div that has a opacity of 0.5 -
i have div container text inside it.
the problem have container set have opacity of 0.5 , want text @ opacity of 1, can't exceed 0.5 because of div.
i each made "p" set opacity of 1.0 in stylesheet, still doesn't work.
any ideas?
use rgba()
instead on container div set opacity, opacity
property inherited children elements, text nodes, meaning descendant of kind can't have higher opacity parent
Comments
Post a Comment