Ọfẹ Irinṣẹ Directory / Awọn Irinṣẹ miiran / Agekuru-ona Ẹlẹda

Agekuru-ona Ẹlẹda

Yan apẹrẹ tito tẹlẹ tabi fa awọn aaye lori awotẹlẹ laaye, lẹhinna daakọ-ọna agekuru-lati-lo CSS fun oju opo wẹẹbu rẹ. Polygon, Circle, ellipse ati awọn apẹrẹ inset.

Yan apẹrẹ tito tẹlẹ tabi fa awọn aaye lori awotẹlẹ laaye, lẹhinna daakọ-ọna agekuru-ọna CSS ti o ṣetan lati lo fun oju opo wẹẹbu rẹ, pẹlu polygon, Circle, ellipse ati awọn apẹrẹ inset. Ṣatunṣe apẹrẹ pẹlu awọn imudani tabi awọn ifaworanhan, lẹhinna lẹẹmọ CSS ti o daakọ sinu ara eroja rẹ. Lo lati gige fọto sinu eti diagonal tabi apẹrẹ yika fun akọsori oju-iwe ibalẹ.

Ṣii ọpa →

Ọfẹ lati lo, ko si iforukọsilẹ. Ọpa naa ṣii lori oju-iwe tirẹ ati ṣiṣe ni ẹrọ aṣawakiri rẹ.

Nilo diẹ sii? Lọ Pro

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

Gba Pro →

Alipay - $5

Tabi ṣii gbogbo irinṣẹ pẹlu Gbogbo-Wiwọle Pro — $15 lẹẹkan.

Gba Gbogbo-Wiwọle — $15 lẹẹkan

Alipay - $15

Awọn idiyele ti wa ni titunse nipasẹ orilẹ-ede nitorina ohun elo kanna ni idiyele kere si nibiti awọn owo-wiwọle ti dinku - o rii idiyele fun orilẹ-ede rẹ.

Ṣe o fẹ Alipay? Wo gbogbo awọn aṣayan sisanwo.

Ti sanwo tẹlẹ? Wọle si Pro

Bawo ni lati lo

  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.

Awọn ibeere ti o wọpọ

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.

Awọn irinṣẹ Awọn Irinṣẹ miiran diẹ sii

← Pada si gbogbo awọn irinṣẹ · Ṣawakiri awọn itọsọna