Jump to content
Search Community

moving text to a new position

sinobra test
Moderator Tag

Recommended Posts

I am somewhat confused as to how I should correctly reposition text.  In the Codepen example I can move a circle by supplying new {cx and cy} attributes. For the text that serves as a label to the circle, I thought that I could merely supply new  {x and y} coordinates for the text and the span elements.  Nope!  Do I have to imitate a path, and provide the offsets in x and y to the new position?

See the Pen JjRVjVV by sinobra (@sinobra) on CodePen

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...