The CSS <clip-path> property allows an element to be visible only within a certain area. In other words, we can cut or mask the element with different shapes such as circles, ellipses, or polygons.
The <clip-path> property defines which parts of the element are visible. For example, we can crop an image into a circle using the circle() function.
With clip-path, we can create any simple or complex shape. Here are some common uses with images and div elements.
With the ellipse() and polygon() functions, we can create more complex shapes. These are especially useful in modern designs where visual emphasis is needed.
Clip-path is a powerful tool, but browser support and performance must be considered.
✨ Ask Lara — your AI study partner
Unlock personalized learning support. Lara can explain lessons, summarize topics, and answer your study questions — available from the Go plan and above.
Lara helps you learn faster — exclusive to ReadyTools Go, Plus, and Max members.