Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: