Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
according to the SCSS reference in http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#division_and_slash that is precisely what is expected. try putting it into a mixin:
then, whenever you need to use it again, just write it like that:
see http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#mixins for more information.
EDIT:
according to latest documentation (see link above) the following code
p { $font-size: 12px; $line-height: 30px; font: #{$font-size}/#{$line-height}; }should be compiled to
p { font: 12px/30px; }