Scale document with maximum dimension for the element


(tar) #1

Hi

i need to create multiple hype files and i will upload it all via CMS. my design will be responsive so when i scale the window there is huge gap between banners.

i need a way to scale the document + the elements but with maximum dimension for the element
i need your help urgently

regards


#2

You can set a max-width or max-height property with CSS:

… that technique is really meant for limiting the size of the entire Hype document. If you can share the page where you’re hitting responsive issues that will be helpful for us to see what you’re seeing.