# I saw this cool navigation reveal, so I made a simple HTML+…

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…

- **Page:** https://magpie.gallery/i/i-saw-this-cool-navigation-reveal-so-i-made-a-simp-2waz
- **Type:** Link to an idea elsewhere
- **Category:** Creative & design
- **Runs on:** web
- **Tags:** css, clip-path, navigation, animation, html

## Source

Web · momciloo: I saw this cool navigation reveal, so I made a simple HTML+CSS version

- **Original:** https://news.ycombinator.com/item?id=46925811

> 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 https://github.com/Momciloo/fun-with-clip-path

## GitHub projects

- https://github.com/Momciloo/fun-with-clip-path

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
