Loading video...

Video Failed to Load

Go Home

stop duplicating your navigation for mobile 🤙 use the Popover API and some CSS tricks to make it responsive ✅ sidebar on desktop ✅ drawer on mobile ✅ progressively enhance the drag mechanics

256,187 views • 2 years ago •via X (Twitter)

11 Comments

jhey ▲🐻🎈's profile picture
jhey ▲🐻🎈2 years ago

here's the @CodePen 🤙 it's a little "rough" around the edges as it was thrown together quick but the concept of reusing the [popover] is sound and works without JavaScript 👀

jhey ▲🐻🎈's profile picture
jhey ▲🐻🎈2 years ago

if you're interested in more of this and want to see me finally make a course, sign up here 👇 it's time we started actually putting in the work

Lubomír Blažek's profile picture
Lubomír Blažek2 years ago

Nice, you could also make the dragging via scroll-snapping! Take a look at

jhey ▲🐻🎈's profile picture
jhey ▲🐻🎈2 years ago

you could, yes I've posted about this before but I'd still opt for JS to do some intended behaviours consistently with better control

Marcos Esqueda's profile picture
Marcos Esqueda2 years ago

How do you do the staggered effect in every word? Css only?

Bimbi.sol ☥'s profile picture
Bimbi.sol ☥2 years ago

So pro!!! How to make it shareee

Fredrik Tibbling's profile picture
Fredrik Tibbling2 years ago

Looks great!

jhey ▲🐻🎈's profile picture
jhey ▲🐻🎈2 years ago

a little rough around the edges 🙏 but this is more about the concept of reusing elements instead of doing "duplicates" which I see a lot of 😬

Zach Harris's profile picture
Zach Harris2 years ago

Sheesh

Nicolas's profile picture
Nicolas2 years ago

Love the design, but I honestly don’t get a tiny icon at the top right of the screen for a mobile specific design It’s the hardest place to reach Would honestly do it bottom right and the menu items at the bottom, too, easy to access one-handed

jhey ▲🐻🎈's profile picture
jhey ▲🐻🎈2 years ago

it's an example, not a production thing so many apps do it though, jus' make it what you want

Related Videos