Here is the challenge :
Rather than store a collection of shared styles in a class or placeholder selector, our coworker is convinced they should be represented as shown in $styles - a list of lists. Inside the @each loop within .factory, utilize nth() to create working CSS properties and values from each pair in $styles.
And my code :
$styles: background #333, margin 20px, padding 10px
@each $style in $styles
I don't understand why it is not working. Here is the CSS error returned :
Invalid CSS after "nth": expected selector, was "($style,1): nth..."
Thanks for help