N
N
Nikita Shchypylov2016-03-26 18:48:12
css
Nikita Shchypylov, 2016-03-26 18:48:12

A few questions about CSS preprocessors?

Hello everyone
I'm a coder, I write css code in the usual way and I decided to try the preprocessor, but I have a couple of questions:
1) Which one should I learn? Less, Sass?
2) How do they help write code? Indirectly or directly?
3) How will other people understand my code if it is written in Less?
Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Fahrenhe17, 2016-03-26
@Fahrenhe17

1) Personally, sсss is better for me. Plus, it's default in rails. In general - for me it’s not worth it to go in cycles in what is better to teach. There is practically nothing to learn there. You can master everything, it will come in handy, and write your own code on any one you like.
2) Variables, inheritance, mixins, mixin libraries, loops, conditions, etc.
3) Rather, the default css will be "understood" by fewer people than less / sсss / stylus. Again, I’ll say on my own behalf that, as a person who works mainly on the back-end, the default type of inheritance in css sometimes puts me in a stupor.

D
Denis Bukreev, 2016-03-26
@denisbookreev

stylus is the best, but while young,
start with loess - it's simple, then you'll get hooked and generally you'll be fucking like you used to live without preprocessors,
then you'll switch to a thicker one - I advise you to use stylus
as well as the gulp collector

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question