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) ?
the inner div background-color black. , color red. , (as can see) not happening. ( tried !important)
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
Post a Comment