一定要按答案的順序?qū)懨?/h1>
換了順序,就不是都作用了,比如把斜體往后放,就沒反應了
換了順序,就不是都作用了,比如把斜體往后放,就沒反應了
換了順序,就不是都作用了,比如把斜體往后放,就沒反應了
2020-05-25
如果用?font?屬性的話,就可以把幾個樣式進行簡化,減少書的情況;font 屬性的值應按以下次序書寫(各個屬性之間用空格隔開):
順序:
font-style | font-variant | font-weight | font-size | line-height | font-family
必須按照這個順序?qū)?/strong> :font-style | font-variant | font-weight | font-size | line-height | font-family
再者就是注意 要以這個font:
簡寫的方式寫的話 必須有
?font-size和font-family?
這兩個屬性才可以生效
順序:font-style | font-variant | font-weight | font-size | line-height | font-family
順序不能改變.這種簡寫方法只有在同時指定font-size和font-family屬性時才起作用。而且,如果你沒有設定font-weight, font-style, 以及 font-varient ,他們會使用缺省值
如果用?font?屬性的話,就可以把幾個樣式進行簡化,減少書的情況;font 屬性的值應按以下次序書寫(各個屬性之間用空格隔開):
?
順序:font-style | font-variant | font-weight | font-size | line-height | font-family
舉報
2021-01-05
font-style|font-varint|font-weight|font-size|font-height|font-family