I think I'm really starting to dislike nesting in css preprocessors
@kev_nz around two levels is the sweet spot (one level for page "context" and one for `&` tack-ons)
-
-
@wycats Yeah, sadly I've seen too much abuse with it lately. I still want to use, I just don't want other people using it. -
@kev_nz Maybe a "max-depth" linter would be helpful. I'd use it -
@wycats Tthat would really be great. The other problem is determining the best scope of the nested selector. But that's too hard for a tool -
@kev_nz I think I'd use something like a max-depth of 4. -
@wycats yeah, now if the linter would fix the code in the process that'd be great.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.