3 ms·
> None of those features matter if you're of the opinion that conditionals, loops, and functions don't belong in the styling system. I think the terminology do
by hrktb 13y ago
> None of those features matter if you're of the opinion that conditionals, loops, and functions don't belong in the styling system.
I think the terminology doesn't convey the right idea. A SASS function is more akin to a macro that saves you a lot of typing and gives flexibility in writing CSS. At the end the result is plain styling instructions, no more no less, and thus it has no functional similarity with a js function parsed, loaded and executed at runtime.
And yes, preprocessing doesn't belong to the styling system, and it doesn't need to, as you use it a level above (it would be meta-styling I guess).