I'm using closure-stylesheets-20111230.jar to combine and minify all my CSS. However it's throwing parsing error with @media only screen and (min-device-width : 320px) on something that looks fine to me.
Google closure-stylesheets.jar to parse css:
java -jar closure-stylesheets.jar ..\data\css\mycss.css --output-file ..\data\css\myresult.css
CSS code:
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
.switchMobile{ padding: 33px 0 0 0; height: 90px; }
.switchMobile a { font-size: 300%; }
#closeMobileLink{ margin: -60px 20px; }
}
Any thoughts? I have just use their closure-stylesheets.jar file but was wondering if anyone had a proper solution. Thanks!