css nth-child selector formula -
i have list of html items , need select every 3 on 3. (1,2,3,7,8,9,13,14,15 e.t.c)
please suggest me, possible using css nth-child selector , formula should in parentheses? or way javascript?
hooray! i've found solution! answers! version is:
.item:nth-child(1+6n), .item:nth-child(2+6n), .item:nth-child(3+6n) { /* styles */ }
Comments
Post a Comment