html - Bootstrap.min.css differs from bootstrap.css -
as fixing 1 of clients website, bumped odd problem, reproduced site made well. seems bootstrap.min.css , bootstrap.css files not same. (well duh) in specified code. example: found out img tag not propperly handled in bootstrap.min.css file. cant find code in min file, while specified in bootstrap.css file.
the bootstrap.min.css states
img { border: 0 }
and later adds
img { vertical-align: middle }
while bootstrap.css applies:
img { width: auto\9; height: auto; max-width: 100%; vertical-align: middle; border: 0; -ms-interpolation-mode: bicubic; }
for now, pulled out piece of css specified image , put in custom stylesheet.
so far problem encountered, somewhere in of head voice whispers: include other 1 too, catch other css problems if occur...
whats oppinion this? add official 1 (or toss out min file , add normal one, making load time few miliseconds longer)
this situational problem. must find out if you're going using bootstrap heavily , in future. if case, you're better off including non minified version, said, in case of future errors. now, if opposite, keep minified version performance.
Comments
Post a Comment