Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
romellem
on Feb 16, 2023
|
parent
|
context
|
favorite
| on:
WebKit Supports Nested CSS
Do you know about the `:has()` pseudo-selector? It is basically a parent selector, and has decent browser support already!
*
https://developer.mozilla.org/en-US/docs/Web/CSS/:has
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
* https://developer.mozilla.org/en-US/docs/Web/CSS/:has