HomeToolsClip Path

CSS WORKSPACE

Clip Path

Make a change, inspect the result, and take the output into your project.

How to use this tool ↓

Clip Path

Shape Type
Points
Drag points on the preview to edit
Presets
PREVIEW
Clip Path Preview
50%, 0%
0%, 100%
100%, 100%
css
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
A PRACTICAL GUIDE

Create a shape without changing the layout box

The clip-path property controls which part of an element is painted. A polygon can make an angled image, a geometric badge, or a decorative panel while the element still occupies its original rectangular space in the layout. Percentage coordinates scale with the element’s dimensions.

How to use this tool

  1. Choose a preset or move the polygon points. Each point has a horizontal and vertical position relative to the element.
  2. Check that the points follow the outline in order. Crossing edges can create unexpected areas inside the shape.
  3. Copy the clip-path declaration onto your image or decorative container and test both a wide and a narrow aspect ratio.

The first two points keep the top edge flat. The bottom-right point sits at 88% of the height while the bottom-left remains at 100%, producing a sloped bottom edge. The containing layout still uses the original image box.

Read the reference documentation ↗
Example to try in your project
.project-photo {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

Before you ship

Clipping can remove captions, focus outlines, and important image details. Put interactive controls outside a decorative clipped container and check the crop using the actual production photo.

Explore a related tool