I was making a wrapper div wrapped all my content, I give my wrapper a background texture and I want to give opacity to it. However , while I set opacity to my wrapper, all its child , the web content incuding text and images everything turned to half transparent, how can I set the transparency to the parent only?
Share
Hi I am mentioning the property through in which you can increase and decrease the opacity of
parent containerbackground and that will not affect thechild container. It’s simple see the css basically you have to use thergbaherergbfor color in background &a-alphafor opacity.CSS
background:rgba(0,0,0,0.1);DEMO