Last post Nov 20, 2017 01:22 PM by wavemaster
Nov 19, 2017 03:47 AM|wavemaster|LINK
My code works fine like this:
<link href="~/Content/css/bootstrap.css" rel="stylesheet">
When I change to the minified version then the formatting is gone:
<link href="~/Content/css/bootstrap.min.css" rel="stylesheet">
Both files are the same version v3.0.0
Next I use cssminifier online and feed my bootstrap.css script. Script minifies like it should but when I copy it into bootstrap.min.css it is no longer minified????
Nov 19, 2017 04:06 AM|A2H|LINK
Have you tried the minified version of bootstrap available online. if not you might
consider using that one
Nov 20, 2017 08:28 AM|Eric Du|LINK
According to your description, i think you use cssminifier tool to minify bootstrap.css code, then copy
the minified code to bootstrap.min.css, you found style is not working.
If my understanding is right, I think bootstrap provide minified version for us to use, please check:
You could add the following file links directly.
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
Nov 20, 2017 01:22 PM|wavemaster|LINK
I have tried the 3.3.7 minified version and it works. Unfortunately, it breaks my formatting and my modals stop working
Somewhere around version 3.3 this happened and that is the reason why I never went with a newer version.