Wed 03 May 2023

How to make a CSS-only hamburger menu

Recently I was doing some small modifications to my site, when I rediscovered the hamburger menu I made for it. It is not very special, just a menu that, once you go into a small resolution, it will compress itself into a hidden vertical menu that you can show or hide by pushing a button. The interesting part of it is that it is made only using HTML and CSS.

Source: How to make a CSS-only hamburger menu, an article by Alberto de Murga.