html - Can't override the opacity value? -


i have fixed div overlay (whole screen) contain smaller centered div message.

the big div has position:fixed , opacity.

the inner div has position:fixed without opacity

but in inner div , don't want have transparency.(opacity: 1) :

problem:

i still see transparent. how can fix ( inner div) ?

enter image description here

the inner div background-color black. , color red. , (as can see) not happening. ( tried !important)

full jsbin

nb

the overlay div , inner div should not scrolled when user scrolls.

you make background color transparant using background-color: rgba(0,0,0,0.5)


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -