saffron icon indicating copy to clipboard operation
saffron copied to clipboard

stretch compress origin fix

Open TheHanna opened this issue 8 years ago • 0 comments

Love these mixins. However, I noticed a minor error in the stretch and compress animations. The CSS attribute transform-origin got prefixed with 'u-' (possibly due to some confusion with the u-transform mixin leveraged by these animations). This caused stretchUp, stretchDown, compressUp, and compressDown to animate from the center instead of the respective specified origins. I've edited the argument in each function, which will allow those functions to properly set the correct transform-origin point.

TheHanna avatar Dec 30 '16 17:12 TheHanna