borodean / postcss-assets

An asset manager for PostCSS
MIT License
537 stars 32 forks source link

Add ability to specify unit and unit base when outputting image dimensions #55

Closed jacksleight closed 3 years ago

jacksleight commented 8 years ago

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.