Name

clip

Synopsis

Specifies the dimensions of a clipping rectangle through which the contents of an absolutely positioned element are visible.

Values:

rect(top, right, bottom, left) | auto | inherit

Initial value:

auto

Applies to:

Absolutely positioned elements.

Inherited:

No.

Computed value:

Four lengths representing the edges of the clipping area.

Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.