Reputation: 327
When I am tring to inspect an element of html in Chrome it's showing the LESS file whereas Firefox is showing CSS file. (I am using Bootstrap framework)
How can I see the css reference in Chrome?
Please see the attached screenshot below for what I mean:
Upvotes: 3
Views: 2076
Reputation: 19421
The answer by @Sergey is pretty old, and Chrome has some modifications since that time, here is an update
Enable CSS sources maps
Upvotes: 2
Reputation: 51
CSS source maps are enabled by default. You can choose to enable automatic reloading of generated CSS files. (Or Disable source maps)
To disable CSS source maps : Open DevTools Settings (small wheel button in the right corner) and click General. Turn off Enable CSS source maps.
Google Chrome Working with CSS Preprocessors
Upvotes: 5
Reputation: 20469
Just encountered the same thing.
Turns out it is a feature in chrome to help those using SASS or LESS.
If you are not using one of these preprocessors, you can delete the bootstrap.css.map
file and chrome will show the css file directly, same as firefox
Upvotes: 1