Quantcast
Channel: Crop an image to zoom in to only part of that image inside a div - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by kevinuulong for Crop an image to zoom in to only part of that image...

I think the property you are looking for is background-position. By defining the width and height of your div you define the size/dimensions of your crop area. Then using the background-position...

View Article



Crop an image to zoom in to only part of that image inside a div

Is there a way to use CSS to get only a specific part of an image to appear as a div background? Basically like cropping?This image from adobe pretty much sums up what I mean and what I wish I could do...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images