I generally agree and wince at anything deeply nested, but there's no question that the biggest benefit here by far will be pseudoclasses. Especially when you wanna do something to children elements based on a pseudoclass
Yeah I agree. Most of my CSS files end up feeling like a big, append-only list of selectors for seemingly random stuff. Its so hard to tell if there are selectors in there that are no longer in use.
I really like the look of nested selectors for this reason - because I can group my selectors by component.
Yes it's terrible. Not just that you have to type ".page form" 3 times, but that you don't have a convenient way to group together these bits of style that clearly are meant to go together
You are forgetting that it will also make files smaller.
I tested here, and it reduced from 172b to 160b, on minified versions. Bigger files will have a bigger reduction on file size.