I have a image of width:300px, height:400px;
My container size is width:168px, height:208px;
I want to display only a part of the image so that it can fill the container.
like:
Suppose top left corner is 0px 0px
bottom right corner is 300px 400px
of the original image.
I want to display picture from 10px 0px(top-left) to 200px 208px(bottom-right)
such that it fits in the container.
How to do this in css?