countering a div opacity?

Posted by Jason94 on Stack Overflow See other posts from Stack Overflow or by Jason94
Published on 2010-05-11T13:19:39Z Indexed on 2010/05/11 13:24 UTC
Read the original article Hit count: 220

Filed under:

If I have a div that acts like a box, and I make it real sexy with 10% opacity. How do I counter it since everything in the div also gets the opacity. Lets say i have a box(div) with a 1px border and text, putting opacity on it will make it look bad and i only want opacity on the background.

© Stack Overflow or respective owner

Related posts about css