Results 1 to 2 of 2

Thread: How to move element while animating it, using webkit transform property?

  1. #1
    Sencha User ilija139's Avatar
    Join Date
    Aug 2011
    Location
    Macedonia
    Posts
    36

    Default How to move element while animating it, using webkit transform property?

    When I use a overlay I can see that the -webkit-transform property is being animated. I want to know what is the proper way to set this property. I want to display a picture as overlay that will pop-in the screen, and I need that picture to start growing from some point on the screen and then to center itself.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    You can add top and left to the webkit-transform so that when you change the left/top it will animate it.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •