Skip to content

multi-gradient image placeholders (549 B)

Notifications You must be signed in to change notification settings

michaelrhodes/mgip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mgip

demo

install

npm install michaelrhodes/mgip#1.0.0

use

var get = require('get-image-data')
var raw = require('mgip/raw')
var css = require('mgip/css')

get(url, function (err, img) {
  el.style.cssText = css(raw(img))
})

obey

CC0-1.0

About

multi-gradient image placeholders (549 B)

Resources

Stars

Watchers

Forks