3 ms·
> 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
by hopfog 13y 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!
- basicallydan 13y agoAlwaysTwisted 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-bem-ing-with-sass-33 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.
- freshyill 13y agoI 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.
- scottkellum 13y agoAgreed 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.