Answer the question
In order to leave comments, you need to log in
How to move with accordion title?
Hello.
I made an accordion, when I open the first tab everything is OK, but when I open the bottom tab, the first one collapses, the second one opens, the focus remains in place. Website . I thought to find out the position relative to the window, and if not more or less than 10px, then set the position to top: 10, but I don’t understand how to do it.
Tell me please.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question