Jump to content
Search Community

imagosonus

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by imagosonus

  1. I' m sorry, but i start using gsap, from a few days, so my question may be a little silly...
     
    which is the best way to animate css background-position property?
     
    I've tried doing:

    TweenMax.to('.back', 8, {'background-position':300});
    

    where '.back' is the element with background image.

    .back {
      background: rgba(0, 0, 0, 0) url("img/seq2_0000.jpg") no-repeat fixed 0 0 / 200% 100%;
    }
    

    but what i'm tryng to get is a kind of 'seamless loop' in the background for example a sky and clouds horizontal moving.

     

    Anyway GSAP is amazing!!!

     

     

×
×
  • Create New...