Lets say i have a div
div {
float: left;
width: 447px;
height: 447px;
background-color: blue;
margin-left: 1.3%;
margin-top: 1.3%;
max-width: 23.4%;
max-height: 47%;
}
<div></div>
The div is box-shaped , it has same width and height. But as the browser keep resizing and screen getting smaller due to max-width and max-height set to % value i wont have to use media queries but the ratio between width and height gets more and more different. So lets say the screen size is 1440x900 , the calculation of width and height will be different and box shape will get destroyed to rectangle.
Is there a way how to keep the div box shaped without using extra mediaqueries?