Jump to content
Search Community

GSAP responsive

ccy test
Moderator Tag

Recommended Posts

Hi,

I am facing responsive issue as when i scale down the screen size, the images will not able to fit in the white background when i view it in smaller screen. Below attached for your easy reference.

 Screen-Shot-2021-04-14-at-10_42.46-AM.jpg.3e3ce2f39ba57b33dc084912d1d06850.jpg

 

Any solutions for this ?

 

 

Link to comment
Share on other sites

Hello there.

 

This recent thread asked the same thing (and it even used the same picture as you to demonstrate the issue).

It contains a suggestion of mine how you can deal with this.

 

 

As mentioned in that thread, what you are facing is a general problem - on resize wanting a container to automatically adjust it's height based on children's heights that have position absolute. That is not related to GSAP in the first place.

 

Give my suggestion in that thread a shot, and if you run into issues along the way, we can see how we can help you from there.

 

  • Like 3
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...