Sndn Posted March 1, 2022 Posted March 1, 2022 Hello I have panels showing through ScrollTrigger and an absolute right navigation with links to each panel section (not working in the CodePen). Im trying to get a similar effect as the mix-blend-mode: difference present on the CodePen. I want to make my points to be black or white only (depending on a function that determine the panel background brightness) when the panel is scrolling and crossing each point individually. I tried several things but never succeed to find a solution. Is anybody with a hint or a solution to help me? Thank you in advance! See the Pen BamGrNR by dmns (@dmns) on CodePen.
OSUblake Posted March 1, 2022 Posted March 1, 2022 Sorry, I would have no idea how to do that with CSS alone, and it's not something GSAP can do for you, but maybe there is a clue in this article. https://css-tricks.com/taming-blend-modes-difference-and-exclusion/
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