Wednesday, 25 March 2015

Modular CSS with Sass notes.

The @content directive lets us pass custom styles to a mixin when including it.

With SMACSS, element state selectors are usually prefixed with .is- 

The @at-root directive lets us nest a Sass rule without nesting the output.

In a conditional mixin, which directives are used to set the conditions? 
if and else

Now onto that last question 

Add the statement that instructs @at-root to output the nested state rule outside the @media query.  Anyone know the answer?

No comments: