PostCSS plugin that creates smaller copies of a background image according to predefined responsive breakpoints, and generates the correct css in order to save bandwith and memory on small screen devices..
.foo {
/* Input example */
}
.foo {
/* Output example */
}
postcss([ require('postcss-responsive-background') ])
See PostCSS docs for examples for your environment.