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

What is Framer? Join the Community
Return to index
David Kelly
Posted Jul 02 - Read on Facebook

I'm new to framer and coffeescript so please forgive my basic question. This seems like a common problem but I haven't been able to find a solution yet.

I've imported my sketch file but I can't figure out how to put it into a component that responds to the device detection command for scaling the width and height.

I'm not looking for a true responsive design, just something that can scale for different devices.

Any help is appreciated. Thanks.

2 Comments

Jonas Treub

Sketch layers have an absolute size so they can't be responsive. You could wrap all layers inside a layer and change the scale of that layer to fit the screen size. You can get the screen size by using Screen.width and Screen.height

Andrew Cunliffe

Let me know if you have any questions

Read the entire post on Facebook