I am using less.js for development and was wondering how I get the compiled css code for a live site.
I have looked at the source code and obviously it references only this file <link type="text/css" rel="stylesheet/less" href="css/test.less">
.
I am using less.js for development and was wondering how I get the compiled css code for a live site.
I have looked at the source code and obviously it references only this file <link type="text/css" rel="stylesheet/less" href="css/test.less">
.
There are several options to get the generated css
You can view the css in the browser, you will won't be able to get the full generated file, but you can see how each individual element is styled
Inspect Element
Inspect Element
@crashdesk suggested the Web Developer extension for Chrome.
You can view the whole file in the browser. After installing, click on the icon, then 'CSS', then 'View CSS'.
A manual way of doing it is just viewing the generated source from your HTML file and copying the compiled CSS source.