Top
Best
New

Posted by momciloo 2 hours ago

Show HN: I saw this cool navigation reveal, so I made a simple HTML+CSS version(github.com)
Two clip-paths, over the navigation:

- 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

18 points | 1 comments
thekevan 2 minutes ago
I saw this on Twitter about an hour ago and was going build one as well. Nice work!