W
W
wiincked2019-08-20 11:50:14
JavaScript
wiincked, 2019-08-20 11:50:14

How to draw with the mouse on top of the blocks?

Good afternoon!
I want to make a drawing tool so that I can draw on top of the content. I read about canvas, but it requires a block to draw, and I need to draw on top of the content.
Please tell me how this can be implemented, can a div with position: absolute draw somehow.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Petr Muhurov, 2019-08-20
@wiincked

And what's the problem with stretching the canvas on the screen with position: absolute and drawing on it?
5d5bc3c3e7972479628651.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question