// Please ❤ if you like it // update 25/4/2019 // I'd noticed that there are a lot of people who seem interested in this pen so I changed a little bit in the logic so it would fit better on production sites and make it easier to read! div.menu button.nav-tgl(type='button' aria-label='toggle menu') // this span just for the three dividers in the hamburger button span(aria-hidden='true') nav.nav // I don't care about the menu elements here so I will hide them ul li element one li element two li element three li element four