How do I show an entire square box...

User 2395091 Photo


Registered User
2 posts

I would like to show an entire square shape (image, matrix, ...) in a browser at maximal size in any size window. How can I do this? I cannot find the controls for this in Responsive Layout Maker. Does this (or any) Coffeecup software accommodate this? Max width is easy, but max height remains elusive to me.
User 122279 Photo


Senior Advisor
14,622 posts
Online Now

How about using a 1:1 image and set the max-width to none?
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 271657 Photo


Ambassador
3,816 posts

You could use viewport units to make it keep its height (good for background items):
width: 100vw;
height: 100vh;
I don't know if you can do this within RLM, you might have to adjust your code after export.
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.