可以看到子元素距离填满父元素仍有一段空间。此时只需将父元素的align-items: center;变为align-items: stretch; 此时子元素盒子已经自适应父元素的高度。
確定! 回上一頁