Back to generator

Octagon Classic Clip Path CSS

Octagon Classic is clean geometric clipping for CSS clip-path layouts.

clip-path

Editable Shape

Output

Copy-ready CSS

Pure CSS

clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);

Tailwind v4

[clip-path:polygon(30%_0%\,_70%_0%\,_100%_30%\,_100%_70%\,_70%_100%\,_30%_100%\,_0%_70%\,_0%_30%)]
Try it in the generator

When to use it

Octagon Classic is a octagon clip-path preset for interface shapes, cropped media blocks, section edges, and decorative CSS cuts. It uses 8 polygon points, which keeps the effect readable while still giving the element a custom silhouette. Octagon Classic is clean geometric clipping for CSS clip-path layouts. The preset is written as plain CSS, so it works with images, cards, gradient panels, and pseudo-elements without requiring SVG assets. Use it when a rectangular block feels too flat, or when a octagon shape needs to guide attention across a page. Open it in the generator to drag individual vertices, switch templates, and copy the updated clip-path or Tailwind arbitrary value.

Hexpedia

Color reference

This clip-path preset is shape-only. Pair it with a color reference from Hexpedia when choosing a fill or background.

Explore more

More CSS Forge paths

Related

Similar clip paths

These presets share shape and layout tags with Octagon Classic.