CodeNewbie Community

Valeriya Polyakova
Valeriya Polyakova

Posted on

Looking for a simple 2-level menu

I'm looking for a simple 2-level menu that is able to change color and size through the use of CSS. I want the menu to appear in the left part of the page, be opened by clicking the burger icon, and be closed by clicking the cross or someplace outside the menu. It has to function on both smartphones and desktops.

I have already discovered lots of solutions, but they are all too complicated for me to implement.

Can you please tell me where I can find such a tool?

Discussion (1)

Collapse
terabytetiger profile image
Tyler V. (he/him)

Two level menus are inherently a bit tricky because of managing accessibility with it, and as far as I know, will require at least some amount of JavaScript.

Is there a specific library/framework you're working with (CSS and/or JS)?