Back to generator

Octagon Divider Clip Path CSS

Octagon Divider is an edge-forward crop for page dividers for CSS clip-path layouts.

clip-path

Editable Shape

Output

Copy-ready CSS

Pure CSS

clip-path: polygon(30% 19%, 70% 19%, 100% 37.6%, 100% 62.4%, 70% 81%, 30% 81%, 0% 62.4%, 0% 37.6%);

Tailwind v4

[clip-path:polygon(30%_19%\,_70%_19%\,_100%_37.6%\,_100%_62.4%\,_70%_81%\,_30%_81%\,_0%_62.4%\,_0%_37.6%)]
Try it in the generator

When to use it

Octagon Divider 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 Divider is an edge-forward crop for page dividers 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 Divider.