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
在less中使用calc函数进行不同长度单位的计算时,后面值的单位会被忽略,例如:
height: calc(100vh - 50px);
结果等于50vh
解决方法:在表达式前添加"~"
height: calc(~"100vh - 50px");
https://www.cnblogs.com/neeter/p/13424737.html
The text was updated successfully, but these errors were encountered:
No branches or pull requests
解决less中无法正确计算calc的问题
在less中使用calc函数进行不同长度单位的计算时,后面值的单位会被忽略,例如:
height: calc(100vh - 50px);
结果等于50vh
解决方法:在表达式前添加"~"
height: calc(~"100vh - 50px");
https://www.cnblogs.com/neeter/p/13424737.html
The text was updated successfully, but these errors were encountered: