Skipping an optional argument in Sass mixin

Starting from SASS 3.1 you can pass named arguments to do that:

@include linear-gradient($from: #7a7a7a, $to: #1a1a1a, $ie-filters: true);

The rest will be default.

Leave a Comment