data-type

<shape> — CSS reference

Historical shape type used by the deprecated clip property, represented by rect() with top/right/bottom/left offsets. Prefer clip-path basic shapes for new work; the modern rect() syntax is distinct.

Formal Syntax & Structure

css syntaxcss
clip: rect(0px, 80px, 40px, 0px);

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>&lt;shape&gt;</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{position:absolute;clip:rect(0px,80px,40px,0px);width:100px;height:80px;background:red}</style><body><div id="a">Example</div></body></html>
CSS Reference