How to make dependent blocks in accordion layout?
How to implement the dependence of the blocks from each other, so that when the accordion opens, the lower blocks (in this case, the text Gallery and the picture) move down?
Either I am missing something in the layout (I tried with position: relative, it didn’t work, for some reason), or somehow write in JS that +1 is an open panel and a block shift by a certain number of pixels?
I ask for help.
In CSS, in .tabs-left, replace
min-height: 380px;Aiden McDonald
To place the code, please use CodePen or similar tool. Thanks you!