我还没见过有人使用它,但没有什么能阻止你尝试。 LESS 只是一个预处理器,它输出 CSS 文件,因此您可能会发现的问题应该与您可能需要使用的 Mozilla 特定 CSS 结构有关。我敢打赌任何此类问题都不会很难解决。
另一方面,除非您正在处理像从头开始编写主题这样复杂的事情,否则我不希望 LESS 提供足够的好处来证明额外的开发步骤是合理的。
I haven't seen anyone use it, but nothing stops you from trying. LESS is just a preprocessor, which outputs CSS files, so the kind of problems you could expect to find should be with Mozilla-specific CSS constructs, that you might need to use. I bet any such problems would not be very hard to fix.
On the other hand, unless you're working on something as complex as writing a theme from scratch, I wouldn't expect LESS to provide enough benefits to justify the additional development step.
发布评论
评论(1)
我还没见过有人使用它,但没有什么能阻止你尝试。 LESS 只是一个预处理器,它输出 CSS 文件,因此您可能会发现的问题应该与您可能需要使用的 Mozilla 特定 CSS 结构有关。我敢打赌任何此类问题都不会很难解决。
另一方面,除非您正在处理像从头开始编写主题这样复杂的事情,否则我不希望 LESS 提供足够的好处来证明额外的开发步骤是合理的。
I haven't seen anyone use it, but nothing stops you from trying. LESS is just a preprocessor, which outputs CSS files, so the kind of problems you could expect to find should be with Mozilla-specific CSS constructs, that you might need to use. I bet any such problems would not be very hard to fix.
On the other hand, unless you're working on something as complex as writing a theme from scratch, I wouldn't expect LESS to provide enough benefits to justify the additional development step.