Sass Selector Combining

Brad Frost was asking about this the other day…
Sass people, which way do you do it and why? pic.twitter.com/dIBA9BIuCO
— Brad Frost (@brad_frost) October 1, 2018

.c-btn {
&__icon {

}
}
I guess that’s technically “nesting" but the selectors come out flat:
.c-button__icon { }
The question was whether you do that or just write out the whole selector instead, as you would with vanilla CSS. Brad’s post gets into all the pro’s and con’s of both …
The post Sass Selector Combining appeared first on CSS-Tricks.

Link: http://bradfrost.com/blog/post/sass-selectors-to-nest-or-not-to-nest/