CSS TOOLS · BFOTKIT

CSS Clip Path Generator | BFOTKit

Crop any element into circles, ellipses, insets, or polygons with adjustable parameters, preview the result, and copy the clip-path CSS.

Preview

The preview shows a green panel clipped by your shape; content outside the shape disappears.

CSS

Everything is computed and rendered locally in this browser tab. Nothing is sent to a server.

GUIDE

How to clip elements

Pick the closest preset, then tune

Start from a shape near what you want. Circles and ellipses take a size and a center position; inset takes edge distances; polygons take a list of vertex percentages the generator manages for you.

Understand the percentage space

All values are relative to the element box, so a 50% circle radius on a wide rectangle is not a circle — size the values against the element you actually have, and trust the live preview over mental math.

Clip-path hides, it never resizes

Clipping only affects painting. The element still occupies its full box, so layout around it does not change. Combine with border-radius for rounded image masks, or use polygon shapes for angled hero sections.

HELP / FAQ

Clip-path questions

Can I animate between shapes?

Yes, when both keyframes have the same shape function and the same number of vertices. The generator keeps vertex counts stable per preset, so interpolations between two presets of one shape animate smoothly.

Why is my clipped content still clickable outside the shape?

Hit-testing follows clip-path in modern browsers, but some old versions still dispatch events on the unclipped box. Test interactions on your target browsers.

Does clip-path work on images?

Yes — it is one of the most common uses, for circular avatars, angled photo edges, and blob-shaped feature images.

Is it the same as border-radius?

No. border-radius only rounds corners of a rectangular shape; clip-path can cut arbitrary shapes, and together they can combine rounded masks with polygon crops.

EXPLORE BY CATEGORY · BFOTKIT

More tools like this

Pick a category to see every tool in it — then open one and discover related tools.

Browse all tools