Toolvist

Creador de clip-path CSS

Recorta elementos en formas visualmente con clip-path: círculos, polígonos y elipses.

Drag the round handles to reshape a polygon.

Vista previa

Creador de clip-path CSS gratuito

El Creador de clip-path CSS te ayuda a recortar cualquier elemento en una forma visualmente. Elige un preajuste o arrastra los vértices del polígono, luego copia el CSS clip-path generado en tu hoja de estilos.

Clipping goes further than the CSS Border Radius Generator can, and the shapes it makes often need the CSS Triangle Generator for the simpler cases. The layout around them is built with the CSS Flexbox Generator and CSS Grid Generator.

Cómo usar Creador de clip-path

  1. 1 Drag the handles on the preview to shape the element, or pick a preset shape to start from.
  2. 2 Choose between a circle, an ellipse, an inset rectangle, or a full polygon with as many vertices as you need.
  3. 3 Add and remove polygon points; each one is listed with its coordinates so you can type exact values.
  4. 4 Copy the generated `clip-path` declaration into your stylesheet.

Cómo usarlo

Elige un tipo de forma, ajusta los valores y observa la vista previa. Arrastra los puntos redondos de un polígono para remodelarlo. Cuando se vea bien, copia el CSS.

  • Preajustes: triángulo, rombo, pentágono, hexágono, estrella, flecha y más
  • Vértices de polígono arrastrables
  • Modos círculo, elipse e inset con controles numéricos
  • Copia el CSS clip-path generado
  • Se ejecuta enteramente en tu navegador

Preguntas frecuentes

Does `clip-path` change the element's box or its layout?

Neither. It clips only the painted output — the element still occupies its full original box in the layout, still receives pointer events across that whole box, and still affects the flow of siblings exactly as before. This surprises people who clip an element into a triangle and then find the invisible corner still blocks clicks.

How do I make the clipped area respond to pointer events correctly?

`pointer-events` does not respect the clip. You have either to accept that the full box is interactive and design around it, or to wrap the shape's target in a smaller element. For a decorative shape this rarely matters; for a clickable arrow or a tag it usually does.

Which shape values need units?

The `polygon()` function takes lengths or percentages for each vertex and needs units unless you use percentages. The `circle()` function takes a radius, which also needs a unit — `circle(50%)` rather than `circle(50)`. An inset rectangle takes up to four values, in the same order as margin: top, right, bottom, left.

Herramientas de imagen y color relacionadas

Ver todo en Herramientas de imagen y color →

También te puede interesar

Herramientas de otras categorías que suelen combinarse con Creador de clip-path:

Explorar el directorio completo →