I currently have three dropdowns that function as an accordion. When I click on one dropdown, the rest of the content below shifts down, which is not the behavior I want.
Is there a way to prevent the content below each dropdown from moving when a dropdown is clicked?
I attempted to use absolute positioning, but it caused issues with the layout of the content.
This is how my HTML code looks:
... ... ... Hope you can provide some guidance and feel free to refer to my pen for further context.