V
V
Vasyl Kovbassa2016-12-20 15:27:14
css
Vasyl Kovbassa, 2016-12-20 15:27:14

cssnext VS scss/sasss/stylus. Is it worth it to switch?

Friends, I have been using PostCss technology in conjunction with SCSS for some time now. In particular autoprefixer, short, uncss, of course postcss-scss and others. But the question is not so much about PostCss, but about the ability to use CSS 4 today with the help of the postcss-cssnext plugin. Do you think it's worth starting to move from preprocessors to CSS tomorrow?
At first glance, I did not see anything supernatural:
Mathematical operations, working with variables, all this is much more compact in preprocessors.
ae8d58991a9640e3ae706e2344b6df64.PNG
Some things like custom media are slightly nicer in syntax than similar mixins in scss.
Maybe someone has more experience with this tool, there are some significant advantages?
______________________________
ADDED
An exhaustive article with a detailed analysis of the issue - CSS-Live

Answer the question

In order to leave comments, you need to log in

5 answer(s)
P
Pretor DH, 2016-12-20
@movasyl

Preprocessors are only for the convenience of writing code. They do not provide any advantages for the browser.
And the future CSS4 gives advantages specifically for the browser. For example:
- Significant client-side rendering optimizations are possible;
- a smaller code will be transmitted over the network ...

O
Oleg, 2016-12-20
@werty1001

I totally agree with this guy .

Z
zooks, 2016-12-20
@zooks

IMHO it's better to stay on Sass/Scss + autoprefixer.
There is nothing revolutionary in PostCSS yet.

V
Vitaly Inchin ☢, 2016-12-20
@In4in

This CSS4 pisses me off .
It's just a first step towards making CSS more versatile. The way we see it through the prism of preprocessors. And more steps are needed...
Well, if you are completely satisfied with the capabilities of the four, then what's the problem? Use! And since the support is still lame, cssnext is here to help.
Ps: I don’t even doubt that when CSS4 is brought to mind, SASS -> CSS4 compilers will appear .

S
sim3x, 2016-12-20
@sim3x

Requests for layout in
postcss/sass - 1
sass - 100+

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question