sass syntax error when using placeholder -
i defined placeholder selector in .sass file as:
.bold, %bold font-weight: bold font-weight: 500then used extend:
.pane-share-of-day @extend %boldwhen css generated, error message: syntax error: invalid css after ".bold,": expected selector, "%bold"
i using sass version 3.2.5. help please.
adding these declarations own file worked fine me. perhaps can repost more of what's going around it?
more importantly, though, redundancy of declaration. % placeholder selector introduced have base of operations class never got output. here you're defining such class beingness identical explicitly output class. in other words, if need .bold
, don't need add together %bold
.
sass
No comments:
Post a Comment