CSS Resize/Zoom-In effect on Image while keeping Dimensions
You could achieve that simply by wrapping the image by a <div> and adding overflow: hidden to that element: WORKING DEMO. Also it’s worth noting that <img> element (like the other inline elements) sits on its baseline by default. And there would be a 4~5px gap at the bottom of the image. That vertical gap … Read more