Free CSS Developer Tool
Test CSS :nth-child()
Selectors Instantly
Type any formula — odd, even, 3n+1, -n+4 — and instantly see which elements match. Stop guessing, start styling.
⚡
Real-Time Preview
See matching elements highlighted as you type, with zero delay.
📖
Plain-English Explanations
Every formula is translated into human-readable language so you always know what it means.
📋
Copy-Ready CSS
Get the exact CSS snippet — just copy and paste it into your stylesheet.
Selector Formula
:nth-child()
16
Meaning: Every 3rd element, starting from the 1st.
Visual Preview
6 / 16 elements match1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Matches No match
CSS Snippet
li:nth-child(3n+1) {
/* your styles */
}Frequently Asked Questions
Everything you need to know about CSS :nth-child() Tester.