Hacker News new | ask | show | jobs
by hopfog 4489 days ago
> You can now write &-suffix (or &_suffix, or even &suffix if you really want) and Sass will make it work.

Now you can finally use BEM in Sass without the need of verbose mixins. Good stuff!

1 comments

AlwaysTwisted has a really great guide on this for more info and copy-and-pastability. http://alwaystwisted.com/post.php?s=2014-02-27-even-easier-b...

So excited about this, absolutely brilliant. I did notice some frameworks that I was using (I think it was Bourbon) breaking with SASS 3.3 though.

I think they've been waiting on Sass 3.3 to release the next Bourbon update. There have been pull requests that were accepted long ago (hyphens mixin comes to mind) that still aren't in the released version of Bourbon.
Agreed this would be great but I would be curious to see how Bourbon would deal with their extensive and growing LibSass user base which has the feature set of Sass 3.1.