DHTMLET? |
規(guī)則清單?|?相關(guān)內(nèi)容:
|
@font-face版本:CSS2 兼容性:IE4+
?
語(yǔ)法:
?
@font-face { font-family : name ; src : url( url ) ; sRules }
?
說(shuō)明:
?
name : 字體名稱(chēng)
url : 使用絕對(duì)或相對(duì)地址指定OpenType字體
sRules : 樣式表定義
?
設(shè)置嵌入HTML文檔的字體。
嵌入HTML文檔的字體是指將OpenType字體(壓縮的TrueType字體)文件映射到客戶端系統(tǒng),用來(lái)提供HTML文檔使用該字體,或取代客戶端系統(tǒng)已有的同名字體。
?
示例:
?
@font-face { font-family: dreamy; font-weight: bold; src: url(http://www.example.com/font.eot); }
?
?
?
蘇沈小雨制作·保留所有權(quán)利
©2001 rain1977.comer . All rights reserved . Terms of Use .