Search the Community
Showing results for tags 'rails'.
-
Hello everyone, I'm currently implementing CSP in our Rails application, we're using SplitText VERSION: 0.6.1 and I'm having some issues with it since it applies some inline styles. Is there a way of modifying this code to not use inline styles or a version of SplitText that doesn't have this issue? Stackoverflow question https://stackoverflow.com/questions/73891388/javascript-inline-style-csp-violation
-
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.