CSS preprocessor (nested structures, constants, arithmetic expressions)


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/code-flow.club/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
6 views
Tell the preprocessor (if you can call it that) for CSS, which supports nested structures, constants, arithmetic expressions that uses the syntax of the source file as similar to CSS (and not, for example, XML). Preferably either in PHP, or a separate console application under Windows. Also interested in the solution as a module for Apache.

For example:

.header {
margin: marginVar - 10;
a {
...
}
}
by | 6 views

4 Answers

0 like 0 dislike
by
0 like 0 dislike
by
0 like 0 dislike
or, for example, github.com/cloudhead/less.js

which more native syntax compared to SASS/SCSS
by
0 like 0 dislike
The syntax of SCSS in General almost no different from CSS!
It has everything you listed and even more, for example, conditional operators or operators of cycles.
Good thing - framework "Compass". Based on SASS (specifically SCSS) and includes lots of Goodies, but to install it you will need a Ruby gem and have to work with the command line.
Don't like dancing with a tambourine - Google ScoutApp. The only free app under Windows, but very slow.
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
asked Jun 9, 2019 by anriko
0 like 0 dislike
4 answers
asked May 22, 2019 by flapflapjack
110,608 questions
257,186 answers
0 comments
22,127 users