但因物件對齊點為左上角,故須進行X、Y 軸負向偏移50% 讓對齊點為物件中心 ... box { display: inline-block; vertical-align: middle; } } 複製.
確定! 回上一頁