iDropPanties
iDropPanties
KPCKevin Powell - Community
Created by iDropPanties on 12/6/2023 in #front-end
Unexpected position of ::before element while animating.
No description
15 replies
KPCKevin Powell - Community
Created by iDropPanties on 12/2/2023 in #front-end
Scroll to Animating Div
Hi, I have 'a' tags in my header with href pointing to a div that has animation. The animation applied to the div translates it along Y axis. I have used animation-timeline: scroll() on the div. So, as I scroll the page, the div translates (parallax effect (I have so many moving divs)). But the main issue is, due to this animation, when I click on the 'a' tag it is not taking me to the expected position because the div is translating. I thought of using offset, but since the animation speed depends on height of the total page (scroll-length), its very dynamic and I have no idea what to do. Any idea how to fix this without changing much structure?
9 replies
KPCKevin Powell - Community
Created by iDropPanties on 11/21/2023 in #front-end
font-size discrepancy using rem
No description
11 replies