CSS 文字樣式主要包括 font-family、font-size、font-weight、font-style 與 color。font-family 決定字體,font-size 決定大小,font-weight 決定粗細,font-style 決定是否斜體,color 決定文字顏色。
初學階段建議以像素設定字體大小,並使用常見的粗細值。顏色可使用關鍵字或十六進位值,搭配調色工具能更快找到適合的視覺色彩。