正在加载视频...

视频加载失败

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

相关视频