uavide Posted July 21, 2022 Share Posted July 21, 2022 Good morning, i would like tounderstand how i can resize all the animation (container - div - image) not only width (like now) but also height. So like now for tablet and smarphone it start to resize just the width (and like this it cut the image). I would like to resize with the right proportion for height and width also the image. Do you know ho wi can do? Thanks Davide See the Pen PoRmLxo by uavide (@uavide) on CodePen Link to comment Share on other sites More sharing options...
Cassie Posted July 21, 2022 Share Posted July 21, 2022 Hi there! Maybe you're looking for something like aspect-ratio (This is potentially more of a CSS/styling challenge than a GSAP one - so you may not get a huge amount of help here, just to manage expectations) 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