Jump to content
Search Community

SMBM

Members
  • Posts

    2
  • Joined

  • Last visited

SMBM's Achievements

2

Reputation

  1. Thanks a million. I need to remember to use maths rather than code to solve some of these problems.
  2. I'm trying to translate a div through a point so that it ends up on the exact opposite side of said point. ie. if the div's x, y coordinates are (100, 0) and the point is (200, 1) I'd like the div to end up at (300, 2). I'd like a method I can apply to multiple elements all going through the same point. I tried to find a way by making the point the transform origin of the div but it didn't seem to help anything. Is this possible with Tween? As you can see in the code pen, the circles spin on the y axis and therefore become thin as they cross over, I want them to remain flat and slide over instead.
×
×
  • Create New...