◆ CSS Clip-Path Generator
Clip-path preset gallery with live previews and CSS copying.
Last updated: November 8, 2026 · By the BoltQuickTools team
Click the CSS to copy. Apply to any element with clip-path: ....
A shortcut to common clip-path shapes
Writing a star or an arrow as a list of polygon points by hand is slow and fiddly. This page gives you 25 ready-made clip-path values so you can see a shape and copy it, then adjust the numbers yourself if you need to.
Picking a shape
Click a name in the list on the left, such as Trapezoid or Speech Bubble. The gradient square shows the result, and the line below it holds the CSS. Click that line to copy it. There is no confirmation, so paste to check. The page has no point-dragging or number fields: what you get is the preset, and any change is made in your own stylesheet.
From preset to real element
Selecting Trapezoid gives exactly this:
clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
Percentages are relative to the element's own box. On a 400 by 200 pixel banner those points land at (80, 0), (320, 0), (400, 200) and (0, 200), so the top edge is 240 pixels wide and the bottom edge is 400. Raise the first x value and lower the second to steepen the taper.
Hexagon, which is selected when the page loads, gives:
clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
On a square this is the usual flat-topped hexagon. On a 16:9 element it stretches sideways, because every point scales with the box. To keep the shape true, give the element aspect-ratio: 1 or work out new points. The same applies to Star (5) and Cross.
Behaviour worth knowing before you ship
- Clipping only hides pixels. The element keeps its full rectangular space in layout and text does not wrap around the shape. That is what
shape-outsideis for. - Clicks follow the visible shape, so a click on a cut-away corner reaches whatever is behind it.
box-shadowon the same element is cut off with everything else. Putfilter: drop-shadow()on a parent wrapper instead.- Polygons have straight edges only, and Wave (8 cycle) is really a zigzag along the bottom with four teeth. For true curves, use an SVG
clipPathormask. - Diamond and Rhombus produce identical CSS, and Cross is drawn as a diagonal X.
- For rounded corners alone, plain
border-radiusis simpler than the Rounded preset, and it leaves shadows working. The box shadow generator builds those.
Animating and editing the shapes
Which presets can be animated into each other?
A transition between polygons only runs smoothly when both have the same number of points. Otherwise it jumps. These groups match:
| Points | Presets |
|---|---|
| 3 | Triangle, Right Triangle |
| 4 | Trapezoid, Parallelogram, Diamond, Rhombus |
| 5 | Pentagon, Top Cut |
| 6 | Hexagon, Rabbet, Chevron Right |
| 7 | Heptagon, Arrow Right, Arrow Left, Speech Bubble |
| 8 | Octagon, Bevel (corners) |
Square and Frame are both inset() and also animate into each other. Pair the transition with a curve from the cubic bezier editor.
Can I use the value on an image?
Yes. clip-path applies to any element, including img and video. The copied line includes the property name and semicolon, so it drops straight into a rule.
Can I change a point after copying?
Yes, each x y pair is one corner. Nudging a number by a few percent moves that corner, and browser DevTools will show the result live on your element.