css clip property

CSS clip

CSS clip property is removed from Web Standards, so instead of this we can use css clip-path property.

CSS clip property can be applied only to the elements if their position property is set as absolute or fixed.

It is used to specify what portion of the image can be displayed, if an image is larger than the containing element.

Example

Try Yourself