ccy Posted April 15, 2021 Share Posted April 15, 2021 I facing responsive issue, when I resize the image/section cant't fit in the white background section. Have any idea on how i should write on responsive ? Appreciate can advice. Thanks See the Pen GRrMoxB by zenithlai (@zenithlai) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted April 15, 2021 Share Posted April 15, 2021 Welcome to the forums, @ccy. I read your question a few times and I don't understand what your goal is or what you're asking. Would you mind clarifying? What exactly is the problem and how do we reproduce it? Is this a GSAP-related question or are you asking about CSS layout stuff? Link to comment Share on other sites More sharing options...
ccy Posted April 15, 2021 Author Share Posted April 15, 2021 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. Any solutions for this ? Link to comment Share on other sites More sharing options...
akapowl Posted April 15, 2021 Share Posted April 15, 2021 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. 3 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now