当宽度为百分比时,如何让高度和宽度大小一样呢? .content li:before { content:""; display: inline-block; padding-bottom: 100%; }