$("#resizeThis > *").css('width', '64px').css('height', '64px');
but it only shrinked the #resizeThis and not its children.
And what can I do about backgrounds, text, etc?
I want to do this so that I could generate thumbnails (usually 25% of the original size). Don't use your browser to resize images. It makes bad pictures. Generate thumbnails on server side. (e.g: with imagemagick)
以上就是Resize a set of HTML element.的详细内容，更多请关注web前端其它相关文章！