I'm trying to do something like this:
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
But instead of having the grid items jump to 1fr
when they reach < 200px
I'd like that to kick in depending on the max-content
of those items. I tried this:
grid-template-columns: repeat(auto-fit, minmax(max-content, 1fr));
But that just make each item 100% wide each on their own row, and Chrome is telling me it's not valid syntax… I might be missing something obvious
Any pointer in the right direction much appreciated!