clip

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

CSS2

Syntax

clip: <shape> | auto | inherit
Initial: auto
Applies To: absolutely positioned elements
Inherited: no
Percentages: NA
Media: visual

Values

clip: value
Value Initial Description
auto auto
shape

DOM

[window.]document.getElementById("element-id").style.clip = "clip";

Example | auto

Example | shape

Example | DOM

External

W3C Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification