moodonis Posted December 4, 2019 Share Posted December 4, 2019 I'm having a bit of trouble modifying some elementary things and was not able to find a reference in the docs. I have an image on which I want to transform the drop-shadow. The rotation and skew transforms are working fine. I have attached the codepen here (it does not have the actual image hosted) for reference. What's the JS GSAP translation for the drop-shadow CSS and its values? See the Pen VwYLLww by moodonis (@moodonis) on CodePen Link to comment Share on other sites More sharing options...
OSUblake Posted December 4, 2019 Share Posted December 4, 2019 That's not even valid JavaScript, let alone gsap. Use the syntax for css. Put a string around it. https://developer.mozilla.org/en-US/docs/Web/CSS/filter-function/drop-shadow 2 Link to comment Share on other sites More sharing options...
moodonis Posted December 4, 2019 Author Share Posted December 4, 2019 1 hour ago, OSUblake said: That's not even valid JavaScript, let alone gsap. Thanks for your quick response. You pointed me where I needed to go. The Codepen doesn't include everything to make it functional because it was merely a syntax question. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now