gpt4 book ai didi

twitter-bootstrap-3 - Bootstrap 3.x 中的 .map 文件有什么用?

转载 作者:行者123 更新时间:2023-12-03 03:55:57 29 4
gpt4 key购买 nike

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.

关于twitter-bootstrap-3 - Bootstrap 3.x 中的 .map 文件有什么用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21504611/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com