Answer the question
In order to leave comments, you need to log in
How is LESS used?
How can you use LESS conveniently?
With CSS, everything is simple. Usually I look in Firebug in which file, in which line the necessary styles are located.
With LESS, this will not work and you have to manually search for the desired line in the file, which complicates the matter and the fact that the code in the source code can be very different from the compiled css.
In addition, after each minor edit, you need to compile css. I have a plugin in sublime that does this automatically when saving, but one hell of a thing when using filezilla, the file must be manually uploaded to the server.
In general, there is so much trouble that despite the advantages of LESS, writing regular css is faster.
What am I doing wrong?
Answer the question
In order to leave comments, you need to log in
See my answer How do I set up WinLess correctly?
Grunt config example:
https://toster.ru/answer?answer_id=858002#answers_...
Preprocessors are designed to speed things up. If it's faster for you to write regular CSS, it just means it's not the tool you need, that's all.
I'm writing in WebStorm, it compiles the CSS every time LESS is saved using a plugin.
With LESS, this will not work and you have to manually search for the desired line in the file, which complicates the matter and the fact that the code in the source code can be very different from the compiled css.
This is to what extent everything needs to be confused, so as not to find the desired selector in the source code later.
True, webstorm and other programs have a panel with a list of all selectors. Sublim did not find this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question