Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other SASS at-root

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #189581
    alexmccabe
    Participant

    I’m wondering if anyone has found a legitimate use for SASS 3.3’s @at-root{...} directive? I’ve been thinking and I can’t come up with anything.

    #189638
    __
    Participant

    Found a lot of weak use cases. But this one’s legit (‘cept for the BEM part, of course, imo): http://unakravets.tumblr.com/post/64113156740/sass-3-3-at-root-bem

    Will you ever have need for it? Dunno. If you don’t, it’s okay.

    #190521
    alexmccabe
    Participant

    The problem I have with that, is that it is needlessly complicated. You could avoid all that trouble by less nesting. Sure it IS a use-case, but only if you like un-obvious code.

    If anyone else comes up with something, I would very much like to see. There has to be a legitimate reason why it is there?

    #190531
    TheDoc
    Member

    I actually really like the use-case for animations as seen here: http://alwaystwisted.com/post.php?s=2014-03-08-using-sass-33s-at-root-for-piece-of-mind

    Other than that, I can’t see myself using the feature.

    The problem I have with that, is that it is needlessly complicated.

    Is it? It’s seems pretty simple to me.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Other’ is closed to new topics and replies.