What does = mean

For example, in the following example: sass. Is = just a shorthand for @mixin? I can not find information about it on google

=multi-line-button($base-color) +background-clip('padding-box') border-width: 1px +border-radius(6px) border-style: solid color: white display: block margin: 0.2em auto padding: 12px 15px text-align: center text-decoration: none 
+7
source share
2 answers

yes, this is a way to define mixins in Sass

dunno if this article helps at all

EDIT:

The following are identical

 @mixin red-text color: #ff0000 =red-text color: #ff0000 

Just add +red-text to your selectors

+7
source

"@mixin foobar" is the new SCSS syntax (more CSS-like) and "= foobar" is the older SASS syntax (more HAML-like). I am new to SASS and started with SCSS, but both are supported (maybe not in the same stylesheet) and both will be supported.

+4
source

All Articles