Include both bootstrap.min.css and bootstrap.css o

2020-07-10 09:14发布

I've added both the bootstrap.min.css and bootstrap.css files and while debugging, I found that only one of them is being used while the other is being overwritten. I'm confused as to whether either of them has any additional features that I'm not using. I'd also like to know whether bootstrap.js and bootstrap.min.js operate similarly.

1条回答
趁早两清
2楼-- · 2020-07-10 09:44

This is correct behavior - you can have a single class named 'A' per document. .min.css/.min.js - are generally the same css and js files with all spaces removed from them. It makes them smaller and load faster. Browser won't need spaces anyway.

查看更多
登录 后发表回答