这是我的html代码
<div class="feature-image">
    <a class="featured_image_link" href="#">
        <img src="1.jpg">
    </a>                    
</div>
我的图像 1.jpg 大小是150px x 150px,我在 css 中提到过
.feature-image{
    width:150px;
    height:150px;
    display:block; 
    position:relative;
    overflow:hidden;
}
.feature-image img{
    position:absolute; 
    top:-50; 
    left:0; 
    width:100%;
}
我知道当我给出不同的图像尺寸(例如:300x200或600x350等)时,图像将填充在其中150x150而不是拉伸。
但实际上它不能正常工作。请帮忙看看这段代码有没有错误?