CSS clip property
Usage
Allows you to clip an element to a specified size and shape.
Values
- auto - default, the browser determines the shape of the element
- rect([top] [right] [bottom] [left]) - clips the element to the specified rectangular dimensions
Example
Code:
img {
clip: rect(10px 5px 20px 5px);
}