Length 7:03Dynamic color change while scrolling with CSS
About this video
A CSS tutorial showing how to use mix-blend-mode so a fixed or sticky element switches colour based on the background beneath it. It covers setup, sticky positioning, browser compatibility and using an image in place of text.
What you’ll learn
- Apply mix-blend-mode to a fixed or sticky element
- Check the effect works across browsers
- Adapt the technique to an image instead of text










