You are here : cssCSS 3clip

clip - CSS 3

What happens if an image is larger than its containing element? - The clip property 
lets you specify a rectangle to clip an absolutely positioned element. The 
rectangle is specified as four coordinates, all from the top-left corner of the 
element to be clipped.Note: The clip property does not work if "overflow:visible".


Syntax

clip: auto|shape|initial|inherit;


Example

img 
	{
	   
	position: absolute;
	   
	clip: rect(0px,60px,200px,0px);
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference