输入banner图图片脚本导航/分类

css选择器nth-child(2n)_html/css_WEB-ITnose

css选择器 nth-child

nth-child(2n) 和 nth-child(2)有什么区别,nth-child(n)的值用nth-child(1)可以取到,为什么前者却不行,谢谢


回复讨论(解决方案)

http://www.w3school.com.cn/cssref/selector_nth-child.asp

http://www.w3school.com.cn/cssref/selector_nth-child.asp 好