... 計算垂直置中物件的寬與高,我們使用translate(-50%,-50%)的意思是,讓物件的X軸 ... .box{ width: 500px; height: 250px; border: 1px solid #f00; margin: auto; ...
確定! 回上一頁