I'm trying to make a 2-column website using the CSS grid functionality. I'm also trying to make it mobile friendly.
What I have works, but it's causing an overflow on small devices:
<style>
#wrapper {
display: grid;
grid-template-columns: minmax(275px, 25%) 75%;
}
</style>
<div id="wrapper">
<div>One</div>
<div>Two</div>
</div>
I want the first column (the menu) to be limited to a minwidth of 275px, with a width of 25%, and the second column can take the full page (which I tried using 75%).
Somehow it isn't flexible to adjust itself to the window.
How can I make it so there isn't an overflow happening?