Hi all i created a parent div .ima
inside which one div called .txt
When i give a opacity to .ima
then the opacity is applied to .txt
automatically this is obvious. But i don't want it to be in this way.
Only .ima
should be in 0.5 Opacity and the Text in .txt
should be 100% visible.
Is there a way to do this?
Here is the fiddle
I tried Giving Opacity to 1 in .txt
its not working. I might Be doing this in a wrong way I don't know.Any help?
Here i mention the Different From the Question refering for possible Duplicate
There They Have given Suggestion to Use rgba But here i don't want to use it Because if i use rgba
then this will become either black or some other color that we'll mention.
I want to use background image here.
This is a sample am proposed.
Things like there is no possible.
Also I don't want to use .png images(with semi-transparency). images are subject to change that is why.
Any Way thanks for guys Who have given their answers here.