Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version
141 points| momciloo | 23 days ago |github.com
- The first clip-path is a circle (top-left corner) - The second clip-path is a polygon, that acts like a ray (hardcoded, can be improved)
The original work by Iventions Events https://iventions.com/ uses JavaScript, but I found CSS-only approach more fun
Here's a demo and the codebase: https://github.com/Momciloo/fun-with-clip-path
tgv|22 days ago
And there's more than "minimal number of interactions" functionality. People generally like good looking stuff. While it may be superfluous, it may feel more pleasing than yet another dark gray text on a light grey square. It may even help remembering navigation, since it's easier to remember deviating design.
flaburgan|22 days ago
mym1990|22 days ago
savolai|22 days ago
swyx|22 days ago
falloutx|22 days ago
division_by_0|22 days ago
orphea|22 days ago
vrighter|22 days ago
AlexAplin|22 days ago
todotask2|22 days ago
deterministic|21 days ago
self_awareness|22 days ago
But since the original implementation is also broken, I guess that's OK?
We really have a low bar for quality these days. I hope this won't be used anywhere that's relevant.
bmacho|22 days ago
unknown|22 days ago
[deleted]
momciloo|22 days ago
thekevan|22 days ago
MagicMoonlight|22 days ago
xtiansimon|22 days ago
rhplus|22 days ago
felineflock|22 days ago
djfobbz|22 days ago
ddtaylor|22 days ago
devluc|21 days ago
pmkary|22 days ago
jackomelon|22 days ago
elian55|22 days ago
drakeswalla|21 days ago
Gabrys1|22 days ago
is the same as
142vmax
Just saying :-)
uxcolumbo|22 days ago
Design is about solving problems.
A menu is suppose to help you to quickly find and get to a specific section of your site.
Why do I have to click on a thing to reveal the menu even though on my laptop there is enough space to show it all? And then I have to move my mouse all to the other side of the screen?
Who is this for?
Nothing wrong with experimenting with CSS, but avoid ‘dribbblizing’ your designs if you intend to ship it to users who use your site for information or to get a job done.
Edit: commenting more on the iventions.com website where this effect is in use.
hippo22|22 days ago
mym1990|22 days ago
peckemys|22 days ago
This effect imitates a spotlight, which is cited on the page and quite relevant for a company in the arts domain