$spaceamounts: (1, 2, 3, 4, 5); @each $space in $spaceamounts { .m-#{$space} { margin: #{$space}rem; } }
Pro tip: use ```triple backticks around text``` to write in code fences