bootstrap.css和bootstrap-combined.min.css有什么区别? [英] What is the difference between bootstrap.css and bootstrap-combined.min.css?
问题描述
我使用bootstrap.css,我发现有另一个css文件名为 bootstrap-combined.min.css ,样式有什么区别吗?是否有任何需要包括两个css文件?
文件 bootstrap-combined.min.css v2,它是bootstrap.css(主css文件)和bootstrap-responsive.css(响应式Bootstrap风格)的组合css文件。它完全和分别使用这两个文件相同,但它只是保存了一个额外的请求。
文件名的min部分意味着它已被缩小,
$ b $ b bootstrap.min.css = bootstrap.css的压缩版本
bootstrap-combined.min.css = bootstrap.min.css + bootstrap-responsive.min.css
I am using bootstrap.css and I found that there is another css file named bootstrap-combined.min.css, is there any difference in style? Is there any need to include both css files? Which one is more preferable?
The file bootstrap-combined.min.css is for Bootstrap v2, it is the combined css file of bootstrap.css (the main css file) and bootstrap-responsive.css (the responsive Bootstrap styles). It's exactly the same as using those two files separately but it just saves you an extra request.
The "min" part of the filename just means that it has been minified, which is to say that it has had all the unnecessary white-space/comments/etc removed.
Conclusion
bootstrap.min.css = compressed version of bootstrap.css
bootstrap-combined.min.css = bootstrap.min.css + bootstrap-responsive.min.css
这篇关于bootstrap.css和bootstrap-combined.min.css有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!