bootstrap.css和bootstrap.min.css之间有什么不同 [英] What is defferent between bootstrap.css and bootstrap.min.css
问题描述
最近我学习了Twitter Bootstrap。我现在是新人。下载时,我创建了两个CSS文件。
Recently I learn Twitter Bootstrap. I am new now. When I download, I founded two CSS file.
1. bootstrap.css
and
2. bootstrap.min.css
示例文件,仅链接了一个文件,例如以下文件:
But on sample file, only one file linked.like bellow:
<link rel='stylesheet' type='text/css' href='css/bootstrap.min.css'>
bootstrap.min.css,现在我想知道:bootstrap.css和bootstrap之间的区别是什么.min.css
bootstrap.min.css, Now I want to know: What is defferent between bootstrap.css and bootstrap.min.css
推荐答案
两者之间没有区别。
min 仅表示已被缩小,表示白色空格和新行以及空白区域已删除,因此该文件更轻巧,可以包含在html文档中。
There's no difference between the two. The 'min' simply means that it is minified,meaning white-paces and new lines and empty spaces are removed, so that the file is lighter for including in the html document.
这可以缩短加载时间。请参见
which can result to shorter loading times. See
http:// en。 wikipedia.org/wiki/Minification_(编程)
这篇关于bootstrap.css和bootstrap.min.css之间有什么不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!