rework-image-set
Rework plugin to add future-proofed support for
W3C-style image set notation. This provides a backround-image
fallback for browsers that don't support image-set
.
Installation
npm install --save rework-image-set
Usage
var fs = var rework = var imageSet = var css = fsvar out =
Input
Output
Note: This functionality currently requires CSS prefixing, it's recommended to use autoprefixer.
License
MIT
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted with <3 by John Otander (@4lpine).