News for hackers. Stuff that matters.
Re:Sanding UI by abdusco on Sunday September 22, 2024 @06:29AM (#41616088)
I think it's for material design inspired focus animations. :has selector wasn't a thing, so you have to use + sibling selector to target the label of a focused input

    input:focus + label {} 
    label:has(input:focus) {}

There are no comments on this comment yet.