React Motion's interpolated styles are just arbitrary values and don't have to map to actual CSS styles.
In this example, only a single value t
is interpolated by React Motion from 0 to 1 when the mouse is pressed, and passed to an color interpolator created with d3-interpolate. Additionally, it's used to scale the text and to display a percentage.
forked from herrstucki's block: Interpolate anything with React Motion
https://unpkg.com/babel-standalone@6.18.1/babel.min.js
https://unpkg.com/react@15.3.2/dist/react.js
https://unpkg.com/react-dom@15.3.2/dist/react-dom.js
https://unpkg.com/react-motion@0.4.5/build/react-motion.js
https://unpkg.com/d3@4.3.0