I am trying to figure out SCSS, as I would do something like this:
I would like to have margins somewhere between 1px and 1000px and have a class for it.
For example .MarginTop's
X where I can write any value. Obviously, I could not write
.MarginTop-1 {margin-top:1px}
.MarginTop-2 {margin-top:2px}
.MarginTop-3 {margin-top:3px}
.MarginTop-4 {margin-top:4px}
etc.
source
share