Search the Community
Showing results for tags 'rails'.
Hello, I'm new with greensock and rails. I found this demo http://codepen.io/GreenSock/pen/yhEmn very fascinating so I want to add it to my project. Then Firstly, I added the .html.erb file. !(https://ww3.sinaimg.cn/large/006tKfTcgy1fc1xdmmdy4j31kw12gn3e.jpg) Then added css to .scss file !(https://ww2.sinaimg.cn/large/006tKfTcgy1fc1xhn9s7cj31kw13uacd.jpg) Then added js to .js file !(https://ww4.sinaimg.cn/large/006tKfTcgy1fc1xkbk590j31eg132acn.jpg) added gem to gemfile !(https://ww2.sinaimg.cn/large/006tKfTcgy1fc1xl19s46j315a122dia.jpg) added require require/Tweenmax to js require tree !(https://ww1.sinaimg.cn/large/006tKfTcgy1fc1xm1zityj311s0x6wgt.jpg) But the web page did't show any animation !(https://ww1.sinaimg.cn/large/006tKfTcgy1fc1xnbcvqlj31kw0u2mxk.jpg) Can anybody know how to figure it out? Thanks a lot.