Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 27, 2016 01:06 pm GMT

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:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks