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
mcss 代码片段:
/* xx.mcss */ div { width: calc(100% + 2px); }
实际解析后结果:
/* xx.css */ div { width: calc(102%); }
预期解析后结果:
/* xx.css */ div { width: calc(100% + 2px); }
The text was updated successfully, but these errors were encountered:
操作符前后有空格就视为运算操作,mcss当做表达式进行计算,但其实calc其实并不需要计算。 但作为calc如果需要委托给浏览器计算,操作符必须留空格。
mcss对calc的使用有解决方案吗?
Sorry, something went wrong.
div { width: t('calc(100% + 2px)'); }
先这样吧
感谢。
No branches or pull requests
mcss 代码片段:
实际解析后结果:
预期解析后结果:
The text was updated successfully, but these errors were encountered: