© 1999-2048 dssz.net 粤ICP备11031372号
[其它] 结构伪类选择器(总结)
说明:什么是结构伪类选择器? 结构伪类选择器是针对HTML的结构进行分类的选择器,特征就是位置 分为三大类 一类 e:first-child e:last-child e:only-child e:nth-child(n/even/odd)隔行换色,列表换色 e:nth-last-child 二类 e:first-of-type e:last-of-type e:only-of-type e:nth-of-type 三类 e:root e:empty e:target e:not 波浪选择器连接符~<weixin_38611796> 上传 | 大小:34kb