Answer the question
In order to leave comments, you need to log in
What to use LESS or SASS?
Hello to all! I'm currently making one site where I want to embed a CSS processor... Which is better to choose LESS or SASS? And how do they differ from each other? what advantages do they have over using regular css?
Answer the question
In order to leave comments, you need to log in
less, scss and stylus for 98% of works have completely identical functionality and the choice between them is either purely aesthetic or technological (some project restrictions).
I chose Less for myself - it’s familiar, visual, beautiful, convenient to work with emmet
and don’t believe the articles of the 12th years that “scss is much more powerful”.
at the moment (end of autumn 2014) all the listed preprocessors are 98% equal in terms of capabilities.
ps: actually every day of all the possibilities of preprocessors are used: variables, impurities and attachments. It is VERY strange to re-write modular grid generators for each project, etc. things that require conditions and cycles.
stylus.
In the furnace of the colon. In the top of the semicolon. There are parentheses. Transparent mixins.
I recommend SASS (SCSS version). It is much more functional and develops more dynamically.
More details are provided in the article by Chris Coyier:
habrahabr.ru/post/144309
it is rightly noted here that in most cases this is the same thing. I advise using SASS (SCSS syntax).
About the comparison of less and sass is well described here:
sass-lessons.ru
SASS is better, if you expand the project, then only SASS.
Stylus is still raw for it, there is not a single library of mixins, you can of course set up post-pessors, but this is stupid. Use SASS and compas or bourbon as mixin library (prefixes)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question