style-utils
style css for tween-one and queue-anim
Last updated 7 years ago by jljsj33 .
MIT · Repository · Bugs · Original npm
$ cnpm install style-utils 
SYNC missed versions from official npm registry.

style-utils

tween-one 和 scroll-anim, queue-anim 的样式

color 和 transform 的分解..

mergeStyle(current, change)

mergeStyle('translate(30px,50em)', 'translateY(20em)') => translate(30px, 20em)

getParam(current, change, data)

getParam('rotateX(30deg)', 'rotateX(100deg)', 40) => rotateX(40deg)

懒得写,,反正自用....

Current Tags

  • 0.3.7                                ...           latest (3 years ago)

3 Versions

  • 0.3.7                                ...           3 years ago
  • 0.2.0                                ...           7 years ago
  • 0.1.24                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org