How to make CSS grid wrap content w/ repeat()?

Im trying to make a layout with overflow, but my columns are not the same size. Usually all answers propose this solution.

grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 

BUT, I need to overflow grid columns that are different but fixed in size.

// Overflow this when one of the columns meet max-content. grid-template-columns: 5fr 7fr;  
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.