codepunkt/css-spring

Unitless value with corresponding value that has a unit

codepunkt opened this issue · 0 comments

Unitless value in either startProps or endProps should be interpreted as a value with a unit if the same property exists in the other argument with a given unit.

e.g. with
startProps { right: 0 }
endProps { right: '100px' }
the 0 in startProps should be interpreted as 0px.