Akwụkwọ ndekọ akụrụngwa efu / Ngwa ndị ọzọ / Onye kere ụzọ clip

Onye kere ụzọ clip

Họrọ udi atọrọ ma ọ bụ dọrọ isi ihe na nhụchalụ dị ndụ, wee detuo CSS ụzọ clip-ejikere maka weebụsaịtị gị. Polygon, okirikiri, ellipse na ụdị ntinye.

Họrọ udi atọrọ ma ọ bụ dọrọ isi ihe na nhụchalụ dị ndụ, wee detuo ụzọ CSS dị njikere iji maka weebụsaịtị gị, nwere polygon, okirikiri, ellipse na ụdị inset. Jiri aka ma ọ bụ ihe mmịfe dogharịa udi ahụ, wee mado CSS e depụtaghachiri n'ụdị mmewere gị. Jiri ya kagbuo foto ka ọ bụrụ akụkụ diagonal ma ọ bụ ọdịdị gbara okirikiri maka isi ibe ọdịda.

Mepee ngwá ọrụ →

Free iji, enweghị ndebanye aha. Ngwá ọrụ na-emepe na ibe ya ma na-agba ọsọ na ihe nchọgharị gị.

Achọrọ karịa? Gaa Pro

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

Nweta Pro →

Alipay - $5

Ma ọ bụ jiri All-Access Pro mepee ngwa ọ bụla - $15 otu ugboro.

Nweta ohere niile - $15 otu ugboro

Alipay - $15

A na-edozi ọnụ ahịa site na obodo ka otu ngwá ọrụ ahụ na-efu obere ebe ego na-akpata dị ala - ị na-ahụ ọnụahịa maka obodo gị.

Ọ masịrị Alipay? Lee nhọrọ ịkwụ ụgwọ niile.

akwụgolarị? Banye na Pro

Otu esi eji ya

  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.

Ajụjụ nkịtị

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.

Ngwa Ngwa ndị ọzọ ndị ọzọ

← Back to niile ngwaọrụ · Chọgharịa ntuziaka