After spending countless hours researching online, I am still unable to find a solution for responsive web design that maintains the aspect ratio of both the window and HTML body.
Here are examples of what I'm looking for: original view, stretched leftward, and stretched laterally.
https://i.stack.imgur.com/51glI.png https://i.stack.imgur.com/DV1PQ.gif https://i.stack.imgur.com/ywBCz.gif
I want the HTML body to adjust its size as the window/browser is resized horizontally (no change if the ratio increases in only one direction). Adding viewport-related meta tags hasn't worked so far, possibly due to conflicts with page styles like fixed bodies or elements with minimum height/width. How can this desired outcome be achieved?