DHTMLET? |
屬性清單?|?相關(guān)內(nèi)容:
|
counter-increment版本:CSS2 兼容性:NONE 繼承性:無(wú)
?
語(yǔ)法:
?
counter-increment : none |
identifier number
?
參數(shù):
?
none : 阻止計(jì)數(shù)器增加
identifier number : identifier定義一個(gè)將被增加selector,id,或者class。number定義增加的數(shù)值??梢詾樨?fù)值。默認(rèn)值是1
?
說(shuō)明:
?
設(shè)定當(dāng)一個(gè)selector發(fā)生時(shí)計(jì)數(shù)器增加的值。
目前IE5.5尚不支持此屬性。
對(duì)應(yīng)的腳本特性為
counterIncrement。請(qǐng)參閱我編寫(xiě)的其他書(shū)目。
?
示例:
?
p:before { content: "paragraph" counter(paragraph); counter-increment: paragraph; }
?
?
?
蘇沈小雨制作·保留所有權(quán)利
©2001 rain1977.comer . All rights reserved . Terms of Use .