這方法類似於 margin: 0 auto 的水平置中,但套用在垂直的元素上,只要將內元素設定 absolute 並將上下左右的距離皆設定為0,再補上 margin: auto 就 ...
確定! 回上一頁