문제

I've been using LESS CSS and I find it great. The only drawback is that the code is not shown on firebug'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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top