Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

CSS Minification problem (Internet Explorer) - Foundation - "0px;" versus "0;"

$
0
0
Hi,We've noticed a problem with CSS Minification that only seems to affect IE 10/11 (not interested in anything older). It seems specific to some (zurb) foundation classes too.For example, the following style works fine in all browsers when minification is turned OFF. @media screen and (min-width: 64em) { .large-expand { flex: 1 1 0px; } } However, when it's turned ON, the unit identifier @px@ gets removed leaving @flex:1 1 0@This still works in the likes of Chrome/FF but IE doesn't like this at all... it only likes the 0px. There are other similar examples of this happening thoughout - i've just used the previous css snippet as an example.My question is.. anyone had similar experiences with minification oddities? And, are there any options/rules available to control the minification process - other than turning it off completely?

Viewing all articles
Browse latest Browse all 8832

Trending Articles