ShareYourGroupShareYourGroupCSS Lab

CSS clip-path shapes

12 polygons that scale with the box.

Using the shapes

Each shape is a polygon() of points in percentages, so it scales with the element. For a regular looking hexagon or star, give the element a box with suitable proportions (a square for the star, a box about 1.15 times as wide as tall for the hexagon). All of them were accepted by current Chrome and WebKit on 13 November 2026.

Remember that everything outside the shape is cut away, including shadows, and that the cut-away part does not take clicks. The guide explains both, and the generator lets you try each shape on a live box.

This is an independent site. It is not connected with the W3C, MDN, Google, Apple, Mozilla or Microsoft. Browser and product names belong to their owners.