Here is the source article.
LESS and Sass share a lot of similarities in syntax, including the following:
- Mixins – Classes for classes.
- Parametric mixins – Classes to which you can pass parameters, like functions.
- Nested Rules – Classes within classes, which cut down on repetitive code.
- Operations – Math within CSS.
- Color functions – Edit your colors.
- Namespaces – Groups of styles that can be called by references.
- Scope – Make local changes to styles.
- JavaScript evaluation – JavaScript expressions evaluated in CSS.
LESS website: http://lesscss.org/
Sass website: http://sass-lang.com/
No comments:
Post a Comment