开发者

Is there a way of showing LESS CSS code (.less) in Firebug?

开发者 https://www.devze.com 2023-01-04 16:56 出处:网络
I\'ve been using LESS CSS and I find it great. The only drawback is that the code is not shown on fir开发者_运维百科ebug\'s inspector.

I've been using LESS CSS and I find it great. The only drawback is that the code is not shown on fir开发者_运维百科ebug's inspector.

IS there a way of dealing with this problem?


LESS generates a element after the CSS transformation occurs, so you're able to check elements attributes at firebug.


Nope. Here's a pretty up-to-date list of Firebug plugins.

You can always write one? :)


Yes!
Just click on the CSS tab (inside firebug) and select the inline stylesheet to see the CSS LESS CSS generated.
It is not visible in inspector tab, but in CSS tab which is better because it is optimized to inspect CSS.


Not for less, however, there is one for SASS (another css compiler) called firesass which does exactly what you'd expect.

See this blogpost for more info.

0

精彩评论

暂无评论...
验证码 换一张
取 消