/postcss-resize

PostCSS plugin for generating resized images from full size assets based on the filenames used as background URLs.

Primary LanguageJavaScriptMIT LicenseMIT

This repository is now hosted on Gitlab. Please head there if you wish to contribute. Thanks 🙂

PostCSS Resize Build Status

PostCSS plugin for generating resized images from full size assets based on the filenames used as background URLs.

.foo {
    /* Input example */
}
.foo {
  /* Output example */
}

Usage

postcss([ require('postcss-resize') ])

See PostCSS docs for examples for your environment.