G
G
GizzaProger2020-08-11 14:41:12
css
GizzaProger, 2020-08-11 14:41:12

How to interact with blocks that are under the canvas?

Good afternoon.
canvac is drawn on top of another block. If you make the z-index of the canvas greater than that of the block below it, then it is displayed correctly and everything that is drawn on it is visible. But you can't interact with the block below. And if you make the z-index smaller than that of the block below it, then the canvas stops drawing correctly (it is covered by a block with a large z-index), but you can interact with the block below it.
Tell me how to draw the canvas on top of everything, but when you click on the blocks below it, interact with them, and not with the canvas?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question