scartizz Posted October 25, 2022 Share Posted October 25, 2022 Hello everyone! I just got a trivial task: need to change degreee of a linear-gradient. Simply I need to change this (75deg): background: 'linear-gradient(75deg, $red-3-1 -2%, rgba(0,0,0,0));' to this (5%): background: 'linear-gradient(5deg, $red-3-1 -2%, rgba(0,0,0,0));' I'm using a simple scrollTrigger and gsap.timeline().to and I have no Idea how to do it... Please help! See the Pen dyKyMyp by redjohnfrv (@redjohnfrv) on CodePen Link to comment Share on other sites More sharing options...
Solution GreenSock Posted October 25, 2022 Solution Share Posted October 25, 2022 You mean something like this?: See the Pen LYrYNvz?editors=0010 by GreenSock (@GreenSock) on CodePen 2 Link to comment Share on other sites More sharing options...
scartizz Posted October 25, 2022 Author Share Posted October 25, 2022 Hey, yes! It seems like I did something wrong when try it. Thank you very much. 1 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