I am looking to select for all the <li>s from number 10 on up. I would rather have css, but javascript/ jquery is okay if necessary.
li:nth-child(n + 10) {
background: cornflowerblue;
}
http://jsfiddle.net/YhVNN/9/
"And what if I wanted to select for lets say only 10 through 25?" :
li:nth-child(n + 10):nth-child(-n + 25) {
background: cornflowerblue;
}
http://jsfiddle.net/YhVNN/8/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With