:first-child
版本:CSS2 兼容性:無
語法:
Selector
: first-child {
sRules
}
說明:
設置
E
的第一個子對象的樣式。
示例:
p a:first-child { color: green }
table td:first-child { width:200px; }