=========================================================================== https://cssminifier.com/ =========================================================================== * > .aaa + .bbb .ccc ~ .text-x { color : blue; width : /*x*/ calc( 1.5em + 0.5rem/*e*/ + 2px ); } --------------------------------------------------------------------------- *>.aaa+.bbb .ccc~.text-x{color:#00f;width:calc(1.5em + .5rem + 2px)} --------------------------------------------------------------------------- NOTE: it thorughly removed the comments NOTE: it removed the last ; NOTE: it kept the spaces in calc() NOTE: it even changed 'blue' to '#00f' =========================================================================== @media ( min-width : 800px ) { .main { background : red ; } } --------------------------------------------------------------------------- @media (min-width :800px){.main{background:red}} --------------------------------------------------------------------------- NOTE: it doesn't remove the space after '@media' and after 'min-width' =========================================================================== .test1c::before { font-family : "Times New Roman"; width : -0.345vw; color : green; width : intercalc( 1.5em + 0.23rem/*e*/ + 2px ); content : "1c\"xy"; } --------------------------------------------------------------------------- .test1c::before{font-family:"Times New Roman";width:-.345vw;color:green;width:intercalc(1.5em + .23rem + 2px);content:"1c\"xy"} --------------------------------------------------------------------------- NOTE: it changed "-0.345" to "-.345" NOTE: it treated 'intercalc' just like 'calc' NOTE: it kept \" in the content string =========================================================================== /* .test1a::before { color : red; content : "1a:x */ y"; }*/ --------------------------------------------------------------------------- /* Invalid character(s) 'y"; }*/ ' at 5:20. Ignoring. */ --------------------------------------------------------------------------- NOTE: it accepted */ in the string as the closing tage of the comment but it generated an error message, calling the rest, 'y" }*/' invalid characters ===========================================================================