cssminifyyui

YUI minifier is stripping out whitespace from calc()


YUI is stripping out whitespace between % and px like this

height: calc(100% + 30px)

Rules don't work without them. ok/not good

How I can resolve this problem, if I need to use only this minifier?


Solution

  • You can use this workaround for this:

    height: calc(100% - -30px);