Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

clip

Description

The clip property for CSS 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

1 · auto

2 · rect

3 · JS

HomeMenu