Last Updated: February 25, 2016
· deviavir

Overlay behind lightbox in one simple line

outline: 9999px solid rgba(0,0,0,.3);

By @leaverou

4 Responses
Add your response

Any demo?

over 1 year ago ·
over 1 year ago ·

Thanks a lot! I was searching for it so long..

over 1 year ago ·

Nice solution, although it seems to me it doesn't prevent user interaction on objects behind the outline (ie click on anchors is still allowed).

over 1 year ago ·