css to crop an image instead of stretching it
        Posted  
        
            by amit
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by amit
        
        
        
        Published on 2010-04-12T16:25:06Z
        Indexed on 
            2010/04/12
            16:32 UTC
        
        
        Read the original article
        Hit count: 297
        
css
i am taking an image from a source, say, facebook. now when i want to insert that image in a container with fixed width and height, the image stretches to fit that space. is there a way the image can display in its normal size and the rest of the area clipped out?
© Stack Overflow or respective owner