----- JSBin Example ----
The answer is to use background-attachment
ORIGINAL QUESTION
I'm working on a project where we want to display a modal that "sees through" to the backdrop, but everywhere outside of the modal panel is slightly masked.
I have successfully used border: 10000px rgba(0,0,0,0.3)
with border-radius: 10010px
but this is a hack, and I can't outline the modal with a box-shadow
Is there any standard way for doing this? Bonus points if you can think of a way to apply a transparency filter gradient to an image.