div里面放img的时候 会出现包裹不住的情况,这个时候 只要将img { width:100%,height:100% },就可以解决问题了 转载于:https://www.cnblogs.com/agansj/p/6873656.html