#body.contact > div div:first-child span:first-child啥意思?

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 13:10:35
#body.contact > div div:first-child span:first-child啥意思?

#body.contact > div div:first-child span:first-child啥意思?
#body.contact > div div:first-child span:first-child啥意思?

#body.contact > div div:first-child span:first-child啥意思?
#body.contact > div div:first-child span:first-child
可能是写错了,不过还是帮你翻译过来
正确的应该是:body.contact > div div:first-child span:first-child前面没“#”;
意思是,class为contact的body标签 的子 div 下面的第一个子孙div 的第一个子孙 span
"body","div","span":都是标签选择符;
".":代表class属性;
">":代表子孙属性;
":first-child":代表元素集的第一个元素;
只是帮你直接翻译一下,要具体学习的话可以看1L的答复.