测验

描述你喜欢和不喜欢你使用过的 CSS 预处理器的地方。

主题
CSS

优点

缺点

  • Sass 依赖于 node-sass,它是用 C++ 编写的 LibSass 的一个绑定。 在 Node.js 版本之间切换时,必须经常重新编译该库。
  • 在 Less 中,变量名以 @ 为前缀,这可能会与 @media、@import 和 @font-face 规则等原生 CSS 关键字混淆。

练习

检验你的理解
测试版
检验你的理解 练习
检验你的理解 练习

Describe a CSS preprocessor you have used, including the project context, one concrete benefit, one cost, and whether you would choose it for a new project today.