@mixin verticalGradient($fromColor, $toColor) {
    background-color: $toColor;
    background-image: -moz-linear-gradient(top, $fromColor, $toColor);
    ...
    background-image: linear-gradient(to bottom, $fromColor, $toColor);
}
.btn-b {
    @include verticalGradient(blue, red);
}
by Valeri Tandilashvili
4 years ago
Sass
including mixins
Sass Tutorial for Beginners
0
Pro tip: use ```triple backticks around text``` to write in code fences