Open Oceansdeep7 opened 2 months ago
The elementFromPoint() method, available on the Document object, returns the topmost Element at the specified coordinates (relative to the viewport).
By "top-most" they mean the one that has the highest z-index, or is above other elements in view, not in terms of hierarchy.
The elementFromPoint() method, available on the Document object, returns the topmost Element at the specified coordinates (relative to the viewport).