Create css keyframes
Inspired by this gist
To Install
$ npm install --save create-keyframe
Usage
var createKeyframe = var fadeOutColor = console// {name: 'cih3lymsf0000wly8uizhbo6d', css: '@keyframes cih3lymsf0000wly8uizhbo6d {...}'}
JavaScript animations with CSS performance using insert-css
var createKeyframe = var insertCSS = var h = var fadeOutColor =
API
createKeyframe(keyframeObject[, identifier])
-> object
keyframeObject
Required
Type: object
An object representation of a keyframe list
identifier
Type: string
A keyframe identifier. create-keyframe
will generate a cuid if no identifier
is specified
See Also
License
MIT