Cut elements into shapes with CSS clip-path: 16 presets, draggable points, circles and rounded insets, with CSS checked before you copy it.
Initializing in your browser…
Round each corner in px or percent, make elliptical blob shapes, and see the radius the browser really draws before copying the CSS.
Generate realistic test data as JSON, CSV or SQL: valid card numbers and IBANs, safe example e-mails, and a seed that brings the same rows back.
Create CSS keyframe animations visually: presets, easing curves and steps, a live preview, reduced-motion support and clean CSS to copy.
You want team photos shown as hexagons, with a little breathing room so the points do not touch the edge of each card.
Settings
Shape Hexagon Inset 10%
The CSS the tool writes
.clipped-element {
-webkit-clip-path: polygon(50% 10%, 84.6% 30%, 84.6% 70%, 50% 90%, 15.4% 70%, 15.4% 30%);
clip-path: polygon(50% 10%, 84.6% 30%, 84.6% 70%, 50% 90%, 15.4% 70%, 15.4% 30%);
}The plain hexagon runs from 50% 0% to 50% 100% with its sides at 6.7% and 93.3%. A 10% inset scales every point toward the centre, so the top and bottom points move to 10% and 90% and the sides to 15.4% and 84.6%, leaving a margin of 10% at the top and bottom. Because the values are percentages of the element, the same rule fits a 64-pixel avatar and a 400-pixel card.
Cut images and elements into shapes with CSS clip-path. Pick from 16 shapes, including hexagons, stars, arrows, hearts, circles and rounded insets, drag the points to make your own, and copy CSS that works in every modern browser. The preview uses exactly the value you copy.
What clip-path does. The clip-path property hides everything outside a shape, so an image, a card or a whole section can be a hexagon, a slanted banner or a circle without editing any images. Because the shape is measured in percentages of the element's own box, the same value works at any size and on any screen.
Shapes to start from. The 16 presets cover the common needs: triangle, rectangle, pentagon, hexagon, octagon, star, arrow, heart, chevron, parallelogram, rhombus, cross and pentagram are polygons; circle, ellipse and inset (a rectangle with rounded corners) use CSS's own shape functions, so they stay perfectly smooth instead of being approximated by many points.
Making your own. Drag any point of a polygon in the preview, or focus a point and move it with the arrow keys (hold Shift for bigger steps). Add points, remove them, or press Reset to return to the preset. The inset slider shrinks a preset toward the centre, leaving a margin on every side. Your shape, including dragged points, is kept in the page link, so it can be shared and reopened.
Fill rule for crossing shapes. When a polygon's edges cross, like the pentagram, the fill rule decides what is inside. nonzero fills the centre; evenodd leaves a hole there. For ordinary outlines both give the same result.
CSS that is checked first. A polygon needs at least three points, and an invalid clip-path is silently ignored by browsers, which then show the element unclipped. The tool checks the shape before writing anything and explains any problem. The output includes the -webkit- prefixed line for older Safari, followed by the standard property. Try your own image in the preview to see how the shape crops it.
Choose Hexagon and apply the CSS to an avatar image; it crops cleanly at any size.
Start from Rectangle and drag the bottom-left point up to give a section a diagonal bottom edge.
Choose Star for a sale badge, or Pentagram with evenodd for an outline-style star with a hollow centre.
Yes, in every current browser. The generated CSS also includes the -webkit- line for older Safari versions.
The value is probably invalid, for example a polygon with fewer than three points, so the browser ignores it. The tool only writes CSS for a valid shape and says what is wrong otherwise.
Yes, between two shapes of the same kind with the same number of points, such as two polygons with six points each. The browser cannot blend shapes with different point counts.
Yes. Clicks and hovers only register on the visible part of a clipped element, which makes clip-path useful for shaped buttons.
They only differ when edges cross. nonzero treats every enclosed region as inside; evenodd alternates, so overlapping regions become holes, as in the centre of a pentagram.
Yes. Anything outside the shape is hidden, including box-shadow. Put the shadow on a parent, or use filter: drop-shadow() on a wrapper.
This runs as client-side JavaScript. Keys, tokens, payloads, and other inputs never leave your device.