Hi,
I have a line animation that must be attached to the bottom of the screen and finish its course over a specific y-value, which is variable upon the viewport (See screenshots below).
Is there any way I can calculate precisely the distance it has to run so the interaction is truly responsive?
Using sheer % or VH values doesn’t seem to do the trick. I suspect Javascript will be needed, some simple formula that calculates the VH minus some explicit values in PX and then applying the result to the move-transform value.
If I’m right, can you tell me the procedure to integrate it to webflow?
Thanks,
PEP
Here’s the read-only project in staging: https://preview.webflow.com/preview/the-brutal-portfolio?preview=a9fa82108d52bff4b0eddedd4b0dcd88