DenSmith Posted December 11, 2023 Share Posted December 11, 2023 Hi, can anyone tell me why my ellipse is flying in from outer space, please. See the Pen JjxVWWP by den_smith (@den_smith) on CodePen Link to comment Share on other sites More sharing options...
Solution PointC Posted December 11, 2023 Solution Share Posted December 11, 2023 You have a viewBox on your SVG but no explicit size so it expands to the full size of any screen. The transform point for the scale is in the upper left of the ellipse so this appears to move a lot as it scales. I assume you wanted something more like this: See the Pen 5cde8a90ca32abcf9b8e14c08fdaecbb by PointC (@PointC) on CodePen Happy tweening. 3 Link to comment Share on other sites More sharing options...
DenSmith Posted December 13, 2023 Author Share Posted December 13, 2023 Many thanks for your kind assistance Craig. It's most appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now