Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
myfonj
on Aug 15, 2023
|
parent
|
context
|
favorite
| on:
CSS Selectors: A Visual Guide
`:not(:first-child)` has specificity 0.1.0 that is some orders higher than 0.0.0 of `* + *` (since `:first-child` is a pseudoclass), so you'd have to adjust anything that you'd need to override it with.
Strict equivalent of
* + *
would be
:where(:not(:first-child))
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Strict equivalent of
would be