twitter-bootstrap-3 – 什么是在Bootstrap 3.1中使用的.map文件?

前端之家收集整理的这篇文章主要介绍了twitter-bootstrap-3 – 什么是在Bootstrap 3.1中使用的.map文件?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
有两个文件包含在CSS文件夹中.map文件扩展名。他们是:
bootstrap-theme.css.map
bootstrap.css.map

他们似乎是缩小的文件,但我不知道他们是什么。

解决方法

Working with CSS preprocessors in Chrome DevTools

Many developers generate CSS style sheets using a CSS preprocessor,such as Sass,Less,or Stylus. Because the CSS files are generated,editing the CSS files directly is not as helpful.

For preprocessors that support CSS source maps,DevTools lets you live-edit your preprocessor source files in the Sources panel,and view the results without having to leave DevTools or refresh the page. When you inspect an element whose styles are provided by a generated CSS file,the Elements panel displays a link to the original source file,not the generated .css file.

猜你在找的Bootstrap相关文章