michaelaltmann / get-your-refund

1 stars 5 forks source link

Simpler implementation of rotate and flip #2

Closed michaelaltmann closed 3 years ago

michaelaltmann commented 3 years ago

CSS allows a series of transforms, like rotate(90deg) scaleX(-1) rotate(90deg) rotate(90deg) scaleX(-1) These are applied cumulatively. No need to get clever and figure out what the next rotation and flip should be