Pirtûka Amûra Belaş / Amûrên din / Clip-path Maker

Clip-path Maker

Şêweyekî pêşwext hilbijêrin an jî xalan li ser pêşdîtinek zindî bikişîne, dûv re ji bo malpera xwe CSS-ya clip-rêya amade-bikaranînê kopî bikin. Polygon, dor, elipse û şeklên navmalî.

Li ser pêşdîtinek zindî şeklek pêşwext hilbijêrin an xalan kaş bikin, dûv re CSS-ya amade-a-karanîna rêça clip-ê ji bo malpera xwe, bi şeklên polîgon, dor, elîps û xêzkirî kopî bikin. Şêweyê bi destan an slideran eyar bikin, dûv re CSS-ya kopîkirî li şêwaza hêmana xwe bixin. Wê bikar bînin da ku wêneyek ji bo sernavê rûpelek dakêşanê li keviya diagonal an şeklek girover bixin.

Amûra veke →

Bikarhêner belaş e, navnîşek tune. Amûr li ser rûpela xwe vedike û di geroka we de dixebite.

Zêdetir hewce ne? Go Pro

Pro: download your Clip-path results & save history, $5 one-time

Pro → bistînin

Alipay - $5

An jî her amûrek bi All-Access Pro - $15 carekê vekin.

Hemî Gihîştin - $15 carekê

Alipay - $15

Biha li gorî welat têne guheztin ji ber vê yekê heman amûr li cîhê ku dahat kêm e kêmtir lêçûn - hûn bihayê welatê xwe dibînin.

Alipay tercîh dikin? Hemû vebijarkên dravdanê bibînin.

Jixwe hatî dayîn? Têkeve Pro

Meriv çawa bikar tîne

  1. Choose Polygon, Circle, Ellipse or Inset.
  2. For a polygon, pick a preset or drag the round handles on the preview to move points; add or delete points as needed.
  3. For circle and ellipse, use the sliders for size and centre; for inset, set the four edges and corner rounding.
  4. Copy the CSS from the box and paste it into your element's style.

Pirsên hevpar

What is clip-path?

A CSS property that clips an element to a shape — anything outside the shape is hidden. It works on images, divs, videos and more, and it is supported by all modern browsers.

Why does my shape look stretched?

Polygon points are percentages of the element's own width and height, so the same points look different on a wide element than on a square one. The preview uses a 4:3 box; test the CSS on your real element size.

Can I animate clip-path?

Yes — most browsers can transition clip-path between two shapes with the same number of points, which is how many hover morph effects are made.

Do I need anything else in my CSS?

No. Paste the copied line into your element's style (or a class) and it works. Older browsers may need -webkit-clip-path as well — the copied CSS includes both lines.

Zêdetir amûrên Amûrên din

← Vegere hemû amûran · Browse rêberên