Menu Riverview Church

CLIP

The clip property specifies what portion of an element's border box is visible.

SYNTAX

CSS

clip: value;

JS

object.style.clip = "value";

VALUES

<'clip'> = rect() | auto
rect() = rect( <top>, <right>, <bottom>, <left> )

A rectangle.

<top>

Top.

<right>

Right.

<bottom>

Bottom.

<left>

Left.

auto

The element does not clip.

INITIAL

auto

EXAMPLES

AUTO

RECT

JS

INTERNAL

clip-path

EXTERNAL

World Wide Web Consortium (W3C)