3 回答

TA貢獻(xiàn)1876條經(jīng)驗(yàn) 獲得超7個(gè)贊
第一種:.pt{font-size:24pt;}
第二種:
<p style="font-size:xx-small">關(guān)鍵字為xx-small。</p>
<p style="font-size:x-small">關(guān)鍵字為x-small。</p>
<p style="font-size:smaller">關(guān)鍵字為smaller。表示相對(duì)尺寸。</p>
<p style="font-size:small">關(guān)鍵字為small。</p>
<p style="font-size:medium">關(guān)鍵字為medium。這是瀏覽器默認(rèn)的字號(hào)。</p>
<p style="font-size:large">關(guān)鍵字為large。</p>
<p style="font-size:larger">關(guān)鍵字為larger。表示相對(duì)尺寸。</p>
<p style="font-size:x-large">關(guān)鍵字為x-large。</p>
<p style="font-size:xx-large">關(guān)鍵字為xx-large。</p>

TA貢獻(xiàn)1818條經(jīng)驗(yàn) 獲得超7個(gè)贊
就給這個(gè)文本設(shè)定一個(gè)css樣式
比如:
.tittle{font-size:15px;}
然后在文本那里,如果是<p></p>就可以這樣:<p class="tittle"></p>
如果沒有任何標(biāo)簽,就這樣:<span class="tittle">主要業(yè)績</span>
這樣不就是從外部調(diào)用咯
- 3 回答
- 0 關(guān)注
- 768 瀏覽
添加回答
舉報(bào)