[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ja/docs/Web/CSS/Reference/Values/shape [Back]  [Original]

CSS <shape> - CSS | MDN

MDN Web Docs

View in English Always switch to English

CSS <shape>

Deprecated

Avoid using this feature in new projects. The CSS Masking specification deprecated the clip property. This feature may be a candidate for removal from web standards or browsers.

Consider using the following features instead: clip-path.

<shape> CSS clip

: <shape> rect() clip clip-path clip-path <basic-shape>

<shape> rect()

rect()

css
rect(top, right, bottom, left)

[]

top

<length>

<length>

bottom

<length>

left

<length>

<shape> toprightbottomleft

rect()

css
img.clip04 {
  clip: rect(10px, 20px, 20px, 10px);
}

Cascading Style Sheets Level 2
# value-def-shape


Web Proxy Viewer  |  New URL  |  Original Page