第四种:给父元素添加display: flex; flex-direction: column; 子元素添加flex: auto;. 这个问题在于,没法设置为50%的高度。 第五种: display:table; 因为本人不喜欢 ...
確定! 回上一頁