Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

The safe triangle is magical! 🤩 It's a method used to expand the target area in context menus. 🔗 Learn about it here:

87,797 Aufrufe • vor 2 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Brandon McConnell
Brandon McConnellvor 2 Jahren

Shouldn't the triangle continue to shrink with the mouse as the approach the submenu? Maybe with a buffer? If the user pauses and starts to mouse down, I would imagine it should hover the next item down

Profilbild von Ahmad Shadeed
Ahmad Shadeedvor 2 Jahren

Correct, it needs more thinking on how to approach the 2nd menu item, but I suppose there is a solution for it; didn't try that yet.

Profilbild von Maarten van Gent
Maarten van Gentvor 2 Jahren

Again: love the page you wrote about target sizes. Plus this technique is beautiful!

Profilbild von Ahmad Shadeed
Ahmad Shadeedvor 2 Jahren

I appreciate it, thanks a lot 🙏

Profilbild von Quan You 𝕏
Quan You 𝕏vor 2 Jahren

Super good article!

Profilbild von Carlos Espada 🦋 carlosespada.bsky.social
Carlos Espada 🦋 carlosespada.bsky.socialvor 2 Jahren

Your demos to explain CSS are the best 😍 You just play in another league 🔝🎩

Profilbild von Ahmad Shadeed
Ahmad Shadeedvor 2 Jahren

Oh, that means a lot, Carlos. Thank you 🤩

Profilbild von Adham Dannaway
Adham Dannawayvor 2 Jahren

Definitely a classic 👍

Profilbild von D7460N
D7460Nvor 2 Jahren

Dude, this is sick! Thanks!

Profilbild von Siddhartha Gudipati
Siddhartha Gudipativor 2 Jahren

One optimization can be have a time-out to remove the safe triangle, so when you are in safer are but outside the item, you can focus on other items. In this case when the focus cursor stays on "Filter by" item, and inside the safe triangle, the filter by is not clickable.

Ähnliche Videos