S
S
Sli_M2019-08-02 22:53:59
css
Sli_M, 2019-08-02 22:53:59

How to fix canvas animation?

Good day!
1. Please tell me what needs to be corrected or added in the script.js file ( akis-style.dp.ua/new1/js/script.js), so that the animation works under objects (texts, images). Now under the objects animation just stops working.
2. And what needs to be corrected or added to the script.js file so that the canvas animation works in the burger menu.
Thank you very much in advance!
akis-style.dp.ua/new1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
profesor08, 2019-08-02
@profesor08

Add style to objects pointer-events: none;
Either listen for events not canvas, but window.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question