偽元素(before,after)+ display:inline-block. 此方法可適用於單行或多行文字,以及區塊置中. 缺點是需多寫一行css(偽元素). 範例:. HTML; CSS.
確定! 回上一頁