Student Reviews
( 5 Of 5 )
1 review
Video of Learn SASS - @content Directive in SASS course by Steve Griffith - Prof3ssorSt3v3 channel, video No. 12 free certified online
SASS has an @content directive that lets you pass large chunks of CSS to a mixin. So, instead of passing a long list of variables or a SASS list or map, you can write a chunk of CSS that uses variables and pass it as a single intact piece of CSS.
Also discussed is variable scope inside mixins.
Code GIST: https://gist.github.com/prof3ssorSt3v3/fa5e4d971c160702c84d19c51619fe83