I have a fixed div
overlay (whole screen) which contain another smaller centered div
for a message.
The big div has position:fixed
and opacity.
The inner div also has position:fixed
but without opacity
But in the inner div
, I don't want to have any transparency.(opacity: 1
) :
Problem:
I still see it as transparent. How can I fix it ( the inner div) ?
the inner div background-color is black. and the color is red. and (as you can see) it is not what is happening. ( I also tried !important)
NB
the overlay div and inner div should not be scrolled when user scrolls.