css选择器之多项选择子元素 //选择循环的第10-18项加下划线 li:nth-child(n+10):nth-child(-n+18){ border-bottom: 1px solid #DDDDDD; }