css only idea, remake of the older one

add `checked` to the input to leave it open

no style

menu

filler

filler

filler

filler

filler

filler

no style

menu

filler

filler

filler

filler

filler

filler

example with style

menu

filler

filler

filler

filler

filler

filler