I’m setting a simple framework for myself, and I was planning on using Bourbon.io as the base and then adding my own variables/mixins from there. I’ve been using LESS for a long time, and the transition to SCSS has been relatively smooth, but the concept of @extend vs @include has been somewhat perplexing. As I currently understand it, @extend “copies” the CSS from a placeholder class into the rule that has the @extend – yes?
Assuming that’s at least kind of correct I guess I don’t understand why Bourbon doesn’t have a single @extend in their project. It looks like everything is a mixin to be @included, which doesn’t really make sense all the time – particularly for stuff like clearfixes.
Viewing 1 post (of 1 total)
The forum ‘CSS’ is closed to new topics and replies.