CodeToFun
Learn Programming Free
Tutorials
Languages
Features
About
Sign In
Tutorials
Languages
Features
About
Sign In
Back
/
CSS :nth-of-type() Selector
CSS :nth-of-type() - Odd List Items
Try It
Run
Reset
Save
Save to Google Drive
Sync with your Google account
Download HTML
Save to your device
Share
Full
HTML Code
Copy
CSS :nth-of-type(odd) Example
Rows
Row 1
Row 2
Row 3
Row 4
Row 5
odd
is equivalent to
2n+1
among li elements.
Lines:
0
| Characters:
0
Live Preview
Auto-refresh on Run