2012-09-29 55 views

回答

0

我有同样的问题和使用的一些jQuery来解决基于他们的屏幕

var thumbHeight = $('.project-thumb').height(), 
    thumbWidth = $('.project-thumb').outerWidth();     

    $('.project-thumb').css({'max-width':thumbWidth, 'max-height':thumbHeight}); 
什么尺寸