I'm trying to set an opacity
to my background div, but all the content inside gets an opacity too. I don't want this.
I tried to fix it with pseudo elements but it didn't work out, I can fix this problem by adding a second background div and setting a height
and position
to that div, but I don't want to set a height for a div.
How can I fix this without adding a second div and height?
You can see my demo here