Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
483 views
in Technique[技术] by (71.8m points)

sass - What's the need of css preprocessor when we have css variables?

I have read some of the answers in here. It says that we use css preprocessor to get rid of the copy pasting code. Now my question is why we need to use any preprocessor(saas, scss), when we have css variables for that. I have also read there that sass is a extension for css. Then Why we need to make our files big using an extension of css? And the css syntax seems pretty easy and simple rather than any css pre-processor. Then why need to use that complex syntax of sass.

question from:https://stackoverflow.com/questions/66057822/whats-the-need-of-css-preprocessor-when-we-have-css-variables

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...