3 ms·
We have a parent selector. It's called :has(), and Firefox is the only holdout at this point.
by frosted-flakes 4y ago
We have a parent selector. It's called :has(), and Firefox is the only holdout at this point.
- toastal 4y agoYou can enable it with a flag in Firefox though. If only I could enable subgrid with a Blink flag though ha.
- Sesse__ 4y agoThe flag you're looking for is --enable-blink-features=LayoutNGSubgrid, I assume.
- frosted-flakes 4y agoYou can enable :has in Firefox, but it's buggy and still very experimental at this point. Or at least it was a month or so ago.