D
D
Denis2014-08-08 21:44:27
Google Chrome
Denis, 2014-08-08 21:44:27

How does Less behave in the browser console?

Good evening. I decided to master preprocessors, namely less. The thing is convenient, but one question arises. When you type in css, it is very convenient to open (for example, in chrome) the browser console and directly make money on the site, what to lay out, position. Then you look at the line number of this selector (for example, style.css page 155) and quickly find it in the editor. And how will .less behave in this case, will the console show the line number in the less file, and not in the one already compiled in css ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
barkalov, 2014-08-08
@sten8509

In already compiled css, unfortunately.
UPD: Although, no, you can .

A
Anton Chekhov, 2014-08-09
@chekhovrussia

What for? Get yourself Gulp/Grunt with modules for compiling less and browser-sync/livereload and forget about devtools, edit right away in the editor.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question