1396℃
效果图预览完整html代码
自适应正方形图片显示
#app {
display: flex;
max-width: 540px;
margin: auto;
justify-content: space-around;
flex-wrap: wrap;
padding: 0 2%;
}
.item {
/* 图片宽度 */
width: 30%;
/* 图片高度 */
padding-bottom: 30%;
height: 0;
overflow: hidden;
position: