D
D
Denis Bukreev2016-09-23 00:00:03
css
Denis Bukreev, 2016-09-23 00:00:03

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

1 answer(s)
I
iBird Rose, 2016-09-23
@iiiBird

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 question

Ask a Question

731 491 924 answers to any question