DropDown faq Problem
is there any way to not push the box up or when height is increased just incresse the height at the bottom
https://github.com/undeadskeleton/FAQ-accordion
GitHub
GitHub - undeadskeleton/FAQ-accordion: Frontend Mentor FAQ accordio...
Frontend Mentor FAQ accordion exercise. Contribute to undeadskeleton/FAQ-accordion development by creating an account on GitHub.
3 Replies
added
position:absolute
and place it using top
somehow fixes this but is there any better wayIf you placed it in a codepen / similar I can take a look if you're still curious to find a better way. I think using
absolute
is fine here and you could also use a negative margin, just not sure how you have it set up within your cssalign-self: start perhaps depending | margin block end: auto (in a grid or flex container)