CSS Clip Property
CSS 1 |
CSS 2 |
CSS 3 |
|
|
|
|
Description
Specifies the portion of an element that is visible, when the element's overflow property is set to something other than visible.
Syntax
clip: rect([value1],[value2],[value3],[value4])
Possible values
- auto
- [shape]
- inherit
Initial Value
Auto
Applies To
Absolutely positioned elements
Inherited
No
Media
Visual
Example
P {clip: rect(10px, 20px, 10px,
20px;)}
Loading Twitter