CodeToFun
Learn Programming Free
Tutorials
Languages
Features
About
Sign In
Tutorials
Languages
Features
About
Sign In
Back
/
CSS :nth-last-child() Selector
CSS :nth-last-child() - Odd from the End
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-last-child(odd) Example
Rows
Row 1
Row 2
Row 3
Row 4
Row 5
Matches items 5, 3, and 1 — odd positions from the end.
Lines:
0
| Characters:
0
Live Preview
Auto-refresh on Run