Jump to content
Search Community

Recommended Posts

Posted

I'm creating a background effect from blur to clear when scrolling. starts with filter: blur(30px) when image enter viewport. and then more clear with filter: blur(0) after top of image reach top viewport
using gsap fromTo and add utils for css filter. but i have no idea for now. can help please?

See the Pen GRQedNR by vanydiah (@vanydiah) on CodePen.

Posted

Welcome to the forum

 

I'm not really sure what's going on with all your JS, but here's a simplified fork of your pen with a blur filter scrubbed with ScrollTrigger.

See the Pen 3e7e8e609e92cf29af7b0ea4841049a5 by PointC (@PointC) on CodePen.

 

Simplified demos are greatly appreciated with questions. Happy tweening.

  • Like 3
  • Thanks 1

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...