Re: CSS的content屬性


 2011/5/30 銝9:38 嚗 摰瘥 撖怠堆

>    閫寞畚ontent閫鈭抒摰對銝摨霂仿蚤OM銝嚗瘥蝡餈頞箔CSS撌乩氬瘀牢ontent閫券△V唬鈭銝瑕喟摰寞閫敺祈澈撠望臭啣閫敺摰雿剁摨霂交渡掩隡潔
> "list-style"(唬摮其HTML銝剔銵典瑞嚗
> 
> example:  .
> 
> <p>This book was written by <span class="author"></span></p>
> 
> <style> .author:before{content: "author name"} </style>
> 
> 靘憒餈銝芯摮嚗閫敺臭葵雿輻其啣桅



雿W3C隞嗡蝭靘撠望舫璅函g銋臭誑銝Y靘摮嚗
> <p><q cite="http://zh.wikipedia.org/wiki/瞍X">瞍X嚗202撟湛220撟湛臭葉甇瑕脖蝜潛圻銋敺箇曄隞嚗箄正瞍g202撟湛9撟湛望慰嚗25撟湛220撟湛拙甇瑕脫嚗蝔勗拇慰嚗鈭行隞交望慰镼踵慰擐賭誨嚗蝔勗拐漪</q>畾菜摮芥蝬剖箇曄瞍X璇殷望迨臭誑箸慰胼胼胯</p>
> 
> q:lang(zh) {
> 	quotes: "" "" "" "";
> }
> 
> q:lang(zh):before {
>  content: open-quote;
> }
> 
> q:lang(zh):after {
>  content: close-quote "嚗蝬脣嚗" attr(cite) "嚗";
> }

撘典暻潸齒嚗雿輻刻銴鋆賜敺銝圈閰脫撘嚗

閰行喉銝冽迤蝣箄蝢拙蝝蝬脤渲賣遛頞喃蝙刻瘙閰梧航賣閮剛撣怒撖怎阮憿券鈭璅蝐支





Best Wishes,
Ethan

Mandarin: Chen Yijun
Hoklo: Tan I-kun
Cantonese: Can Jik-guan

http://ethantw.net/

http://twitter.com/ethantw/

Received on Monday, 30 May 2011 14:33:31 UTC