I’m working on a fun little interaction. I need an element to scale up to fill screen. When I type in 10x, it changes the scale back to 5x. Anyway to override this?
I have a solution, though would appreciate if you guys can share a better one.
I placed the object I need to scale inside a Div. I scale the div and the image, rendering a multiplier effect. Gets the job done.
Hey @Pedro another approach you could take instead of using the scaling feature would be to just set the width of your element based upon the viewport width/height.
So if you wanted it to be the size of the viewport height, you could use 100vh as the width field (the height would be calculated automatically if you don’t have a set pixel/percentage based with on the element already).
Could you please update your post with some more information so we can help you faster? Things like your read-only link & screenshots really helps us to help you faster
How to share a read-only link:
Thanks in advance!
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.