Closed
Description
Just discovered focus-within.
what dose it solve that :has()
pseudo class can't fix?
eg:
form:has(:focus) { }
form:focus-within { }
I mostly think it's seems unnecessary to have focus-within, just adds more code, a yet another way of doing things