Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
chrismorgan
on Feb 21, 2023
|
parent
|
context
|
favorite
| on:
My favourite 3 lines of CSS
Specificity is the difference:
* + * is 0,0,0.
:not(:first-child) is 0,1,0.
:where(:not(:first-child)) would take it back to 0,0,0.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
* + * is 0,0,0.
:not(:first-child) is 0,1,0.
:where(:not(:first-child)) would take it back to 0,0,0.