第4章:文档结构与选择器

4.2 选择器

4.2.7 相邻兄弟选择器(Adjacent Sibling Selectors)

与div相邻的上一个p

div中的p

与div相邻的下一个p

不与div相邻的p

返回代码目录