Answer the question
In order to leave comments, you need to log in
Chrome does not hide all elements at opacity: 0 - how to fix it?
So it goes.
Through JS, I distribute to the blocks a class that has the property opacity: 0;
And now, for blocks that are not visible on the monitor (lower or higher on the page) at the time the class is set, some elements remain not hidden - the bottom border of :after and svg - what is the reason for this?
Haven't seen this in other browsers.
Answer the question
In order to leave comments, you need to log in
and you write in your class so that both pseudo-elements and svg also do opacity: 0.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question