3 ms·
No need for a framework or anything of the sort as far as I see it. Establish your scale in some manner which can be converted to a distance relative to the top
by methodical 3y ago
No need for a framework or anything of the sort as far as I see it. Establish your scale in some manner which can be converted to a distance relative to the top of the page and position the elements absolutely to their proportional position. You can use this same scale against the scrollY attribute to know where you are relative to the top (in this case for rendering the depth).