Because I was on holiday, I was playing on the computer for fun.
After trying through CSS, it turns out I managed to collapse and expand the menu using only CSS. The only drawback is that the same button is not toggleable, so collapsing can only occur when another button is clicked. ![]()

