Joal Roberts Joal Roberts - 1 month ago 16
HTML Question

Image overlay you can click through

So I want an image to overlay my website page but I still want to be able to click the links and buttons through it.

Answer

/* Example 1: Makes all the img non-reactive to any mouse events such as dragging, hovering, clicking etc */

img {
  pointer-events: none;
}

From https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events