Jump to content
Search Community

How to change background linear-graddient's deg

scartizz test
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...