daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Dec 15th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // build scene
  2.              var scene = new ScrollMagic.Scene({triggerElement: "#me"})
  3.                   // trigger animation by adding a css class
  4.                      .setClassToggle("h2", "tweenh2")
  5.              .addIndicators({name: "1 - add a class"}) // add indicators (requires plugin)
  6.                          .addTo(controller);
  7.  
  8.                        // build scene
  9.              var scene = new ScrollMagic.Scene({triggerElement: "#me"})
  10.                  // trigger animation by adding a css class
  11.                   .setClassToggle("h3", "tweenh3")
  12.                  .addIndicators({name: "1 - add a class"}) // add indicators (requires plugin)
  13.                  .addTo(controller);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top