S
S
svilkov872016-11-09 13:36:08
css
svilkov87, 2016-11-09 13:36:08

What are the benefits of using CSS preprocessors? Which to choose?

Good afternoon everyone!
Now I'm at a crossroads - which css preprocessor is worth learning and putting into practice?
It is quite difficult to find the answer to this question on the net, so I am writing to the toaster.
I would like to hear the opinion of specialists, as well as get answers to such questions as:
- why are css preprocessors so popular?
- why is knowledge and possession of them one of the conditions in the text of vacancies, according to the labor market?
- owning them - saving time when working on a project?
- what else??
About 1 year I've been typing on pure css + jquery.
Thank you.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
Z
zooks, 2016-11-09
@zooks

Select SASS.
Save time, more can be done with preprocessors. More structured code. Mixins and placeholders. Automatic prefixing with autoprefixer.

A
Andrey B., 2016-11-09
@andykov

This speeds up development due to convenient syntax, allows you to organize the structure of the project and code that is convenient for you.
Which one to choose - any.
Mostly LESS or SASS(SCSS) is used, the second one is a bit more powerful than the first one.
Now writing on one of the preprocessors is already a matter of course. Therefore, this skill must be carried in the luggage. Without him, if I were an employer, I would have thought about your professional suitability as a specialist.

A
andead, 2016-11-09
@andead

Choose SASS/SCSS, it leads in any polls and statistics - stateofjs.com/2016/css
Save time writing code.

O
Oleg, 2016-11-09
@werty1001

I advise you to choose Stylus + PostCSS.

R
RoverWhite, 2016-11-09
@RoverWhite

Here is an article on the topic https://habrahabr.ru/post/144309/
In general, why choose one?
Learn SASS
Then learn LESS
Then Stylus
understand the pros and cons of each and you'll be happy as you become an expert in CSS preprocessors

B
Bjornie, 2016-11-09
@Bjornie

I use LESS. With this preprocessor (as with any other) you can speed up writing your css code much faster + style files will be much more structured (much shorter thanks to the syntax). Plus your code will become much shorter due to reusable parts of the code (mixins).
They have variables that help set, for example, the color scheme. I think you will understand what is the advantage here.
Once generated, the preprocessor files become regular css files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question