Home Menu

clip

The clip CSS 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)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms