许多开发人员花时间在使用CSS的预处理器上如less,sass和stylus.这些工具已经成为Web开发的重要组成部分.写一个网站的样式,不使用嵌套,变量或混入等功能很少见.它们每个都是非常实用的,让我们退后一步看,考虑以这种方式使用预处理器是不是最好的办法.传统的预处理器的问题: 不能扩展.无论您选择哪种预处理,都被限制到设定的,它提供的功能.如果您需要在其上构建功能,在构建过程中,你需要添加一个单独的步骤.如果你想写一个扩展,只能针对你自己的. 不能剔除任何功能.有些预处理器提供诸如sass