I am looking for an elegant solution to create a logo that scales on scroll to reveal a static full screen image. Ideally the logo would be an svg mask.
Confused? Don’t be. The effect I’m after can be seen when you scroll THIS PAGE
Try you must.
Bonus points if you can achieve this without custom code.
Hi James!
The only way I found to do this without any code at all is with the mask div transparency set to screen. Very fast and super easy way to achieve the effect. http://catherines-top-notch-site-82d539.webflow.io/
Thanks for your reply, I was beginning to think I was all alone here!
Your example looks be exactly what I’m trying to achieve, you rock. I’m still pretty new to Webflow, would you be nice enough to send me a read only link so that I can poke around see exactly how you set this up?
This is too elegant! Damn, now I feel dumb! I’ll have to have a play with this tomorrow and see if I can get it to work as a section rather than the whole page.
You’re my new favourite forum person Cat, thank you!
ps. You’re also the only person I have met on the forum.
So I’ve had a play with this. Cat, your solution was great but raises an issue, scaling the SVG causes pixelation. As I understand it, this is because the nature of scale transforms the screen rendered svg - as if it were a jpg or png.
The best approach seems to be to use the “size” option to effectively scale the svg itself. Doing this solves all pixelation issues however it introduces a new problem: the scaled svg adheres / aligns to the left margin.
Hoping someone can suggest a way to overcome this so that the svg remains centred throughout the size up interaction.
You can do something like this. It doesn’t have all of the interaction steps you might need but should cover a simple way to achieve without using filters. https://enlarge-the-logo.webflow.io/