Is it possible to set the body of a website to have a low opacity while keeping a popup at full opacity to make it stand out?
I attempted to specify the popup with opacity: 1 !important;
but it didn't work as expected. Can you help me figure out how to achieve this effect?
You can view my attempt on JSFiddle here: https://jsfiddle.net/80351/0xo10tjc/
I am aware that setting the opacity of an outer div to 0.2 achieves the desired effect, but I am curious if it can be done by directly changing the opacity of the body element.