Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 1 год назад •via X (Twitter)

Комментарии: 11

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈1 год назад

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 ▲🐻🎈
jhey ▲🐻🎈1 год назад

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
Lubomír Blažek1 год назад

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

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈1 год назад

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
Marcos Esqueda1 год назад

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

Фото профиля Bimbi.sol ☥
Bimbi.sol ☥1 год назад

So pro!!! How to make it shareee

Фото профиля Fredrik Tibbling
Fredrik Tibbling1 год назад

Looks great!

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈1 год назад

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
Zach Harris1 год назад

Sheesh

Фото профиля Nicolas
Nicolas1 год назад

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 ▲🐻🎈
jhey ▲🐻🎈1 год назад

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

Похожие видео