:nth-child(-n+m) {
do some thing
}
选择前几个元素
:nth-child(n+6) {
do some thing
}
从第几个开始选择
:nth-child(-n+9):nth-child(n+6)
限制范围:6-9
:nth-child(-n+m) {
do some thing
}
选择前几个元素
:nth-child(n+6) {
do some thing
}
从第几个开始选择
:nth-child(-n+9):nth-child(n+6)
限制范围:6-9