@mixin clearfix() { /* ... */ }Usage:
.container {
@include clearfix;
}@mixin reset() { /* ... */ }Usage:
@include reset;@mixin triangle($direction, $width, $height, $color) { /* ... */ }Arguments:
- $direction: to (top|right|bottom|left){1, 2}
- $width: width
- $height: height
- $color: color
Usage:
.element {
@include triangle(to right bottom, 30px, 25px, #000);
}