Can I use LESS with Xul? Does anyone already used them together?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.