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文件中,会有这样的:
.less
width: calc(100px - @min-height);
这种写法默认是没有问题的,但在less 4.x下,配合类似less-plugins-functions这种极端hack的插件时,就会出大问题。
正确的写法需要是~"calc(100px - @{min-height})"。所以让reSKRipt内置一个功能,把所有不安全的calc都修复一下。
~"calc(100px - @{min-height})"
reSKRipt
calc
The text was updated successfully, but these errors were encountered:
feat: 在引入less时将不安全的calc自动修复 (#35)
92359f3
No branches or pull requests
在不少第三方(甚至自己写的)的
.less
文件中,会有这样的:这种写法默认是没有问题的,但在less 4.x下,配合类似less-plugins-functions这种极端hack的插件时,就会出大问题。
正确的写法需要是
~"calc(100px - @{min-height})"
。所以让reSKRipt
内置一个功能,把所有不安全的calc
都修复一下。The text was updated successfully, but these errors were encountered: