问题
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.
来源:https://stackoverflow.com/questions/4411973/can-i-use-less-with-xul