Every clip-path function — circle, ellipse, inset, polygon, and path — with a live polygon editor, shape gallery, animation demos, and text masking.
clip-path defines a clipping region. Everything inside is visible. Everything outside is hidden. It doesn't affect layout — the element still occupies its normal space.
Clips to a circle. Radius can be a length, percentage, closest-side, or farthest-side. Center defaults to 50% 50%.
Like circle but with separate horizontal (rx) and vertical (ry) radii. Great for egg shapes, wide ovals, and squished circles.
Clips to a rectangle inset from the edges. The optional round keyword adds border-radius to the clipped corners.
A series of X Y coordinate pairs defining a custom shape. Minimum 3 points. Drag handles to reshape in real time.
Click any shape to see its code and load it into the tester above.
Type any clip-path value and see it applied instantly.
clip-path animates smoothly between values when the point count matches. Hover or click each demo.
Clips a background gradient to the text shape itself. Combined with -webkit-text-fill-color: transparent, it creates gradient text.