Jump to content
Search Community

Text-align center to text-align left

pixelarchitect test
Moderator Tag

Recommended Posts

One idea would be to split the text either by character or line, set it to display: inline-block and then use either the basic Flip helper function (since it's only a simple thing) or the Flip plugin (which can do a lot more complex things). So the concept is to record the position of each element, then immediately change the text-align to what you want, then translate each one to get it to where it was (an illusion) and animate the removal of those offsets. 

  • Like 3
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...