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
特性兼容度尚可,IE 有腻子 https://github.com/jhildenbiddle/css-vars-ponyfill 使用 CSS Variables 可以大幅减少配色主题所需要的代码。
The text was updated successfully, but these errors were encountered:
https://codyhouse.co/blog/post/css-custom-properties-vs-sass-variables
Sorry, something went wrong.
$--color-primary: #409EFF !default; $--color-primary-light-1: mix($--color-white, $--color-primary, 10%) !default; /* 53a8ff */ // transform :root { --color-primary: #409EFF; --color-primary-light-1: ??? }
可以把sass中变量转换成css变量,但是如果某个变量有使用sass的方法,该变量就需要运行时编译。
support in 3.0.0
No branches or pull requests
特性兼容度尚可,IE 有腻子 https://github.com/jhildenbiddle/css-vars-ponyfill
使用 CSS Variables 可以大幅减少配色主题所需要的代码。
The text was updated successfully, but these errors were encountered: