We use cookies to improve your experience. Learn more in our Privacy policy.
clip
The clip CSS property defines a visible portion of an element. The clip property applies only to absolutely positioned elements — that is, elements with position:absolute or position:fixed.
Initial value | auto |
Applies to | absolutely positioned elements |
Syntax
clip: unset;
Values
A rectangular <()> of the form rect(, , , ). The and values are offsets from the inside top border edge of the box, while and are offsets from the inside left border edge of the box — that is, the extent of the padding box.
The , , , and values may be either a or auto. If any side's value is auto, the element is clipped to that side's inside border edge.
Browser support
clip | chrome1 | edge12 | firefox1 | ie4 | opera7 | safari1 |