B
B
BanterFace2016-12-08 09:27:54
css
BanterFace, 2016-12-08 09:27:54

Is it possible to adequately scale the canvas to the size of a responsive div?

The bottom line is brief:
There is a canvas, dynamically changing, created from particles.min.js (in fact, it is not min at all), at the very end. There is a div, with the clip-path property, in which this canvas lies. And, it seems, everything should look like on the block above, but no. And why not - I do not know, and I ask you to help me figure it out.
Here is a link to what I described (there are a lot of css files that are not needed, but determining which ones are not needed would take a long time): https://yadi.sk/d/4PnnU_Ey32XbXE

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DTX, 2016-12-08
@DirecTwiX

Add
Upd:
If we are talking about clip-path adaptability, then points can be set in percentages, not in pixels.

B
BanterFace, 2016-12-08
@BanterFace

The question has no solution, because. clip-path is not a responsive property. Thanks to everyone who thought about this topic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question