This change allows you to output image dimensions in units other than pixels. This is useful in a few situations, such as:
Specifying dimensions in ems on an element that should scale depending on the font-size of the container (eg. sprites that are sized relative to their accompanying text)
Specifying dimensions in rems on an element that should scale depending on the document root font size (eg. making everything bigger/smaller for different sized viewports)
Hope submitting a pull request is OK, I've included docs and a new test.
This change allows you to output image dimensions in units other than pixels. This is useful in a few situations, such as:
Hope submitting a pull request is OK, I've included docs and a new test.