postcss-image-set
1.0.0 • Public • Published postcss-image-set
PostCSS plugin for fallback image-set.
.foo {
background-image: image-set(url(img/test.png) 1x,
url(img/test-2x.png) 2x,
url(my-img-print.png) 600dpi);
}
.foo {
background-image: url(img/test.png);
background-image: image-set(url(img/test.png) 1x,
url(img/test-2x.png) 2x,
url(my-img-print.png) 600dpi);
}
Usage
postcss([ require('postcss-image-set') ])
See PostCSS docs for examples for your environment.
Package Sidebar
Install
Weekly Downloads