Hi guys,
I have a vector shape that I wish to set to height:90%, width:auto, and keep proportions .
The thing is that I can only see the “auto” option for the height (while I need it for the width).
What am I missing?
Thanks
Hi guys,
I have a vector shape that I wish to set to height:90%, width:auto, and keep proportions .
The thing is that I can only see the “auto” option for the height (while I need it for the width).
What am I missing?
Thanks
Any idea?
I need to create a page without scroll for mobile, meaning I’ll have to set % for each element height with width:auto, but I can’t find out how to do that.
Please advise
Hey @jonatandor35 , to set an element’s width to auto you need to dock it to both sides (left + right). This way the width will always resize according to the margins.
Thanks. (I’m new to editor X. sorry if I’m asking some too basic questions).