:before
版本:CSS2 兼容性:無
語法:
Selector
: before {
sRules
}
說明:
用來和
content
屬性一起使用,設置在對像前(依據對像樹的邏輯結構)發生的內容。
示例:
em:before { content: url("ding.wav"); }