Reputation: 14029
I've been picking up Sass as I go on the project I'm working on and have noticed @mixin
and @include
being replaced with =
and +
respectively. I can't seem to find any information on these symbols as directives and sass-lang.com only makes mention to the @ prefixed directives.
Seeing these have brought up a few questions that I cannot seem to find answered here, on google, or at http://www.sass-lang.com.
=
and +
over their longer equivalents?@extend
?Upvotes: 0
Views: 485
Reputation: 4294
This is old syntax for the .sass files (Pre SASS3)
see here under "Mixins": http://sass-lang.com/docs/yardoc/file.SCSS_FOR_SASS_USERS.html
Moving forward, you should use @mixin and @include, unless you have a reason for continuing to use the legacy format.
Upvotes: 2