-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
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
strictMath #1501
Comments
You should report this to CodeKit and let them know they should add an options panel for LESS https://github.com/bdkjones/CodeKit/issues However, there was discussion about having an |
Also, why don't you just wrap your math in parenthesis? .oval {
-webkit-border-radius: (20px / 10px);
-moz-border-radius: (20px / 10px);
border-radius: (20px / 10px);
} Or even better: .oval {
@radius: (20px / 10px);
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
} |
If disabling strict math in CodeKit does nothing, then that's a bug on their end. And if you're using parenthesis then strictMath doesn't matter. StrictMath means all math operations need to be wrapped in parenthesis. The reason for this is because The |
to reiterate what @Soviut is saying, |
Exactly. To summarize: If strictMath is ON, you must wrap all math operations in parenthesis: If strict math is OFF, you do not need to wrap math operations: Do NOT use |
I use codekit and can not set an option in the console, please tell me which file to change the settings "strictMath:true" ?
output:
The text was updated successfully, but these errors were encountered: