Responsive, Centered Square Div that Resizes Based on Height in Landscape – CSS
This particular project was requested by @sanjaypoyzer. He wanted to elaborate on our trick to maintain aspect ratio for an element with CSS. His goal was to have a div, WITH content, that would maintain its square shape while still being responsive. Easy enough to do if you want the square to respond relative to the width of the browser … Read More