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

there are a bunch of good articles out there on :has() now, like this one: https://www.smashingmagazine.com/2021/06/has-native-css-pare...

i've been experimenting with it on safari tech preview, and it really lets you do many things that were previously impossible or unacceptably brittle. i love it.

same with container queries. have been experimenting, it's really nice compared to page grids and breakpoint hell.



Ohhh, I didn't know that container queries are finally being implemented. I'd given up on them as something that would be great but didn't look like they were going to happen.




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

Search: