PostCSS plugin that makes it easy to drop in placeholder images.
With npm do:
npm install postcss-placehold --save
h1 {
background: placehold(400, 400);
}
h1 {
background: url("https://placehold.it/400x400");
}
Type: string
Default: placeholdit
Define which placeholder service to use for your images.
Supported services:
See the PostCSS documentation for examples for your environment.
Pull requests are welcome. If you add functionality, then please add unit tests to cover it.
MIT © Miles Rausch