Parameterized SCSS Mixins
A mixin can be made to be much more versatile by parameterizing it. If you need variations of a block of CSS, then move the parts that vary out into parameters to the mixin.
The mixin can now easily be used to customize different segments of your app's styling.
Last updated
Was this helpful?