As a loop to iterate over the classes in sass?

There's a number of buttons with the class "button"
All they need to add for example the name of the flower, to get the following:

class="button--red"
class="button--blue"
class="button--green"
class="button--white"
class="button--yellow"
And so on

I think this is a cycle, and the class names are taken from the array. But how to capture it?
March 25th 20 at 11:50
2 answers
March 25th 20 at 11:52
Solution
March 25th 20 at 11:54
And where does sass? sass - CSS preprocessor, it does not affect the dom

Find more questions by tags PreprocessorsSass