Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

iOS-style morphing context menu w/ css transitions 👨‍🍳 [popover] api + anchor positioning + transition-behavior: allow-discrete

31,121 Aufrufe • vor 9 Monaten •via X (Twitter)

15 Kommentare

Profilbild von jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔvor 8 Monaten

seen other versions of this floating around but they missed the mark for me in terms of UX 👎 non-semantic markup, ignoring user prefs, no smart placement you don't need libs for any of that stuff, you can jus' build it yourself and wrap it up in a web component ✅

Profilbild von joshpuckett
joshpuckettvor 9 Monaten

the directional curve on this is very nice 👌

Profilbild von adeeb
adeebvor 8 Monaten

Now this ur really cool

Profilbild von jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔvor 8 Monaten

@a6xx9rq thanks 🙏 had to scratch the itch

Profilbild von DesignBea🎀
DesignBea🎀vor 8 Monaten

You cooked 🔥🐐

Profilbild von Moe is tired
Moe is tiredvor 8 Monaten

Hi, do you have a website or codepen where you share the source code for your components?

Profilbild von Zantos
Zantosvor 9 Monaten

Beautiful

Profilbild von jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔvor 8 Monaten

thanks Kyle 🤙

Profilbild von Gurbinder
Gurbindervor 8 Monaten

which chrome tool is that? to preview animation in slow mode?

Profilbild von cauã adomaitis
cauã adomaitisvor 6 Monaten

animating width and height or just scale? I always struggle with that and end up with some jank

Profilbild von zenith
zenithvor 8 Monaten

Another day to learn from you!

Profilbild von Anže Matelič
Anže Mateličvor 8 Monaten

Nice implementation . But have to say I am not the biggest fan of this version 😅

Profilbild von jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔvor 8 Monaten

you mean the iOS style? i pretty much copied it from a screen recording and reduced the alpha + border-radius

Profilbild von Anže Matelič
Anže Mateličvor 8 Monaten

Yeah I mean the ios style. I don’t know but just to much bouncing for my taste 😅. But yeah respect for making this with css

Profilbild von jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔvor 8 Monaten

oh yeah, i hear that 😅 i jus' been screen capturing things from my phone and messin' with them. i tried to pull it back a little, this one's from the Photos app and that has some significant bounce!

Ähnliche Videos