Jump to content
Search Community

Consistent design across several screen sizes

Volt 22 test
Moderator Tag

Go to solution Solved by Cassie,

Recommended Posts

Hello 

 

From the codepen, I have a scrolltrigger animation where the headers scroll to both sides of a pinned image. I want the headers to scroll and have about 50% of the headers hidden, with the image in-between, and some sort of horizontal center alignment of both the image and the headers when the scroll animation is complete. And I want this to be consistent across all screen sizes.

 

Just like it is on the site: https://defundtigraygenocide.com/

I'm trying to recreate it for practice - https://defund-tigray.webflow.io/


Please, how do I achieve this? 

Thank you.

See the Pen NWyyqLm?editors=1000 by voltmeup (@voltmeup) on CodePen

Link to comment
Share on other sites

Hello Cassie,

 

How do I align all the headers with equal spacing on either sides of the image. 
From the sample site, notice how the last header with text content 'genocide' scrolls to align with the header 'when war' towards the end of the animation.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...