設置關於字體的屬性
阿新 • • 發佈:2017-10-14
div bottom 屬性 -s font height wid lin -1
設置關於字體的屬性
.show_wzi{ width:1030px ; margin: 0 auto; min-height:300px ; background: #fbfbfb; padding: 100px 40px 0; font-weight:lighter; //設置字體的粗細程度 參數為100-900 normal:正常的字體 bold:粗體 bolder:特粗體 lighter:細體 letter-spacing:1px; } .show_wzi span{ font-weight:lighter; letter-spacing:2px; line-height: 30px; //設置每行字體的行高高度。 font-family: 宋體; //設置字體的種類。 font-size: 16px; } .show_wzi p{ font-size: 16px; color: #414141; line-height: 36px; margin-bottom: 40px; text-indent: 2em; font-family: "宋體"; }
normal: 正常的字體 bold:粗體 bolder:特粗體 lighter:細體
word-spacing 屬性增加或減少單詞間的空白(即字間隔)。 letter-spacing 屬性增加或減少字符間的空白(字符間距)。
設置關於字體的屬性