什么是香草CSS,为什么? [英] What is Vanilla CSS and why?
问题描述
什么是Vanilla CSS,为什么叫Vanilla CSS?这个短语的来历是什么?
What is Vanilla CSS and why is it called Vanilla CSS? What is the origin of this phrase.
推荐答案
Vanilla CSS只是CSS,vanilla绝对清楚地表明它是CSS,而不是LESS或SASS(它们也是"CSS")的超集.
Vanilla CSS is just CSS, vanilla making it absolutely clear that it's CSS and not a superset of it like LESS or SASS (which are also "CSS").
该短语最初是在2010-2011年创建 Less 时出现的(根据 https://github.com/less/less.js ),以比较和对比香草CSS"和"Less CSS".
The phrase originally came into existence with the creation of Less in 2010-2011 (judging by the commit logs of https://github.com/less/less.js), to compare and contrast "Vanilla CSS" with "Less CSS".
即与"CSS和CSS少"相比,说"CSS少vs香草CSS"更清楚
i.e. It's clearer to say "Less CSS vs Vanilla CSS", compared to "Less CSS vs CSS"
这篇关于什么是香草CSS,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!