r/ProgrammerHumor • • Feb 07 '19

other Spotted on GitHub 🤓

Post image
57.0k Upvotes

934 comments sorted by

View all comments

Show parent comments

6

u/the_other_dave Feb 07 '19

I'm not sure how this Github library works, it sounds backwards to me from the description of using opacity on the body tag. But if it is an overlay that fades in, there is a css property to allow interaction with elements behind it: pointer-events

2

u/Austalopiticus Feb 07 '19

Oh, nice. Didn't knew this existed. Thank you very much!

2

u/BellerophonM Feb 07 '19

It's not needed most of the time but when you do have a use for it it's a lifesaver.

2

u/CakeDay--Bot Feb 09 '19

Hey just noticed.. it's your 6th Cakeday the_other_dave! hug