Ahmad Shadeed personal blog
Conditional CSS with:has and:nth-last-child
A modern look at how to combine CSS :has, :nth-last-child, and style queries to create dynamic components.
- Points
- 118
- HN comments
- 42
- Submissions
- 1
- Cited by
- 0 commenters
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| May 17, 2023 | Conditional CSS with:has and:nth-last-child by shadeed | 118 | 42 |