why inspections showing scss file instead of bootstrap.css?

拈花ヽ惹草 提交于 2019-12-10 11:24:02

问题


When I do inspect element on one the row div it shows the element belongs to _grid.scss instead of bootstrap.css. And even the column in the row are not displaying correctly as it should be using bootstrap. Can someone clear this confusion?

I don't have any file in my css named as _grid.scss and the path it is referring to is empty as well.

TIA


回答1:


There are some default SCSS is available in bootstrap. For more information you can follow this link so you can better understand.




回答2:


Remove bootstrap.css.map that means source map.

You can read more about source maps there https://medium.com/@toolmantim/getting-started-with-css-sourcemaps-and-in-browser-sass-editing-b4daab987fb0

Alternatively you can disable in your inspector tool settings. e.g. in chrome: How do you disable source maps in chrome developer tools?



来源:https://stackoverflow.com/questions/52665012/why-inspections-showing-scss-file-instead-of-bootstrap-css

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!