Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在使用LESS CSS,我觉得它很棒。唯一的缺点是代码没有显示在 firebug 的检查器上。
有没有办法解决这个问题?
LESS 在 CSS 转换发生后生成一个元素,因此您可以在 firebug 中检查元素属性。
没有。 这是 Firebug 插件的最新列表。
你总能写一个吗?:)
是的! 只需单击 CSS 选项卡(在 firebug 内)并选择内联样式表即可查看生成的 CSS LESS CSS。 它在检查器选项卡中不可见,但在 CSS 选项卡中更好,因为它经过优化以检查 CSS。
然而,还有一个用于SASS(另一个 css 编译器)的名为firesass 的功能完全符合您的期望。
有关更多信息,请参阅此博文。