How to Use Mixins in Sass and Pass Arguments – With Code Examples

PHOTO EMBED

Sat Jan 08 2022 02:23:19 GMT+0000 (Coordinated Universal Time)

Saved by @wnakswl #circle

@mixin circle($width,$height,$color) {
    width: $width;
    height: $height;
    background: $color;
    border-radius: 50%;

}
content_copyCOPY

https://www.freecodecamp.org/news/how-to-pass-arguments-to-mixins/