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.
Asked
Active
Viewed 212 times
1 Answers
1
/* 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

Sudip Pal
- 2,041
- 1
- 13
- 16