May 27, 2016 01:06 pm GMT
Original Link: https://css-tricks.com/instyle-current-selector-sass/
inStyle (Modifying the Current Selector `&` in Sass)
The following is a guest post by Filip Naumovic. Filip has built a Sass tool to help with an issue I know I've experienced many times. You're happily nesting in Sass. You're maybe a level or two deep, and you need to style a variation based on some parent selector. You need to either break out of the nesting and start a new nesting context, or go nuclear with @at-root
. I'll let Filip tell the story of his …
inStyle (Modifying the Current Selector `&` in Sass) is a post from CSS-Tricks
Original Link: https://css-tricks.com/instyle-current-selector-sass/
Share this article:
Tweet
View Full Article