This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Eric Torleiv
Posted Jun 09 - Read on Facebook

What do I do if I actually WANT to stretch an image? No matter what you set in design mode, it will be overwritten to resize with constrained dimensions. I get it that's the more common use case, but I need to stretch my image to exactly fill its parent, not clip it. Can this be done?

1 Comments

Jonas Treub

This is currently not possible in the design mode. But you can override the background image size using code:
layerName.style.backgroundSize = "100% 100%"

Read the entire post on Facebook