We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following:
@typeSize: 12px; @typeRhythm: 1.5; @typeFamily: "Helvetica Neue", Helvetica, "Helvetica Sans Unicode", Arial, sans-serif; html { font: @typeSize ~'/' @typeRhythm @typeFamily; font-size: @typeSize; line-height: @typeSize * @typeRhythm; }
Works, and produces the following CSS:
html { font:12px / 1.5 "Helvetica Neue",Helvetica,"Helvetica Sans Unicode",Arial,sans-serif; font-size:12px; line-height:18px; }
However, if I change the source to:
@typeSize: 12px; @typeRhythm: 1.5; @typeFamily: "Helvetica Neue", Helvetica, "Helvetica Sans Unicode", Arial, sans-serif; html { font: @typeSize ~'/' (@typeSize * @typeRhythm) @typeFamily; font-size: @typeSize; line-height: @typeSize * @typeRhythm; }
I get a syntax error.
The text was updated successfully, but these errors were encountered:
Fixed on master for 1.4.0
Sorry, something went wrong.
No branches or pull requests
The following:
Works, and produces the following CSS:
However, if I change the source to:
I get a syntax error.
The text was updated successfully, but these errors were encountered: