As if events weren't even there...


/ Published in: CSS
Save to your folder(s)

If you want to have an element that appears on a higher z-index than another, but don't want it to receive click events, use the following:


Copy this code and paste it in your HTML
  1. #overlay {
  2. pointer-events: none;
  3. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.