Answer the question
In order to leave comments, you need to log in
Hide object when activating another?
codepen.io/iiil/pen/KGerA
It is necessary that the activated elements are replaced with each other, and not overlapped.
What to add to JS? Thank you.
Answer the question
In order to leave comments, you need to log in
Add a check for display:block or for the presence of the active class, can you handle it yourself?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question