-
Notifications
You must be signed in to change notification settings - Fork 145
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
Using CSS variables in Mobi.css v3 #79
Labels
Comments
xcatliu
changed the title
Using CSS variables in [email protected]
Using CSS variables in Mobi.css v3
Feb 25, 2017
It's too risky to use css variables now, let's put it in the v3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After some investigating, I think maybe it's time to use css variables in [email protected]
First of all, css variables is the future of css. It's already drafted three years ago, and most of modern browsers supports it. There is a demo here.
Secondly, for me, the most useful feature of SASS is variables. Css variables not only extends the all function of SASS variables, but also has some exciting features. Such as scoping, calculating and re-rendering in time.
Last, using css variables can bring us a comfortable way to customizing themes, just need to override some variables. No more compiling!
The text was updated successfully, but these errors were encountered: