Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Using CSS variables in Mobi.css v3 #79

@xcatliu

Description

@xcatliu

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions