如果需要水平置中可於父層加上 text-align: center; ( 因為子層為 inline-block )。 CodePen 範例. ❒ position + transform 方式. 適用: 區塊與文字排版 ...
確定! 回上一頁