Answer the question
In order to leave comments, you need to log in
Why is the SVG mask sometimes reset in mobile?
There is such a mask https://codepen.io/lord-dantes/pen/WNRoXMw
It works great if you compress the screen, it also shrinks proportionally.
But, in my site I use this mask in the Swiper slider and up to 1200px I set the number of displayed records, and when I did this everywhere where this mask is used, the adaptive no longer works. Tell me what is the problem with resetting SVG mask styles? Thank you, I will be grateful for any tips, hints, etc.
Answer the question
In order to leave comments, you need to log in
I found a bug, my figure had a parent and I asked him display: none;
apparently because of this, somehow others lost their SVG masks.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question