CSS Clip-Path Generator
Clip an element to a circle, a rounded inset or a polygon.
clip-path hides the parts of the element outside the shape. The polygon points are a regular polygon centered in the box. Hit testing follows the clip in modern browsers.
Frequently asked questions
Will text inside the shape be clipped too?
Yes. Anything in the element, including text and images, is clipped to the same path.
Do I need an SVG?
Not for these shapes. circle(), inset() and polygon() are CSS functions.